diff --git a/python/python3-annotated-types/python3-annotated-types.SlackBuild b/python/python3-annotated-types/python3-annotated-types.SlackBuild index a62808a952..b65bb2d54b 100644 --- a/python/python3-annotated-types/python3-annotated-types.SlackBuild +++ b/python/python3-annotated-types/python3-annotated-types.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-annotated-types -# Copyright 2023 fourtysixandtwo +# Copyright 2023-2024 fourtysixandtwo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-annotated-types SRCNAM=annotated_types -VERSION=${VERSION:-0.6.0} +VERSION=${VERSION:-0.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,6 +63,9 @@ 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 + python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl diff --git a/python/python3-annotated-types/python3-annotated-types.info b/python/python3-annotated-types/python3-annotated-types.info index 738221c593..14f5c94dfd 100644 --- a/python/python3-annotated-types/python3-annotated-types.info +++ b/python/python3-annotated-types/python3-annotated-types.info @@ -1,8 +1,8 @@ PRGNAM="python3-annotated-types" -VERSION="0.6.0" +VERSION="0.7.0" HOMEPAGE="https://github.com/annotated-types/annotated-types" -DOWNLOAD="https://files.pythonhosted.org/packages/source/a/annotated-types/annotated_types-0.6.0.tar.gz" -MD5SUM="5fe2125b08851f0d05a8efad6456861c" +DOWNLOAD="https://files.pythonhosted.org/packages/source/a/annotated-types/annotated_types-0.7.0.tar.gz" +MD5SUM="5c943b7c51b0b7dcadf46da4a99c84a1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-hatchling python3-typing-extensions"