python-setuptools: update to 5.4.1
This commit is contained in:
parent
c1b8220fbd
commit
128ecd2e12
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'python-setuptools'
|
||||
pkgname=python-setuptools
|
||||
version=5.3
|
||||
version=5.4.1
|
||||
revision=1
|
||||
wrksrc="setuptools-${version}"
|
||||
noarch=yes
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-devel python3.4-devel"
|
||||
makedepends="${hostmakedepends}"
|
||||
depends="python>=2.7"
|
||||
noarch="yes"
|
||||
python_versions="2.7 3.4"
|
||||
depends="python"
|
||||
pycompile_module="easy_install.py pkg_resources.py _markerlib setuptools"
|
||||
provides="python-distribute-${version}_1"
|
||||
replaces="python-distribute>=0"
|
||||
|
@ -17,15 +17,16 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|||
homepage="http://pypi.python.org/pypi/setuptools"
|
||||
license="PSF"
|
||||
distfiles="http://pypi.python.org/packages/source/s/setuptools/setuptools-${version}.tar.gz"
|
||||
checksum=b2ef5d25b38a970b64f44f95df6a4e5e78e80b35da45d63ae01a452c3c00ed87
|
||||
checksum=41194dc283bd186d5a7825c16b89d88bee369a6c4c4c7494e84909933b6f63be
|
||||
|
||||
post_install() {
|
||||
rm -f ${DESTDIR}/usr/bin/easy_install
|
||||
ln -sf easy_install-2.7 ${DESTDIR}/usr/bin/easy_install
|
||||
ln -sf easy_install-3.4 ${DESTDIR}/usr/bin/easy_install3
|
||||
}
|
||||
|
||||
python3.4-setuptools_package() {
|
||||
noarch="yes"
|
||||
noarch=yes
|
||||
depends="python3.4"
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="easy_install.py pkg_resources.py _markerlib setuptools"
|
||||
|
@ -33,8 +34,8 @@ python3.4-setuptools_package() {
|
|||
provides="python3-distribute-${version}_1"
|
||||
replaces="python3-distribute>=0"
|
||||
pkg_install() {
|
||||
vmove /usr/bin/easy_install-3.4
|
||||
vmove /usr/lib/python3.4
|
||||
ln -sf easy_install-3.4 ${PKGDESTDIR}/usr/bin/easy_install3
|
||||
vmove usr/bin/easy_install-3.4
|
||||
vmove usr/bin/easy_install3
|
||||
vmove usr/lib/python3.4
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue