wok-6.x view python-cherrypy/receipt @ rev 24985
Add python-future
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 10 07:46:58 2022 +0000 (2022-05-10) |
parents | cb67b4f8be05 |
children |
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="https://files.pythonhosted.org/packages/source/C/CherryPy/$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 }