wok annotate python-routes/receipt @ rev 24288
fail2ban: add log4j-jndi.conf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 13 18:29:05 2022 +0000 (2022-01-13) |
parents | 2ae2b1834080 |
children | 076f424196b2 |
rev | line source |
---|---|
taziden@3777 | 1 # SliTaz package receipt. |
taziden@3777 | 2 |
taziden@3777 | 3 PACKAGE="python-routes" |
Hans-G?nter@23556 | 4 VERSION="2.4.1" |
taziden@3777 | 5 CATEGORY="development" |
Hans-G?nter@23556 | 6 TAGS="python" |
Hans-G?nter@23556 | 7 SHORT_DESC="Routing Recognition and Generation Tools." |
taziden@3777 | 8 MAINTAINER="taziden@slitaz.org" |
pascal@15376 | 9 LICENSE="BSD" |
Hans-G?nter@23556 | 10 WEB_SITE="https://pypi.org/project/Routes" |
Hans-G?nter@23556 | 11 |
taziden@3777 | 12 SOURCE="Routes" |
taziden@3777 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23556 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
taziden@3777 | 15 |
pascal@15376 | 16 DEPENDS="python" |
pascal@21582 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@15376 | 18 |
Hans-G?nter@23556 | 19 HOST_ARCH="i486 arm" |
Hans-G?nter@23556 | 20 |
pascal@24288 | 21 current_version() |
pascal@24288 | 22 { |
pascal@24288 | 23 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' |
pascal@24288 | 24 } |
pascal@24288 | 25 |
pascal@24288 | 26 # Rules to configure and make the package. |
taziden@3777 | 27 # Rules to configure and make the package. |
taziden@3777 | 28 compile_rules() |
taziden@3777 | 29 { |
pascal@15376 | 30 python setup.py install --root=$DESTDIR |
taziden@3777 | 31 } |
taziden@3777 | 32 |
taziden@3777 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@3777 | 34 genpkg_rules() |
taziden@3777 | 35 { |
Hans-G?nter@23556 | 36 cp -a $install/usr $fs |
taziden@3777 | 37 } |