aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2023-09-01 05:14:18 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-23 11:33:51 +0700
commit6f1dfd9c2bb0ae24e86119164445ff280dfae141 (patch)
treee32099ea28ca6ee402f6b9737ae354ce78db48f4
parent3d41c932b8a66e57f5f104ec555847bcad0f19ea (diff)
python/python3-pydantic: Updated for version 2.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-pydantic/python3-pydantic.SlackBuild5
-rw-r--r--python/python3-pydantic/python3-pydantic.info8
2 files changed, 8 insertions, 5 deletions
diff --git a/python/python3-pydantic/python3-pydantic.SlackBuild b/python/python3-pydantic/python3-pydantic.SlackBuild
index a9ee14f4d0fe8..f385dd5d8fa9d 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:-1.10.7}
+VERSION=${VERSION:-2.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -57,6 +57,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
diff --git a/python/python3-pydantic/python3-pydantic.info b/python/python3-pydantic/python3-pydantic.info
index 52df1ab7e20f8..066e4eed70464 100644
--- a/python/python3-pydantic/python3-pydantic.info
+++ b/python/python3-pydantic/python3-pydantic.info
@@ -1,10 +1,10 @@
PRGNAM="python3-pydantic"
-VERSION="1.10.7"
+VERSION="2.3.0"
HOMEPAGE="https://github.com/pydantic/pydantic"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic/pydantic-1.10.7.tar.gz"
-MD5SUM="4279a3a76b4c287b444d7ce37fed02c2"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic/pydantic-2.3.0.tar.gz"
+MD5SUM="8b1d1d445bf84e4d9d5f080b08dbccfa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-wheel typing-extensions"
+REQUIRES="python3-annotated-types python3-pydantic-core python3-hatch_fancy_pypi_readme"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"