aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2024-09-09 11:51:11 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-14 23:36:59 +0700
commitb0960cef60d2224f85fef5cdd0af489816e57cc3 (patch)
treea6bd177a515a92fb15db193e08b256a95a38c585 /python
parente356e18bbf84dbaf06890a934d933b222c305331 (diff)
python/python3-pydantic: Updated for version 2.9.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python3-pydantic/python3-pydantic.SlackBuild5
-rw-r--r--python/python3-pydantic/python3-pydantic.info6
2 files changed, 7 insertions, 4 deletions
diff --git a/python/python3-pydantic/python3-pydantic.SlackBuild b/python/python3-pydantic/python3-pydantic.SlackBuild
index 8582035cd5f33..42fc483fa9479 100644
--- a/python/python3-pydantic/python3-pydantic.SlackBuild
+++ b/python/python3-pydantic/python3-pydantic.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pydantic
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-2.8.2}
+VERSION=${VERSION:-2.9.1}
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-pydantic/python3-pydantic.info b/python/python3-pydantic/python3-pydantic.info
index 8814f37a3589b..5576384427135 100644
--- a/python/python3-pydantic/python3-pydantic.info
+++ b/python/python3-pydantic/python3-pydantic.info
@@ -1,8 +1,8 @@
PRGNAM="python3-pydantic"
-VERSION="2.8.2"
+VERSION="2.9.1"
HOMEPAGE="https://github.com/pydantic/pydantic"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic/pydantic-2.8.2.tar.gz"
-MD5SUM="940d760de174d3567d4f5be28fd215f5"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic/pydantic-2.9.1.tar.gz"
+MD5SUM="bb48eef1bb7dd93b180b6a285435d95d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-annotated-types python3-pydantic-core python3-hatch_fancy_pypi_readme"