summaryrefslogtreecommitdiffstats
path: root/desktop/todoman/todoman.SlackBuild
diff options
context:
space:
mode:
author Tonus <tonus1@gmail.com>2023-10-25 17:36:17 +0200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-10-28 13:11:50 +0700
commit3aa266346d7c41372ee1c7393c6ca7958a797a64 (patch)
treefab616057a973f1ee9651f5a9ebf669a969af3a7 /desktop/todoman/todoman.SlackBuild
parentfa882bd2451a8ca59bf69385bc2bf486db3a38ae (diff)
downloadslackbuilds-3aa266346d7c41372ee1c7393c6ca7958a797a64.tar.gz
slackbuilds-3aa266346d7c41372ee1c7393c6ca7958a797a64.tar.xz
desktop/todoman: Updated for version 4.3.2 and for Slackware 15.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/todoman/todoman.SlackBuild')
-rw-r--r--desktop/todoman/todoman.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/desktop/todoman/todoman.SlackBuild b/desktop/todoman/todoman.SlackBuild
index 5680caef49..6344f4d60e 100644
--- a/desktop/todoman/todoman.SlackBuild
+++ b/desktop/todoman/todoman.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=todoman
-VERSION=${VERSION:-4.2.1}
+VERSION=${VERSION:-4.3.2}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,6 +79,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Use newer, non-stock setuptools due to package requirements
+# Requires python/python3-setuptools-opt build-time dependency
+export PYTHONPATH=/opt/python3.9/site-packages/
+
+patch -i $CWD/cli.py.patch $PRGNAM/cli.py
+patch -i $CWD/widgets.py.patch $PRGNAM/widgets.py
+
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl