diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2013-07-28 11:10:43 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2013-10-12 14:38:02 -0500 |
commit | 8a9288fe01f2278f8a3478dad1a27a51aed30e55 (patch) | |
tree | 05ef3b062a48378fb9b9383c7cd99a9da0411d09 /python/pysetuptools/pysetuptools.SlackBuild | |
parent | 6d8ae3d490af027018cf2d1b05bfa803a7c3721c (diff) |
python/pysetuptools: Updated for version 0.9.8.
Added Python 3 support.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'python/pysetuptools/pysetuptools.SlackBuild')
-rw-r--r-- | python/pysetuptools/pysetuptools.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/python/pysetuptools/pysetuptools.SlackBuild b/python/pysetuptools/pysetuptools.SlackBuild index f3a3f266ae69e..e819e8e03d4de 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 {} \; |