aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2024-09-08 17:13:12 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-14 23:36:57 +0700
commitd06f89542c63d356e80fc20757d06f465ed18a6e (patch)
tree4c162ed73436e46bf9983c07a2a34d800ea1b3d0 /python
parentbf63a3c298f16ead3de2a127b97e85d629234718 (diff)
python/python3-annotated-types: Updated for version 0.7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python3-annotated-types/python3-annotated-types.SlackBuild7
-rw-r--r--python/python3-annotated-types/python3-annotated-types.info6
2 files changed, 8 insertions, 5 deletions
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 <fourtysixandtwo@sliderr.net>
+# Copyright 2023-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# 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"