diff options
Diffstat (limited to 'python/python3-pydantic')
-rw-r--r-- | python/python3-pydantic/python3-pydantic.SlackBuild | 5 | ||||
-rw-r--r-- | python/python3-pydantic/python3-pydantic.info | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/python/python3-pydantic/python3-pydantic.SlackBuild b/python/python3-pydantic/python3-pydantic.SlackBuild index 8582035cd5..42fc483fa9 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 8814f37a35..5576384427 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" |