wok view python-paste/receipt @ rev 25367
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 29 07:35:41 2022 +0000 (2022-07-29) |
parents | 076f424196b2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-paste"
4 VERSION="3.5.0"
5 CATEGORY="development"
6 TAGS="python"
7 SHORT_DESC="Tools for using a Web Server Gateway Interface stack."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/Paste/"
11 REPOLOGY="python:paste"
13 SOURCE="Paste"
14 TARBALL="$SOURCE-$VERSION.tar.gz"
15 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
17 DEPENDS="python"
18 BUILD_DEPENDS="python python-dev python-setuptools"
20 HOST_ARCH="i486 arm"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 python setup.py install --root=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 }