[notify] python-setuptools: update to remove bootstrap code dependency changes removed: python-appdirs python-packaging python-pip added: python
This commit is contained in:
parent
ed92e14a49
commit
6f487353cc
@ -1,2 +1 @@
|
|||||||
a73d0534575b904d17913889dce5bd99 get-pip.py
|
|
||||||
dd4e3fa83a21bf7bf9c51026dc8a4e59 setuptools-39.2.0.zip
|
dd4e3fa83a21bf7bf9c51026dc8a4e59 setuptools-39.2.0.zip
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/opt.pub
|
untrusted comment: verify with /etc/ports/opt.pub
|
||||||
RWSE3ohX2g5d/Sl3SH0/rFJFIyFCcexoOj6D+P2rfcMwDVZ/vITI3p3H2NFISy739P4MARfu5BmTA7FRgRr0gOSw3e3dgkAvzgk=
|
RWSE3ohX2g5d/Q9Htvc+Q92wByiMIMvczezahmT2Dlhn3le1Fy3yfpeVpXE0E63vIlZ7Iy2SCReZct1XkoLdpuGXr2K2budB9A0=
|
||||||
SHA256 (Pkgfile) = acf6c68ac722aed212ec05a7b15a353838b8792bcc600f06960cb941e342aea0
|
SHA256 (Pkgfile) = 5f51ef4513103622cff64437a64249ffff85c54e6d470d126903b94646b85d11
|
||||||
SHA256 (.footprint) = b57532338325896837febb71264f8cf43303ed0754198415a04edf28002e7bd8
|
SHA256 (.footprint) = b57532338325896837febb71264f8cf43303ed0754198415a04edf28002e7bd8
|
||||||
SHA256 (setuptools-39.2.0.zip) = f7cddbb5f5c640311eb00eab6e849f7701fa70bf6a183fc8a2c33dd1d1672fb2
|
SHA256 (setuptools-39.2.0.zip) = f7cddbb5f5c640311eb00eab6e849f7701fa70bf6a183fc8a2c33dd1d1672fb2
|
||||||
SHA256 (get-pip.py) = c21805790f7fa317f09798303281e33f9559096123f713e90a22567c88d28d40
|
|
||||||
|
@ -1,45 +1,21 @@
|
|||||||
# Description: Easily download, build, install, upgrade, and uninstall Python packages.
|
# Description: Easily download, build, install, upgrade, and uninstall Python packages.
|
||||||
# URL: https://pypi.python.org/pypi/setuptools
|
# URL: https://pypi.python.org/pypi/setuptools
|
||||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||||
# Depends on: python-appdirs python-packaging python-pip
|
# Depends on: python
|
||||||
|
|
||||||
name=python-setuptools
|
name=python-setuptools
|
||||||
version=39.2.0
|
version=39.2.0
|
||||||
release=1
|
release=2
|
||||||
source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${name#*-}-$version.zip
|
source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${name#*-}-$version.zip)
|
||||||
https://crux.ster.zone/downloads/get-pip.py
|
|
||||||
# https://bootstrap.pypa.io/get-pip.py
|
|
||||||
)
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${name#*-}-$version
|
cd ${name#*-}-$version
|
||||||
|
|
||||||
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
||||||
|
|
||||||
if [ "$(pkginfo -i | egrep -c '^python-(setuptools|appdirs|pyparsing|six|pip|packaging) ')" != 6 ]; then
|
|
||||||
install -d build
|
|
||||||
sed -i 's/"--upgrade"/"--upgrade", "--upgrade-strategy", "only-if-needed"/' $SRC/get-pip.py
|
|
||||||
/usr/bin/python $SRC/get-pip.py --root=$SRC/build
|
|
||||||
|
|
||||||
local PYTHONVERSION=$(/usr/bin/python -c 'import sys; print("%s.%s" % sys.version_info[:2])')
|
|
||||||
|
|
||||||
PYTHONPATH=$SRC/build/usr/lib/python$PYTHONVERSION/site-packages \
|
|
||||||
/usr/bin/python bootstrap.py
|
|
||||||
|
|
||||||
PYTHONPATH=$SRC/build/usr/lib/python$PYTHONVERSION/site-packages \
|
|
||||||
/usr/bin/python setup.py build
|
|
||||||
|
|
||||||
PYTHONPATH=$SRC/build/usr/lib/python$PYTHONVERSION/site-packages \
|
|
||||||
/usr/bin/python setup.py install \
|
|
||||||
--prefix=/usr --root=$PKG --optimize=1
|
|
||||||
else
|
|
||||||
|
|
||||||
/usr/bin/python bootstrap.py
|
/usr/bin/python bootstrap.py
|
||||||
/usr/bin/python setup.py build
|
/usr/bin/python setup.py build
|
||||||
|
|
||||||
/usr/bin/python setup.py install \
|
/usr/bin/python setup.py install \
|
||||||
--prefix=/usr --root=$PKG --optimize=1
|
--prefix=/usr --root=$PKG --optimize=1
|
||||||
fi
|
|
||||||
|
|
||||||
unset SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user