From 5a5501ed2104ce8e802015647268a813e629838d Mon Sep 17 00:00:00 2001 From: isaackwy Date: Fri, 1 Mar 2024 23:31:39 -0800 Subject: [PATCH] python/python3-keyring: Add python3-setuptools-opt dependency Signed-off-by: Willy Sudiarto Raharjo --- python/python3-keyring/python3-keyring.SlackBuild | 4 +++- python/python3-keyring/python3-keyring.info | 2 +- 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"