summaryrefslogtreecommitdiffstats
path: root/python/jsonpatch
diff options
context:
space:
mode:
author isaackwy <isaacyu@protonmail.com>2024-01-14 19:45:25 -0800
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-15 14:01:51 +0700
commit7107db4e22760ddc9c3c0c04f957034dc961c2c5 (patch)
tree47a5d19279d5349e6a92d900e4c13599b3ca75fe /python/jsonpatch
parent0e370081570682d97c1bf4b7583b52c2acbab4bd (diff)
downloadslackbuilds-7107db4e22760ddc9c3c0c04f957034dc961c2c5.tar.gz
slackbuilds-7107db4e22760ddc9c3c0c04f957034dc961c2c5.tar.xz
python/jsonpatch: Update for 1.33 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/jsonpatch')
-rw-r--r--python/jsonpatch/jsonpatch.SlackBuild15
-rw-r--r--python/jsonpatch/jsonpatch.info10
2 files changed, 13 insertions, 12 deletions
diff --git a/python/jsonpatch/jsonpatch.SlackBuild b/python/jsonpatch/jsonpatch.SlackBuild
index 4bcdb54f16..6c7da5a7ca 100644
--- a/python/jsonpatch/jsonpatch.SlackBuild
+++ b/python/jsonpatch/jsonpatch.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for jsonpatch
-# Copyright 2020 Alan Aversa
+# Copyright 2020 Alan Aversa <alan_avNOersa@lSPAMavabit.com>
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,10 +26,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jsonpatch
-VERSION=${VERSION:-1.25}
+VERSION=${VERSION:-1.33}
BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
+TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -37,9 +39,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
@@ -47,7 +46,8 @@ fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -83,6 +83,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 AUTHORS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/jsonpatch/jsonpatch.info b/python/jsonpatch/jsonpatch.info
index 834c362519..8113300f83 100644
--- a/python/jsonpatch/jsonpatch.info
+++ b/python/jsonpatch/jsonpatch.info
@@ -1,10 +1,10 @@
PRGNAM="jsonpatch"
-VERSION="1.25"
+VERSION="1.33"
HOMEPAGE="https://pypi.org/project/jsonpatch/"
-DOWNLOAD="https://files.pythonhosted.org/packages/70/9f/6f0bfbb4cc1401ce994d336bcb4ed2aa924f395e7fd1926511c04a52eee1/jsonpatch-1.25.tar.gz"
-MD5SUM="fcc546892414bef2f7f89f0e2a618a9e"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jsonpatch/jsonpatch-1.33.tar.gz"
+MD5SUM="ed3e8eaa5cce105ad02509d185f0889f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jsonpointer"
-MAINTAINER="Alan Aversa"
-EMAIL="alan_avNOersa@lSPAMavabit.com"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"