wok-next diff python-zope.interface/receipt @ rev 20972

Improve Python packages: update, also provide Python3 packages where available
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 22 16:05:26 2018 +0300 (2018-09-22)
parents
children c88baf7ab6c5
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-zope.interface/receipt	Sat Sep 22 16:05:26 2018 +0300
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +ORIGIN="zope.interface"
     1.7 +PACKAGE="python-zope.interface"
     1.8 +VERSION="4.5.0"
     1.9 +CATEGORY="network"
    1.10 +SHORT_DESC="Zope 4 Interface Infrastructure"
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="ZPL"
    1.13 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.14 +HOST_ARCH="any"
    1.15 +REPOLOGY="python:zope.interface"
    1.16 +
    1.17 +BUILD_DEPENDS="python python3"
    1.18 +SPLIT="${PACKAGE/python/python3}:3"
    1.19 +
    1.20 +compile_rules() {
    1.21 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    1.22 +}
    1.23 +
    1.24 +genpkg_rules() {
    1.25 +	copy @std
    1.26 +	py=${PACKAGE%%-*} # python/python3
    1.27 +	DEPENDS="$py"
    1.28 +	TAGS="webserver application-server appserver"
    1.29 +}