aboutsummaryrefslogtreecommitdiff
path: root/python/python3-pydantic-core/python3-pydantic-core.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2025-10-07 23:24:30 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-10-11 09:14:21 +0700
commite6e8536ea7c91adc1ef911977d6f9b58c4c00b9f (patch)
tree4d716d0ed325956ff92466104becc99560beb18b /python/python3-pydantic-core/python3-pydantic-core.SlackBuild
parent09befd4ef3189ce978452011ba9caa2edbc6668b (diff)
python/python3-pydantic-core: Updated for version 2.41.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-pydantic-core/python3-pydantic-core.SlackBuild')
-rw-r--r--python/python3-pydantic-core/python3-pydantic-core.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/python/python3-pydantic-core/python3-pydantic-core.SlackBuild b/python/python3-pydantic-core/python3-pydantic-core.SlackBuild
index e2c8e4dc7c..bc0665c338 100644
--- a/python/python3-pydantic-core/python3-pydantic-core.SlackBuild
+++ b/python/python3-pydantic-core/python3-pydantic-core.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pydantic-core
SRCNAM=pydantic_core
-VERSION=${VERSION:-2.34.1}
+VERSION=${VERSION:-2.41.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -78,11 +78,9 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.?z
tar xvf $CWD/$SRCNAM-vendored-sources-$VERSION-$VSBUILD.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 {} + \)
# remove .cargo line from Cargo.toml, breaks using vendored libs
sed -i '/^ "\/.cargo",$/d' Cargo.toml