diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-01-02 15:45:04 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-01-06 08:08:45 +0700 |
commit | fb2fa9d12269935abc2fb8510df04f715485c2a7 (patch) | |
tree | d7ef0beb9c2557b775b3c36fbd7bbe9e3f693f83 /python/python3-pydantic-core/python3-pydantic-core.SlackBuild | |
parent | 1204f057b72e70b91e9f0695d2561aad27a942b0 (diff) |
python/python3-pydantic-core: Build fixes.
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.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/python/python3-pydantic-core/python3-pydantic-core.SlackBuild b/python/python3-pydantic-core/python3-pydantic-core.SlackBuild index a0a9922f0c..1fdb96502d 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 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2023-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20240102 46and2: Use VSBUILD for vendored sources + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pydantic-core @@ -30,6 +32,7 @@ VERSION=${VERSION:-2.14.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +VSBUILD=${VSBUILD:-1} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -72,7 +75,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.?z -tar xvf $CWD/$SRCNAM-vendored-sources-$VERSION-$BUILD.tar.?z +tar xvf $CWD/$SRCNAM-vendored-sources-$VERSION-$VSBUILD.tar.?z cd $SRCNAM-$VERSION chown -R root:root . find -L . \ |