wok-next annotate python-zope.interface/receipt @ rev 21100
Fix more cross-arch specific problems in Python modules.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jan 01 23:46:47 2019 +0200 (2019-01-01) |
parents | c9a7a7b42a86 |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
al@20972 | 2 |
al@20972 | 3 ORIGIN="zope.interface" |
al@20972 | 4 PACKAGE="python-zope.interface" |
al@20972 | 5 VERSION="4.5.0" |
al@20972 | 6 CATEGORY="network" |
al@20972 | 7 SHORT_DESC="Zope 4 Interface Infrastructure" |
al@20972 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
al@20972 | 9 LICENSE="ZPL" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 REPOLOGY="python:zope.interface" |
al@20972 | 12 |
al@21100 | 13 COOKOPTS="force-arch" # arch-specific .so in python-zope.interface on i486 |
al@21100 | 14 |
al@20972 | 15 BUILD_DEPENDS="python python3" |
al@20972 | 16 SPLIT="${PACKAGE/python/python3}:3" |
al@20972 | 17 |
al@20972 | 18 compile_rules() { |
al@20972 | 19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
al@20972 | 20 } |
al@20972 | 21 |
al@20972 | 22 genpkg_rules() { |
al@20972 | 23 copy @std |
al@20972 | 24 py=${PACKAGE%%-*} # python/python3 |
al@20972 | 25 DEPENDS="$py" |
al@20972 | 26 TAGS="webserver application-server appserver" |
al@20972 | 27 } |