wok-current annotate python-cherrypy/receipt @ rev 24353
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 03 12:55:23 2022 +0000 (2022-02-03) |
parents | fd4f1e692109 |
children | b9659e3c2111 |
rev | line source |
---|---|
pankso@3376 | 1 # SliTaz package receipt. |
pankso@3376 | 2 |
pankso@3376 | 3 PACKAGE="python-cherrypy" |
slaxemulator@6601 | 4 VERSION="3.1.2" # Fix to this version for turbogears. |
pankso@3376 | 5 CATEGORY="development" |
pankso@3376 | 6 SHORT_DESC="CherryPy is a pythonic, object-oriented HTTP framework." |
pankso@3376 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 8 LICENSE="BSD" |
pankso@3376 | 9 SOURCE="CherryPy" |
pankso@3376 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@3376 | 11 WEB_SITE="http://www.cherrypy.org/" |
pankso@3376 | 12 WGET_URL="http://download.cherrypy.org/cherrypy/$VERSION/$TARBALL" |
pascal@15378 | 13 TAGS="python" |
pascal@15378 | 14 |
pankso@3376 | 15 DEPENDS="python" |
pankso@3376 | 16 BUILD_DEPENDS="python python-dev" |
pankso@3376 | 17 |
pankso@3376 | 18 # Rules to configure and make the package. |
pankso@3376 | 19 compile_rules() |
pankso@3376 | 20 { |
pascal@15378 | 21 python setup.py install --root=$DESTDIR |
pankso@3376 | 22 } |
pankso@3376 | 23 |
pankso@3376 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3376 | 25 genpkg_rules() |
pankso@3376 | 26 { |
pascal@15378 | 27 cp -a $install/usr $fs |
pankso@3376 | 28 } |