office/x_x: python2 => python3.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-10-05 17:17:39 -04:00 committed by Willy Sudiarto Raharjo
parent f9159052d3
commit cc50e8889a
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 7 additions and 3 deletions

View file

@ -6,13 +6,17 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20231005 bkw: BUILD=2, force use of python 3. apparently my previous
# comment was wrong: this does run under python 3. and it now has to,
# because click no longer supports python 2.
# 20210929 bkw: force use of python 2. this doesn't run under 3.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=x_x
VERSION=${VERSION:-20150330_d236f8f}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -45,7 +49,7 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
python2 setup.py install --root=$PKG
python3 setup.py install --root=$PKG
# man page manually converted from README.rst by SlackBuild author.
mkdir -p $PKG/usr/man/man1

View file

@ -5,6 +5,6 @@ DOWNLOAD="https://slackware.uk/~urchlay/src/x_x-20150330_d236f8f.tar.xz"
MD5SUM="ebde396990ac5197e59f658eafdecb76"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="click python-xlrd python2-unicodecsv"
REQUIRES="click python-xlrd"
MAINTAINER="B. Watson"
EMAIL="urchlay@slackware.uk"