wok-current annotate python-paste/receipt @ rev 24477
updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 10:50:23 2022 +0100 (2022-02-18) |
parents | 1df6fa555414 |
children | 496aa6ebe819 |
rev | line source |
---|---|
pankso@3379 | 1 # SliTaz package receipt. |
pankso@3379 | 2 |
pankso@3379 | 3 PACKAGE="python-paste" |
Hans-G?nter@23523 | 4 VERSION="3.4.0" |
pankso@3379 | 5 CATEGORY="development" |
Hans-G?nter@23523 | 6 TAGS="python" |
pankso@3379 | 7 SHORT_DESC="Tools for using a Web Server Gateway Interface stack." |
pankso@3379 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15379 | 9 LICENSE="MIT" |
Hans-G?nter@23523 | 10 WEB_SITE="https://pypi.org/project/Paste/" |
Hans-G?nter@23523 | 11 |
pankso@3379 | 12 SOURCE="Paste" |
pankso@3379 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23523 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15379 | 15 |
pankso@3379 | 16 DEPENDS="python" |
pascal@21582 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
pankso@3379 | 18 |
Hans-G?nter@23523 | 19 HOST_ARCH="i486 arm" |
Hans-G?nter@23523 | 20 |
pascal@24383 | 21 # What is the latest version available today? |
pascal@24288 | 22 current_version() |
pascal@24288 | 23 { |
pascal@24383 | 24 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 25 } |
pascal@24288 | 26 |
pankso@3379 | 27 # Rules to configure and make the package. |
pankso@3379 | 28 compile_rules() |
pankso@3379 | 29 { |
pascal@15379 | 30 python setup.py install --root=$DESTDIR |
pankso@3379 | 31 } |
pankso@3379 | 32 |
pankso@3379 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3379 | 34 genpkg_rules() |
pankso@3379 | 35 { |
Hans-G?nter@23523 | 36 cp -a $install/usr $fs |
pankso@3379 | 37 } |