|
@ -3,7 +3,7 @@ |
|
|
# Slackware build script for python3-pyrsistent |
|
|
# Slackware build script for python3-pyrsistent |
|
|
|
|
|
|
|
|
# Copyright 2019-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> |
|
|
# Copyright 2019-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> |
|
|
# Copyright 2022 Isaac Yu <isaacyu@protonmail.com> |
|
|
|
|
|
|
|
|
# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> |
|
|
# All rights reserved. |
|
|
# All rights reserved. |
|
|
# |
|
|
# |
|
|
# Redistribution and use of this script, with or without modification, is |
|
|
# Redistribution and use of this script, with or without modification, is |
|
@ -26,7 +26,7 @@ |
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
|
PRGNAM=python3-pyrsistent |
|
|
PRGNAM=python3-pyrsistent |
|
|
VERSION=${VERSION:-0.19.3} |
|
|
|
|
|
|
|
|
VERSION=${VERSION:-0.20.0} |
|
|
BUILD=${BUILD:-1} |
|
|
BUILD=${BUILD:-1} |
|
|
TAG=${TAG:-_SBo} |
|
|
TAG=${TAG:-_SBo} |
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
@ -41,9 +41,6 @@ if [ -z "$ARCH" ]; then |
|
|
esac |
|
|
esac |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what |
|
|
|
|
|
# the name of the created package would be, and then exit. This information |
|
|
|
|
|
# could be useful to other scripts. |
|
|
|
|
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then |
|
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then |
|
|
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" |
|
|
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" |
|
|
exit 0 |
|
|
exit 0 |
|
|