wok-next diff python-webhelpers/receipt @ rev 21360

guacamole: inserted fix libtool
author Hans-G?nter Theisgen
date Mon Apr 13 06:41:39 2020 +0100 (2020-04-13)
parents 8b5b2a6d07b8
children
line diff
     1.1 --- a/python-webhelpers/receipt	Fri Sep 14 01:56:52 2018 +0300
     1.2 +++ b/python-webhelpers/receipt	Mon Apr 13 06:41:39 2020 +0100
     1.3 @@ -1,30 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7 +ORIGIN="WebHelpers"
     1.8  PACKAGE="python-webhelpers"
     1.9 -VERSION="1.2"
    1.10 -CATEGORY="development"
    1.11 -SHORT_DESC="Web Helpers"
    1.12 -MAINTAINER="taziden@slitaz.org"
    1.13 -LICENSE="BSD"
    1.14 -WEB_SITE="https://pypi.org/project/WebHelpers/"
    1.15 +VERSION="1.3"
    1.16 +CATEGORY="python"
    1.17 +SHORT_DESC="Make HTML tags, process text, format numbers, and more"
    1.18 +MAINTAINER="al.bobylev@gmail.com"
    1.19 +LICENSE="MIT"
    1.20 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.21 +HOST_ARCH="any"
    1.22  REPOLOGY="python:webhelpers"
    1.23  
    1.24 -SOURCE="WebHelpers"
    1.25 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.26 -WGET_URL="https://files.pythonhosted.org/packages/source//W/$SOURCE/$TARBALL"
    1.27 -TAGS="python"
    1.28 +BUILD_DEPENDS="python python-markupsafe \
    1.29 +python3 python3-markupsafe"
    1.30 +SPLIT="${PACKAGE/python/python3}:3"
    1.31  
    1.32 -DEPENDS="python"
    1.33 -BUILD_DEPENDS="python python-dev"
    1.34 -
    1.35 -# Rules to configure and make the package.
    1.36 -compile_rules()
    1.37 -{
    1.38 -	python setup.py install --root=$DESTDIR
    1.39 +compile_rules() {
    1.40 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    1.41  }
    1.42  
    1.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.44 -genpkg_rules()
    1.45 -{
    1.46 -	cp -a $install/usr $fs
    1.47 +genpkg_rules() {
    1.48 +	copy @std
    1.49 +	py=${PACKAGE%%-*} # python/python3
    1.50 +	DEPENDS="$py $py-markupsafe"
    1.51  }