mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/python3-ujson: Updated for version 5.9.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
9e67036e17
commit
7630cc81dd
2 changed files with 4 additions and 21 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue