summaryrefslogtreecommitdiffstats
path: root/office/x_x
diff options
context:
space:
mode:
author B. Watson2023-10-05 23:17:39 +0200
committer Willy Sudiarto Raharjo2023-10-07 10:58:39 +0200
commitcc50e8889a02b273601b8cb5f824e2bb6a0df73a (patch)
treec685cd4c000826b7a911f3fe6693277722e1c5b8 /office/x_x
parentf9159052d3248fec9e91ff90f563bb173b75ecc7 (diff)
downloadslackbuilds-cc50e8889a02b273601b8cb5f824e2bb6a0df73a.tar.gz
office/x_x: python2 => python3.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/x_x')
-rw-r--r--office/x_x/x_x.SlackBuild8
-rw-r--r--office/x_x/x_x.info2
2 files changed, 7 insertions, 3 deletions
diff --git a/office/x_x/x_x.SlackBuild b/office/x_x/x_x.SlackBuild
index 4584f10696..929eaf0c57 100644
--- a/office/x_x/x_x.SlackBuild
+++ b/office/x_x/x_x.SlackBuild
@@ -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
diff --git a/office/x_x/x_x.info b/office/x_x/x_x.info
index 0f99e33314..85a31b7e0b 100644
--- a/office/x_x/x_x.info
+++ b/office/x_x/x_x.info
@@ -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"