summaryrefslogtreecommitdiffstats
path: root/python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild')
-rw-r--r--python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild b/python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild
index 0529f3cb59..51fe572475 100644
--- a/python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild
+++ b/python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-fastjsonschema
-# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com>
+# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,12 +25,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-fastjsonschema
-VERSION=${VERSION:-2.15.3}
+VERSION=${VERSION:-2.19.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=fastjsonschema
+SRCNAM=python-fastjsonschema
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
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
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -87,9 +84,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- LICENSE PKG-INFO README.rst \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install