aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2024-01-02 15:42:40 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-06 08:08:44 +0700
commit60ef76b89bf1c9cb53d3bcb91f7f1057846dc21d (patch)
treeb8c17ff96686604eabe5f52ef1d6080f34fff665
parent12bb975fbcb50366c061c9af1c8116558845dda5 (diff)
python/python3-maturin: Build fixes.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-maturin/mkvendored.sh2
-rw-r--r--python/python3-maturin/python3-maturin.SlackBuild6
2 files changed, 5 insertions, 3 deletions
diff --git a/python/python3-maturin/mkvendored.sh b/python/python3-maturin/mkvendored.sh
index 252d469ea9ec..c52093378e19 100644
--- a/python/python3-maturin/mkvendored.sh
+++ b/python/python3-maturin/mkvendored.sh
@@ -5,7 +5,7 @@
# installed. It is only needed if you are upgrading the version and
# need new vendored rust libs.
#
-# create $PRGNAM-vendored-sources-$VERSION-$BUILD.tar.xz
+# create $PRGNAM-vendored-sources-$VERSION-$VSBUILD.tar.xz
# requires network access, but does not require root privilege.
# requires that $PRGNAM's REQUIRES need to be installed first
diff --git a/python/python3-maturin/python3-maturin.SlackBuild b/python/python3-maturin/python3-maturin.SlackBuild
index 17c8fcf9a701..c2113380af9b 100644
--- a/python/python3-maturin/python3-maturin.SlackBuild
+++ b/python/python3-maturin/python3-maturin.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-maturin
-# 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
@@ -23,6 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20231008 46and2: Set ARCH=i686 as minimum.
+# 20240102 46and2: Use VSBUILD for vendored sources
cd $(dirname $0) ; CWD=$(pwd)
@@ -32,6 +33,7 @@ VERSION=${VERSION:-1.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+VSBUILD=${VSBUILD:-1}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -71,7 +73,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 . \