wok-next annotate python-twisted/receipt @ rev 21013
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 14 05:29:23 2018 +0300 (2018-10-14) |
parents | |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
al@20972 | 2 |
al@20972 | 3 ORIGIN="Twisted" |
al@20972 | 4 PACKAGE="python-twisted" |
al@20972 | 5 VERSION="18.7.0" |
al@20972 | 6 CATEGORY="network" |
al@20972 | 7 SHORT_DESC="Event-driven networking for internet applications" |
al@20972 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
al@20972 | 9 LICENSE="GPL2" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 #HOST_ARCH |
al@20972 | 12 REPOLOGY="python:twisted" |
al@20972 | 13 |
al@20972 | 14 BUILD_DEPENDS="python-dev python-attrs python-automat python-constantly \ |
al@20972 | 15 python-hyperlink python-incremental python-pyhamcrest python-zope.interface \ |
al@20972 | 16 python3-dev python3-attrs python3-automat python3-constantly python3-hyperlink \ |
al@20972 | 17 python3-incremental python3-pyhamcrest python3-zope.interface" |
al@20972 | 18 SPLIT="${PACKAGE/python/python3}:3" |
al@20972 | 19 |
al@20972 | 20 compile_rules() { |
al@20972 | 21 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
al@20972 | 22 } |
al@20972 | 23 |
al@20972 | 24 genpkg_rules() { |
al@20972 | 25 copy @std |
al@20972 | 26 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 27 DEPENDS="$py $py-attrs $py-automat $py-constantly $py-hyperlink \ |
al@20972 | 28 $py-incremental $py-pyhamcrest $py-zope.interface" |
al@20972 | 29 SUGGESTED="$py-service_identity" |
al@20972 | 30 } |