From 8a9288fe01f2278f8a3478dad1a27a51aed30e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Audrius=20Ka=C5=BEukauskas?= Date: Sun, 28 Jul 2013 11:10:43 -0500 Subject: python/pysetuptools: Updated for version 0.9.8. Added Python 3 support. Signed-off-by: Erik Hanson --- python/pysetuptools/pysetuptools.SlackBuild | 7 ++++++- python/pysetuptools/pysetuptools.info | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'python/pysetuptools') diff --git a/python/pysetuptools/pysetuptools.SlackBuild b/python/pysetuptools/pysetuptools.SlackBuild index f3a3f266ae..e819e8e03d 100644 --- a/python/pysetuptools/pysetuptools.SlackBuild +++ b/python/pysetuptools/pysetuptools.SlackBuild @@ -21,7 +21,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pysetuptools -VERSION=${VERSION:-0.8} +VERSION=${VERSION:-0.9.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -58,6 +58,11 @@ find -L . \ rm -f setuptools/*.exe python setup.py install --root=$PKG +# Python 3 support. +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \; diff --git a/python/pysetuptools/pysetuptools.info b/python/pysetuptools/pysetuptools.info index e04ed56992..217aa6f0fe 100644 --- a/python/pysetuptools/pysetuptools.info +++ b/python/pysetuptools/pysetuptools.info @@ -1,8 +1,8 @@ PRGNAM="pysetuptools" -VERSION="0.8" +VERSION="0.9.8" HOMEPAGE="https://pypi.python.org/pypi/setuptools" -DOWNLOAD="https://pypi.python.org/packages/source/s/setuptools/setuptools-0.8.tar.gz" -MD5SUM="ab5f2bbc67f0dbdfeb3075f14d0b029c" +DOWNLOAD="https://pypi.python.org/packages/source/s/setuptools/setuptools-0.9.8.tar.gz" +MD5SUM="243076241781935f7fcad370195a4291" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3