python/python3-dogpile.cache: Version bump to 1.3.3

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Jeremy Hansen 2024-05-06 23:54:23 -07:00 committed by Willy Sudiarto Raharjo
parent a28e25a29a
commit 008cacc602
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 17 additions and 4 deletions

View File

@ -24,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-dogpile.cache
VERSION=${VERSION:-1.3.2}
VERSION=${VERSION:-1.3.3}
SRCNAM=${SRCNAM:-dogpile.cache}
SRCVER=${SRCVER:-rel_$(echo $VERSION | tr . _)}
BUILD=${BUILD:-1}
@ -66,6 +66,19 @@ find -L . \
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages/
# Use newer, non-stock setuptools due to package requirements
# Requres python/python3-setuptools-opt build-time dependency
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages
# Add unused section to avoid ERROR message from setuptools_scm
# Make it an if statement just in case upstream decides to update
# it and I don't notice.
if ! grep -qF "[tool.setuptools_scm]" pyproject.toml; then
echo "[tool.setuptools_scm]" >> pyproject.toml
fi
export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION
python3 -m build --wheel --no-isolation
python3 -m installer --destdir "$PKG" dist/*.whl

View File

@ -1,8 +1,8 @@
PRGNAM="python3-dogpile.cache"
VERSION="1.3.2"
VERSION="1.3.3"
HOMEPAGE="https://dogpilecache.sqlalchemy.org/"
DOWNLOAD="https://github.com/sqlalchemy/dogpile.cache/archive/rel_1_3_2/dogpile.cache-rel_1_3_2.tar.gz"
MD5SUM="b8b7172ee282d5ccf2238cb141d6f3a5"
DOWNLOAD="https://github.com/sqlalchemy/dogpile.cache/archive/rel_1_3_3/dogpile.cache-rel_1_3_3.tar.gz"
MD5SUM="3a252847b9d7c7c083786dd9ddf95afa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-stevedore python3-decorator typing-extensions python3-setuptools-opt"