aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2021-04-20 07:40:11 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:01 +0700
commit7cbf9f9f83ffcf582d092113692df0e8a3d2b176 (patch)
tree45e66cc8b783d80614ed5c710cba8f501fa402ad
parent0da280e08f5b782c187e7e654f1630504c98d561 (diff)
python/pycld2: Remove Python 2 support.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/pycld2/pycld2.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/pycld2/pycld2.SlackBuild b/python/pycld2/pycld2.SlackBuild
index 076ad3588aa9..1b63fc0dfa67 100644
--- a/python/pycld2/pycld2.SlackBuild
+++ b/python/pycld2/pycld2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pycld2
-# Copyright 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -54,8 +54,6 @@ cd $SRCNAM-$SRCREV
# Fix location of header files
sed -i "s/^CLD2_PATH.*$/CLD2_PATH = \'\/usr\/include\/cld2\'/" setup.py setup_full.py
-python2 setup.py install --prefix=/usr --root=$PKG
-python2 setup_full.py install --prefix=/usr --root=$PKG
python3 setup.py install --prefix=/usr --root=$PKG
python3 setup_full.py install --prefix=/usr --root=$PKG