wok view python-webob/receipt @ rev 25665

Up advancecomp (2.6), apache (2.4.58), apache-mod-perl (2.0.13), apache-mod-wsgi (5.0.0), apr (1.7.4), awstats (7.9), gzip (1.13), zbar (0.23.93), zlib (1.3.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 24 19:18:54 2024 +0000 (4 months ago)
parents 104a2a2e5484
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-webob"
4 VERSION="1.8.7"
5 CATEGORY="development"
6 TAGS="python"
7 SHORT_DESC="WSGI request and response object."
8 MAINTAINER="taziden@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/WebOb/"
11 REPOLOGY="python:webob"
13 SOURCE="WebOb"
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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
24 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 python setup.py install --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders lib
37 }