From 128ecd2e128072af0fe13ddda35b2201f4921215 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 13 Jul 2014 17:13:00 +0200 Subject: [PATCH] python-setuptools: update to 5.4.1 --- srcpkgs/python-setuptools/template | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/srcpkgs/python-setuptools/template b/srcpkgs/python-setuptools/template index 25bf2ceea21..5c06b2a56dc 100644 --- a/srcpkgs/python-setuptools/template +++ b/srcpkgs/python-setuptools/template @@ -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 " 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 } }