wok-next view python-pylons/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents c9a7a7b42a86
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="Pylons"
4 PACKAGE="python-pylons"
5 VERSION="1.0.3"
6 CATEGORY="python"
7 SHORT_DESC="Pylons Web Framework"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:pylons"
14 BUILD_DEPENDS="python python-beaker python-decorator python-formencode \
15 python-mako python-markupsafe python-nose python-paste python-pastedeploy \
16 python-pastescript python-routes python-simplejson python-tempita \
17 python-weberror python-webhelpers python-webob python-webtest \
18 python3 python3-beaker python3-decorator python3-formencode python3-mako \
19 python3-markupsafe python3-nose python3-paste python3-pastedeploy \
20 python3-pastescript python3-routes python3-simplejson python3-tempita \
21 python3-weberror python3-webhelpers python3-webob python3-webtest"
22 SPLIT="${PACKAGE/python/python3}:3"
24 compile_rules() {
25 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
27 # '--no-compile' used, but these files still installed...
28 find $install -type f -name '*.pyc' -delete
29 }
31 genpkg_rules() {
32 copy @std
33 py="${PACKAGE%%-*}" # python/python3
34 DEPENDS="$py $py-beaker $py-decorator $py-formencode $py-mako \
35 $py-markupsafe $py-nose $py-paste $py-pastedeploy $py-pastescript \
36 $py-routes $py-simplejson $py-tempita $py-weberror $py-webhelpers \
37 $py-webob $py-webtest"
38 }