python/python3-annotated-types: Updated for version 0.7.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fourtysixandtwo 2024-09-08 17:13:12 -06:00 committed by Willy Sudiarto Raharjo
parent bf63a3c298
commit d06f89542c
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 8 additions and 5 deletions

View File

@ -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

View File

@ -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"