# HG changeset patch # User Hans-G?nter Theisgen # Date 1586242317 -3600 # Node ID 7cbe6d2c90dcc217509a8f9ae2413b3f8f496ee5 # Parent 7fa8682f5eca68c420ad94ad3fd6e60d99243d2c updated python-simplejson (2.1.1 -> 3.17.0) diff -r 7fa8682f5eca -r 7cbe6d2c90dc python-simplejson/receipt --- a/python-simplejson/receipt Tue Apr 07 07:45:52 2020 +0100 +++ b/python-simplejson/receipt Tue Apr 07 07:51:57 2020 +0100 @@ -1,19 +1,21 @@ # SliTaz package receipt. PACKAGE="python-simplejson" -SOURCE="simplejson" -VERSION="2.1.1" +VERSION="3.17.0" CATEGORY="development" SHORT_DESC="Simple, fast, extensible JSON encoder/decoder for python." MAINTAINER="claudinei@slitaz.org" LICENSE="MIT" +WEB_SITE="https://pypi.python.org/pypi/simplejson" + +SOURCE="simplejson" TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://pypi.python.org/pypi/simplejson" -WGET_URL="http://pypi.python.org/packages/source/s/$SOURCE/$TARBALL" -HOST_ARCH="i486 arm" +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" DEPENDS="python" -BUILD_DEPENDS="python-dev python-setuptools" +BUILD_DEPENDS="python python-dev python-setuptools" + +HOST_ARCH="i486 arm" # Rules to configure and make the package. compile_rules() @@ -26,8 +28,10 @@ ln -s /cross/${ARCH}/tools/bin/arm-slitaz-linux-gnueabi-gcc \ /usr/bin/i486-slitaz-linux-gcc ;; esac && + python setup.py build && python setup.py install --root=$DESTDIR && + case "$ARCH" in arm*) rm /usr/bin/i486-slitaz-linux-gcc && @@ -39,7 +43,7 @@ genpkg_rules() { mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr + cp -a $install/usr/lib $fs/usr } # Remove old package.