wok-next diff python-soappy/receipt @ rev 21527

updated bootchart (0.9 -> 1.20)
author Hans-G?nter Theisgen
date Fri Jun 19 15:06:45 2020 +0100 (2020-06-19)
parents 8b5b2a6d07b8
children
line diff
     1.1 --- a/python-soappy/receipt	Fri Sep 14 01:56:52 2018 +0300
     1.2 +++ b/python-soappy/receipt	Fri Jun 19 15:06:45 2020 +0100
     1.3 @@ -1,29 +1,28 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7 +ORIGIN="SOAPpy"
     1.8  PACKAGE="python-soappy"
     1.9  VERSION="0.12.22"
    1.10 -CATEGORY="development"
    1.11 -SHORT_DESC="SOAP services for python."
    1.12 +CATEGORY="python"
    1.13 +SHORT_DESC="SOAP services for Python"
    1.14  MAINTAINER="pascal.bellard@slitaz.org"
    1.15  LICENSE="BSD"
    1.16 -WEB_SITE="https://pypi.org/project/SOAPpy/"
    1.17 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.18 +HOST_ARCH="any"
    1.19  REPOLOGY="python:soappy"
    1.20  
    1.21 -SOURCE="SOAPpy"
    1.22 -TARBALL="$SOURCE-$VERSION.zip"
    1.23 -WGET_URL="https://files.pythonhosted.org/packages/source/S/SOAPpy/$TARBALL"
    1.24 +BUILD_DEPENDS="python python-defusedxml python-wstools \
    1.25 +python3 python3-defusedxml python3-wstools"
    1.26 +SPLIT="${PACKAGE/python/python3}:3"
    1.27  
    1.28 -DEPENDS="python"
    1.29 -BUILD_DEPENDS="python-dev"
    1.30 +compile_rules() {
    1.31 +	fix utf-8; export LC_ALL=en_US.UTF-8
    1.32  
    1.33 -# Rules to configure and make the package.
    1.34 -compile_rules()
    1.35 -{
    1.36 -	python setup.py install --prefix=/usr --root=$DESTDIR
    1.37 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    1.38  }
    1.39  
    1.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 -genpkg_rules()
    1.42 -{
    1.43 -	cp -a $install/usr/ $fs/
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	py="${PACKAGE%%-*}" # python/python3
    1.47 +	DEPENDS="$py $py-defusedxml $py-wstools"
    1.48  }