diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-09 11:51:11 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:36:59 +0700 |
commit | b0960cef60d2224f85fef5cdd0af489816e57cc3 (patch) | |
tree | a6bd177a515a92fb15db193e08b256a95a38c585 /python/python3-pydantic/python3-pydantic.SlackBuild | |
parent | e356e18bbf84dbaf06890a934d933b222c305331 (diff) |
python/python3-pydantic: Updated for version 2.9.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-pydantic/python3-pydantic.SlackBuild')
-rw-r--r-- | python/python3-pydantic/python3-pydantic.SlackBuild | 5 |
1 files changed, 4 insertions, 1 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 |