wok view python-cherrypy/receipt @ rev 24955
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:34:46 2022 +0100 (2022-04-23) |
parents | b9659e3c2111 |
children | 1805f71c5d9f |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-cherrypy"
4 VERSION="3.1.2" # Fix to this version for turbogears.
5 CATEGORY="development"
6 SHORT_DESC="CherryPy is a pythonic, object-oriented HTTP framework."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="CherryPy"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://www.cherrypy.org/"
12 WGET_URL="http://download.cherrypy.org/cherrypy/$VERSION/$TARBALL"
13 TAGS="python"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/cherrypy/cherrypy/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }