summaryrefslogtreecommitdiffstats
path: root/python/python3-fastjsonschema
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-fastjsonschema')
-rw-r--r--python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild25
-rw-r--r--python/python3-fastjsonschema/python3-fastjsonschema.info8
2 files changed, 7 insertions, 26 deletions
diff --git a/python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild b/python/python3-fastjsonschema/python3-fastjsonschema.SlackBuild
index 43a33e9218..95bce7db90 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,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-fastjsonschema
-VERSION=${VERSION:-2.16.2}
+VERSION=${VERSION:-2.20.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -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
@@ -52,20 +49,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -87,9 +70,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 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
diff --git a/python/python3-fastjsonschema/python3-fastjsonschema.info b/python/python3-fastjsonschema/python3-fastjsonschema.info
index aabce1cbf3..cfc7b6bd5a 100644
--- a/python/python3-fastjsonschema/python3-fastjsonschema.info
+++ b/python/python3-fastjsonschema/python3-fastjsonschema.info
@@ -1,10 +1,10 @@
PRGNAM="python3-fastjsonschema"
-VERSION="2.16.2"
+VERSION="2.20.0"
HOMEPAGE="https://github.com/horejsek/python-fastjsonschema"
-DOWNLOAD="https://github.com/horejsek/python-fastjsonschema/archive/v2.16.2/python-fastjsonschema-2.16.2.tar.gz"
-MD5SUM="87022c96833e0aadf3e3888722559095"
+DOWNLOAD="https://github.com/horejsek/python-fastjsonschema/archive/v2.20.0/python-fastjsonschema-2.20.0.tar.gz"
+MD5SUM="f2af89a64f8e9ebd7895e76dd0d40ca4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Isaac Yu"
-EMAIL="isaacyu1@isaacyu1.com"
+EMAIL="isaacyu@protonmail.com"