wok-current annotate python-pastedeploy/receipt @ rev 25627
Patch sundown to use new gcc
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Sep 04 19:37:09 2023 +0000 (16 months ago) |
parents | 076f424196b2 |
children |
rev | line source |
---|---|
pankso@3379 | 1 # SliTaz package receipt. |
pankso@3379 | 2 |
pankso@3379 | 3 PACKAGE="python-pastedeploy" |
Hans-G?nter@25214 | 4 VERSION="2.1.1" |
pankso@3379 | 5 CATEGORY="development" |
Hans-G?nter@23524 | 6 TAGS="python" |
pankso@3379 | 7 SHORT_DESC="Load, configure, and compose WSGI applications and servers." |
pankso@3379 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 9 LICENSE="MIT" |
Hans-G?nter@23524 | 10 WEB_SITE="https://pypi.org/project/PasteDeploy/" |
Hans-G?nter@25214 | 11 REPOLOGY="python:pastedeploy" |
Hans-G?nter@23524 | 12 |
pankso@3379 | 13 SOURCE="PasteDeploy" |
pankso@3379 | 14 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23524 | 15 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15378 | 16 |
pankso@3379 | 17 DEPENDS="python python-paste" |
pascal@21582 | 18 BUILD_DEPENDS="$DEPENDS python-dev python-setuptools" |
pankso@3379 | 19 |
pascal@24383 | 20 # What is the latest version available today? |
pascal@24288 | 21 current_version() |
pascal@24288 | 22 { |
pascal@24383 | 23 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 24 } |
pascal@24288 | 25 |
pankso@3379 | 26 # Rules to configure and make the package. |
pankso@3379 | 27 compile_rules() |
pankso@3379 | 28 { |
pascal@15378 | 29 python setup.py install --root=$DESTDIR |
pankso@3379 | 30 } |
pankso@3379 | 31 |
pankso@3379 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3379 | 33 genpkg_rules() |
pankso@3379 | 34 { |
Hans-G?nter@23524 | 35 cp -a $install/usr $fs |
pankso@3379 | 36 } |