summaryrefslogtreecommitdiff
path: root/python/simplegeneric
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2017-04-15 17:22:00 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-22 08:10:26 +0700
commitcf7f0e07d06334dd753704236f49c2fbd3358858 (patch)
tree66ec861caefe35ef6f6cdc953d213c755ff6fe68 /python/simplegeneric
parent3b7215cf863de914bd5d3ed69946377de82c6c8a (diff)
downloadslackbuilds-cf7f0e07d06334dd753704236f49c2fbd3358858.tar.gz
python/simplegeneric: Remove Python 3 support.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'python/simplegeneric')
-rw-r--r--python/simplegeneric/README2
-rw-r--r--python/simplegeneric/simplegeneric.SlackBuild5
2 files changed, 0 insertions, 7 deletions
diff --git a/python/simplegeneric/README b/python/simplegeneric/README
index e18377fb96..390479b2e8 100644
--- a/python/simplegeneric/README
+++ b/python/simplegeneric/README
@@ -1,5 +1,3 @@
The simplegeneric module lets you define simple single-dispatch
generic functions, akin to Python's built-in generic functions like
len(), iter() and so on.
-
-Python 3 support will be included if python3 is installed.
diff --git a/python/simplegeneric/simplegeneric.SlackBuild b/python/simplegeneric/simplegeneric.SlackBuild
index 583ea51528..b3fe69b8fc 100644
--- a/python/simplegeneric/simplegeneric.SlackBuild
+++ b/python/simplegeneric/simplegeneric.SlackBuild
@@ -58,11 +58,6 @@ find -L . \
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 README.txt PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild