python/python3-ujson: Updated for version 5.9.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fourtysixandtwo 2023-12-16 15:25:08 -07:00 committed by Willy Sudiarto Raharjo
parent 9e67036e17
commit 7630cc81dd
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 4 additions and 21 deletions

View file

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-ujson
SRCNAM=${PRGNAM#python3-*}
VERSION=${VERSION:-5.8.0}
VERSION=${VERSION:-5.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -48,23 +48,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"
elif [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG

View file

@ -1,8 +1,8 @@
PRGNAM="python3-ujson"
VERSION="5.8.0"
VERSION="5.9.0"
HOMEPAGE="https://github.com/ultrajson/ultrajson"
DOWNLOAD="https://files.pythonhosted.org/packages/source/u/ujson/ujson-5.8.0.tar.gz"
MD5SUM="abbe10d7b5a03c4fd8061b1f3ce5d2c1"
DOWNLOAD="https://files.pythonhosted.org/packages/source/u/ujson/ujson-5.9.0.tar.gz"
MD5SUM="708ef70a2575d28ba739f2ecbc2976e9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-build python3-wheel"