aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaackwy <isaacyu@protonmail.com>2024-03-01 23:31:39 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-03-05 16:07:34 +0700
commit5a5501ed2104ce8e802015647268a813e629838d (patch)
tree514d1a9dcc01a878452d3886abaf9dd6ef63a866
parentbd22960a4670b8de5560862b3b52583a72d1d6fa (diff)
python/python3-keyring: Add python3-setuptools-opt dependency
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-keyring/python3-keyring.SlackBuild4
-rw-r--r--python/python3-keyring/python3-keyring.info2
2 files changed, 4 insertions, 2 deletions
diff --git a/python/python3-keyring/python3-keyring.SlackBuild b/python/python3-keyring/python3-keyring.SlackBuild
index 5095ebf167..0d54b143fd 100644
--- a/python/python3-keyring/python3-keyring.SlackBuild
+++ b/python/python3-keyring/python3-keyring.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-keyring
VERSION=${VERSION:-24.3.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -65,6 +65,8 @@ 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 {} \;
+export PYTHONPATH=/opt/python3.9/site-packages/
+
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
diff --git a/python/python3-keyring/python3-keyring.info b/python/python3-keyring/python3-keyring.info
index 5d6ad1e025..890af8be7a 100644
--- a/python/python3-keyring/python3-keyring.info
+++ b/python/python3-keyring/python3-keyring.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/k/keyring/keyring-24.3.
MD5SUM="778773699cc113262750427084f57017"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-importlib_metadata python3-jaraco.classes secretstorage"
+REQUIRES="python-importlib_metadata python3-jaraco.classes python3-setuptools-opt secretstorage"
MAINTAINER="Isaac Yu"
EMAIL="isaacyu@protonmail.com"