aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2024-09-19 20:14:10 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-20 10:28:13 +0700
commite0d9c09136eb4cc7144c2ea4d189ee78f2850193 (patch)
tree97e0b96369baab148000c63d4f33395b37f4691d /python
parent52b4fb5620756f60688cef1af4e6cf928e03efbe (diff)
python/python3-pyproject-api: Version bump to 1.8.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python3-pyproject-api/python3-pyproject-api.SlackBuild5
-rw-r--r--python/python3-pyproject-api/python3-pyproject-api.info6
2 files changed, 7 insertions, 4 deletions
diff --git a/python/python3-pyproject-api/python3-pyproject-api.SlackBuild b/python/python3-pyproject-api/python3-pyproject-api.SlackBuild
index 715c2314fc08..fef1bf53181e 100644
--- a/python/python3-pyproject-api/python3-pyproject-api.SlackBuild
+++ b/python/python3-pyproject-api/python3-pyproject-api.SlackBuild
@@ -24,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pyproject-api
-VERSION=${VERSION:-1.7.1}
+VERSION=${VERSION:-1.8.0}
SRCNAM=${SRCNAM:-pyproject-api}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,9 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION
# Revert unnecessary dependency version requirements
sed -i 's|2\.0\.1|1\.2\.2|' pyproject.toml # tomli
+# Hide warning for packaging>=24 since it resides in /opt/
+sed -i 's|.*packaging.*||' pyproject.toml
+
python3 -m build --wheel --no-isolation
python3 -m installer --destdir=$PKG dist/*.whl
diff --git a/python/python3-pyproject-api/python3-pyproject-api.info b/python/python3-pyproject-api/python3-pyproject-api.info
index 684526d8f0e8..83619157a99e 100644
--- a/python/python3-pyproject-api/python3-pyproject-api.info
+++ b/python/python3-pyproject-api/python3-pyproject-api.info
@@ -1,8 +1,8 @@
PRGNAM="python3-pyproject-api"
-VERSION="1.7.1"
+VERSION="1.8.0"
HOMEPAGE="https://pyproject-api.readthedocs.io/en/latest/"
-DOWNLOAD="https://github.com/tox-dev/pyproject-api/archive/refs/tags/1.7.1/pyproject-api-1.7.1.tar.gz"
-MD5SUM="f44070444272166375656ee6eae2f35c"
+DOWNLOAD="https://github.com/tox-dev/pyproject-api/archive/refs/tags/1.8.0/pyproject-api-1.8.0.tar.gz"
+MD5SUM="9872ebd1a45f0cb97227c935d787be73"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-hatch_vcs"