wok-current view python-pastedeploy/receipt @ rev 25365

cpige: apply gibor patch (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 28 15:03:09 2022 +0000 (2022-07-28)
parents 076f424196b2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pastedeploy"
4 VERSION="2.1.1"
5 CATEGORY="development"
6 TAGS="python"
7 SHORT_DESC="Load, configure, and compose WSGI applications and servers."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/PasteDeploy/"
11 REPOLOGY="python:pastedeploy"
13 SOURCE="PasteDeploy"
14 TARBALL="$SOURCE-$VERSION.tar.gz"
15 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
17 DEPENDS="python python-paste"
18 BUILD_DEPENDS="$DEPENDS python-dev python-setuptools"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }