wok-next annotate python-pylons/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 c9a7a7b42a86
children
rev   line source
al@20972 1 # SliTaz package receipt v2.
taziden@3777 2
al@20972 3 ORIGIN="Pylons"
taziden@3777 4 PACKAGE="python-pylons"
al@20972 5 VERSION="1.0.3"
al@20972 6 CATEGORY="python"
al@20972 7 SHORT_DESC="Pylons Web Framework"
al@21020 8 MAINTAINER="devel@slitaz.org"
pascal@15378 9 LICENSE="BSD"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 11 HOST_ARCH="any"
al@20887 12 REPOLOGY="python:pylons"
al@20887 13
al@20972 14 BUILD_DEPENDS="python python-beaker python-decorator python-formencode \
al@20972 15 python-mako python-markupsafe python-nose python-paste python-pastedeploy \
al@20972 16 python-pastescript python-routes python-simplejson python-tempita \
al@20972 17 python-weberror python-webhelpers python-webob python-webtest \
al@20972 18 python3 python3-beaker python3-decorator python3-formencode python3-mako \
al@20972 19 python3-markupsafe python3-nose python3-paste python3-pastedeploy \
al@20972 20 python3-pastescript python3-routes python3-simplejson python3-tempita \
al@20972 21 python3-weberror python3-webhelpers python3-webob python3-webtest"
al@20972 22 SPLIT="${PACKAGE/python/python3}:3"
taziden@3777 23
al@20972 24 compile_rules() {
al@20972 25 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
pascal@15378 26
al@20972 27 # '--no-compile' used, but these files still installed...
al@20972 28 find $install -type f -name '*.pyc' -delete
taziden@3777 29 }
taziden@3777 30
al@20972 31 genpkg_rules() {
al@20972 32 copy @std
al@20972 33 py="${PACKAGE%%-*}" # python/python3
al@20972 34 DEPENDS="$py $py-beaker $py-decorator $py-formencode $py-mako \
al@20972 35 $py-markupsafe $py-nose $py-paste $py-pastedeploy $py-pastescript \
al@20972 36 $py-routes $py-simplejson $py-tempita $py-weberror $py-webhelpers \
al@20972 37 $py-webob $py-webtest"
taziden@3777 38 }