wok-next diff python-twisted/receipt @ rev 21207

try to build asterisk again
author Hans-G?nter Theisgen
date Mon Dec 02 09:52:22 2019 +0100 (2019-12-02)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-twisted/receipt	Mon Dec 02 09:52:22 2019 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +ORIGIN="Twisted"
     1.7 +PACKAGE="python-twisted"
     1.8 +VERSION="18.7.0"
     1.9 +CATEGORY="network"
    1.10 +SHORT_DESC="Event-driven networking for internet applications"
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="GPL2"
    1.13 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.14 +#HOST_ARCH
    1.15 +REPOLOGY="python:twisted"
    1.16 +
    1.17 +BUILD_DEPENDS="python-dev python-attrs python-automat python-constantly \
    1.18 +python-hyperlink python-incremental python-pyhamcrest python-zope.interface \
    1.19 +python3-dev python3-attrs python3-automat python3-constantly python3-hyperlink \
    1.20 +python3-incremental python3-pyhamcrest python3-zope.interface"
    1.21 +SPLIT="${PACKAGE/python/python3}:3"
    1.22 +
    1.23 +compile_rules() {
    1.24 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    1.25 +}
    1.26 +
    1.27 +genpkg_rules() {
    1.28 +	copy @std
    1.29 +	py="${PACKAGE%%-*}" # python/python3
    1.30 +	DEPENDS="$py $py-attrs $py-automat $py-constantly $py-hyperlink \
    1.31 +	$py-incremental $py-pyhamcrest $py-zope.interface"
    1.32 +	SUGGESTED="$py-service_identity"
    1.33 +}