python/pycld2: Remove Python 2 support.

Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Benjamin Trigona-Harany 2021-04-20 07:40:11 +02:00 committed by Willy Sudiarto Raharjo
parent 0da280e08f
commit 7cbf9f9f83
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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