summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
author fourtysixandtwo2024-05-10 07:46:00 +0200
committer Willy Sudiarto Raharjo2024-05-11 03:12:25 +0200
commit1fdbe81c566298cf50e80061264f13ab271fbc1f (patch)
treec8c3b69689b477c40c3b98b72a3e3dd058104f2c /python
parent776156c7713d2a4ab124c3bfe2e7650b51c128e7 (diff)
downloadslackbuilds-1fdbe81c566298cf50e80061264f13ab271fbc1f.tar.gz
python/python3-jaraco.functools: Updated for version 4.0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python3-jaraco.functools/python3-jaraco.functools.SlackBuild9
-rw-r--r--python/python3-jaraco.functools/python3-jaraco.functools.info8
2 files changed, 10 insertions, 7 deletions
diff --git a/python/python3-jaraco.functools/python3-jaraco.functools.SlackBuild b/python/python3-jaraco.functools/python3-jaraco.functools.SlackBuild
index c9b24d82f1..73227653f6 100644
--- a/python/python3-jaraco.functools/python3-jaraco.functools.SlackBuild
+++ b/python/python3-jaraco.functools/python3-jaraco.functools.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-jaraco.functools
-# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,8 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-jaraco.functools
-SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-4.0.0}
+SRCNAM=jaraco_functools
+VERSION=${VERSION:-4.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -66,6 +66,9 @@ 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 {} \+
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
+
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
diff --git a/python/python3-jaraco.functools/python3-jaraco.functools.info b/python/python3-jaraco.functools/python3-jaraco.functools.info
index 5a07f294f7..a71fd03674 100644
--- a/python/python3-jaraco.functools/python3-jaraco.functools.info
+++ b/python/python3-jaraco.functools/python3-jaraco.functools.info
@@ -1,10 +1,10 @@
PRGNAM="python3-jaraco.functools"
-VERSION="4.0.0"
+VERSION="4.0.1"
HOMEPAGE="https://github.com/jaraco/jaraco.functools"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jaraco.functools/jaraco.functools-4.0.0.tar.gz"
-MD5SUM="6683d6f56930d4f0b34157b083813cf3"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jaraco_functools/jaraco_functools-4.0.1.tar.gz"
+MD5SUM="7bc3fe47d508077b0ddbc32f84dc1374"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="typing-extensions python3-more-itertools python3-wheel"
+REQUIRES="python3-setuptools-opt typing-extensions python3-more-itertools python3-wheel"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"