aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2023-11-15 07:55:40 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-18 09:16:10 +0700
commita2eaf2e4f8badfc24e64f03e18f6a1ce8567cc61 (patch)
tree8421df6fb6fbec2c3f3299ce32c9a1dd8490bcdf
parent3c52de9fdb870a40d5ace6d929c53d00407ee604 (diff)
downloadslackbuilds-a2eaf2e4f8badfc24e64f03e18f6a1ce8567cc61.tar.xz
python/python3-pydantic: Updated for version 2.5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-pydantic/python3-pydantic.SlackBuild19
-rw-r--r--python/python3-pydantic/python3-pydantic.info6
2 files changed, 4 insertions, 21 deletions
diff --git a/python/python3-pydantic/python3-pydantic.SlackBuild b/python/python3-pydantic/python3-pydantic.SlackBuild
index 0c22c58b9d..925c4e358a 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.4.2}
+VERSION=${VERSION:-2.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -48,23 +48,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-elif [ "$ARCH" = "aarch64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
diff --git a/python/python3-pydantic/python3-pydantic.info b/python/python3-pydantic/python3-pydantic.info
index 14f0e2a070..fff470b501 100644
--- a/python/python3-pydantic/python3-pydantic.info
+++ b/python/python3-pydantic/python3-pydantic.info
@@ -1,8 +1,8 @@
PRGNAM="python3-pydantic"
-VERSION="2.4.2"
+VERSION="2.5.1"
HOMEPAGE="https://github.com/pydantic/pydantic"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic/pydantic-2.4.2.tar.gz"
-MD5SUM="c13106cb71fb4cc55d94f88989ca88fb"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic/pydantic-2.5.1.tar.gz"
+MD5SUM="c75cd70dae08530d3d81534823332258"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-annotated-types python3-pydantic-core python3-hatch_fancy_pypi_readme"