aboutsummaryrefslogtreecommitdiff
path: root/python/python3-pydantic
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-pydantic')
-rw-r--r--python/python3-pydantic/python3-pydantic.SlackBuild12
-rw-r--r--python/python3-pydantic/python3-pydantic.info8
2 files changed, 9 insertions, 11 deletions
diff --git a/python/python3-pydantic/python3-pydantic.SlackBuild b/python/python3-pydantic/python3-pydantic.SlackBuild
index 5a27f9218f..46b14f9af2 100644
--- a/python/python3-pydantic/python3-pydantic.SlackBuild
+++ b/python/python3-pydantic/python3-pydantic.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-pydantic
-# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pydantic
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-2.10.2}
+VERSION=${VERSION:-2.12.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -57,11 +57,9 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.?z
cd $SRCNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+find . ! -type l -a \
+ \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \
+ \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \)
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages
diff --git a/python/python3-pydantic/python3-pydantic.info b/python/python3-pydantic/python3-pydantic.info
index c1f242d94b..f97cbc4b01 100644
--- a/python/python3-pydantic/python3-pydantic.info
+++ b/python/python3-pydantic/python3-pydantic.info
@@ -1,10 +1,10 @@
PRGNAM="python3-pydantic"
-VERSION="2.10.2"
+VERSION="2.12.3"
HOMEPAGE="https://github.com/pydantic/pydantic"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic/pydantic-2.10.2.tar.gz"
-MD5SUM="7b030a56f0ffafd7403a8a786c2987ca"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pydantic/pydantic-2.12.3.tar.gz"
+MD5SUM="d01464f3a5256144116a8de55e2974b8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-annotated-types python3-pydantic-core python3-hatch_fancy_pypi_readme"
+REQUIRES="python3-annotated-types python3-pydantic-core python3-hatch_fancy_pypi_readme python3-typing-inspection"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"