diff options
Diffstat (limited to 'python/python3-pydantic-core/python3-pydantic-core.SlackBuild')
| -rw-r--r-- | python/python3-pydantic-core/python3-pydantic-core.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/python/python3-pydantic-core/python3-pydantic-core.SlackBuild b/python/python3-pydantic-core/python3-pydantic-core.SlackBuild index d96fae192d..cfb5b5482d 100644 --- a/python/python3-pydantic-core/python3-pydantic-core.SlackBuild +++ b/python/python3-pydantic-core/python3-pydantic-core.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-pydantic-core -# Copyright 2023-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2023-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pydantic-core SRCNAM=pydantic_core -VERSION=${VERSION:-2.27.1} +VERSION=${VERSION:-2.41.4} 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 |
