wok-next view python-pylons/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 | 92698cd69f34 |
children | d5aab818505e |
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="taziden@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 }