From 7107db4e22760ddc9c3c0c04f957034dc961c2c5 Mon Sep 17 00:00:00 2001 From: isaackwy Date: Sun, 14 Jan 2024 19:45:25 -0800 Subject: python/jsonpatch: Update for 1.33 (+new maintainer) Signed-off-by: Willy Sudiarto Raharjo --- python/jsonpatch/jsonpatch.SlackBuild | 15 ++++++++------- python/jsonpatch/jsonpatch.info | 10 +++++----- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/python/jsonpatch/jsonpatch.SlackBuild b/python/jsonpatch/jsonpatch.SlackBuild index 4bcdb54f1604..6c7da5a7ca52 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 +# Copyright 2024 Isaac Yu # 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 834c3625193b..8113300f830c 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" -- cgit v1.2.3