wok rev 23561

updated python-simplejson (2.1.1 -> 3.17.0)
author Hans-G?nter Theisgen
date Tue Apr 07 07:51:57 2020 +0100 (2020-04-07)
parents 7fa8682f5eca
children fbd272caca98
files python-simplejson/receipt
line diff
     1.1 --- a/python-simplejson/receipt	Tue Apr 07 07:45:52 2020 +0100
     1.2 +++ b/python-simplejson/receipt	Tue Apr 07 07:51:57 2020 +0100
     1.3 @@ -1,19 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-simplejson"
     1.7 -SOURCE="simplejson"
     1.8 -VERSION="2.1.1"
     1.9 +VERSION="3.17.0"
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="Simple, fast, extensible JSON encoder/decoder for python."
    1.12  MAINTAINER="claudinei@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 +WEB_SITE="https://pypi.python.org/pypi/simplejson"
    1.15 +
    1.16 +SOURCE="simplejson"
    1.17  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://pypi.python.org/pypi/simplejson"
    1.19 -WGET_URL="http://pypi.python.org/packages/source/s/$SOURCE/$TARBALL"
    1.20 -HOST_ARCH="i486 arm"
    1.21 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    1.22  
    1.23  DEPENDS="python"
    1.24 -BUILD_DEPENDS="python-dev python-setuptools"
    1.25 +BUILD_DEPENDS="python python-dev python-setuptools"
    1.26 +
    1.27 +HOST_ARCH="i486 arm"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31 @@ -26,8 +28,10 @@
    1.32  			ln -s /cross/${ARCH}/tools/bin/arm-slitaz-linux-gnueabi-gcc \
    1.33  				/usr/bin/i486-slitaz-linux-gcc ;;
    1.34  	esac &&
    1.35 +
    1.36  	python setup.py build  &&
    1.37  	python setup.py install --root=$DESTDIR &&
    1.38 +
    1.39  	case "$ARCH" in
    1.40  		arm*)
    1.41  			rm /usr/bin/i486-slitaz-linux-gcc &&
    1.42 @@ -39,7 +43,7 @@
    1.43  genpkg_rules()
    1.44  {
    1.45  	mkdir -p $fs/usr
    1.46 -	cp -a $install/usr/lib $fs/usr
    1.47 +	cp -a $install/usr/lib	$fs/usr
    1.48  }
    1.49  
    1.50  # Remove old package.