aboutsummaryrefslogtreecommitdiff
path: root/python/python3-pydantic/python3-pydantic.SlackBuild
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 /python/python3-pydantic/python3-pydantic.SlackBuild
parent3c52de9fdb870a40d5ace6d929c53d00407ee604 (diff)
python/python3-pydantic: Updated for version 2.5.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.SlackBuild19
1 files changed, 1 insertions, 18 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