aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Lanagan <1995739+mac-a-r0ni@users.noreply.github.com>2025-04-16 05:13:43 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-04-17 14:20:00 +0700
commitc6df18714f6e65c0e836dd7d6e3deb5c8e08a6d9 (patch)
tree0425655397987d8dd4eaf31ca86f2cc656be731a
parent965f1e6d4b0f8f60ac69cdc766a7e4a0a77bf2d6 (diff)
python/python3-propcache: Updated for version 0.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-propcache/python3-propcache.SlackBuild6
-rw-r--r--python/python3-propcache/python3-propcache.info8
2 files changed, 9 insertions, 5 deletions
diff --git a/python/python3-propcache/python3-propcache.SlackBuild b/python/python3-propcache/python3-propcache.SlackBuild
index 85dfb645f3..582fc91e88 100644
--- a/python/python3-propcache/python3-propcache.SlackBuild
+++ b/python/python3-propcache/python3-propcache.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-propcache
-# Copyright 2024 by Jay Lanagan (j@lngn.net), Detroit, MI, USA.
+# Copyright 2024-2025 by Jay Lanagan (j@lngn.net), Detroit, MI, USA.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -64,6 +64,10 @@ 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:/opt/cython/python$PYVER/site-packages"
+export PATH="/opt/cython/bin:$PATH"
+
python3 -m build --wheel --no-isolation
python3 -m installer --destdir=$PKG dist/*.whl
diff --git a/python/python3-propcache/python3-propcache.info b/python/python3-propcache/python3-propcache.info
index a36a5c1954..18d859a294 100644
--- a/python/python3-propcache/python3-propcache.info
+++ b/python/python3-propcache/python3-propcache.info
@@ -1,10 +1,10 @@
PRGNAM="python3-propcache"
-VERSION="0.2.1"
+VERSION="0.3.1"
HOMEPAGE="https://propcache.readthedocs.io/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/p/propcache/propcache-0.2.1.tar.gz"
-MD5SUM="c642caac1415818205011277008142ea"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/p/propcache/propcache-0.3.1.tar.gz"
+MD5SUM="5e4ae92cad41df24bdcafeaca092004e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-expandvars"
+REQUIRES="python3-cython-opt python3-expandvars"
MAINTAINER="Jay Lanagan"
EMAIL="j@lngn.net"