wok annotate python-pbr/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 | eb4d3901b5c7 |
children | 076f424196b2 |
rev | line source |
---|---|
Hans-G?nter@23592 | 1 # SliTaz package receipt. |
Hans-G?nter@23592 | 2 |
Hans-G?nter@23592 | 3 PACKAGE="python-pbr" |
Hans-G?nter@23592 | 4 VERSION="5.4.5" |
Hans-G?nter@23592 | 5 CATEGORY="development" |
Hans-G?nter@23592 | 6 SHORT_DESC="Python Build Reasonableness." |
Hans-G?nter@23592 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@23592 | 8 LICENSE="Apache-2.0" |
Hans-G?nter@23592 | 9 WEB_SITE="https://pypi.org/project/pbr/" |
Hans-G?nter@23592 | 10 |
Hans-G?nter@23592 | 11 SOURCE="pbr" |
Hans-G?nter@23592 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23592 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
Hans-G?nter@23592 | 14 |
Hans-G?nter@23592 | 15 DEPENDS="python" |
Hans-G?nter@23592 | 16 BUILD_DEPENDS="python python-setuptools" |
Hans-G?nter@23592 | 17 |
pascal@24288 | 18 current_version() |
pascal@24288 | 19 { |
pascal@24288 | 20 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' |
pascal@24288 | 21 } |
pascal@24288 | 22 |
Hans-G?nter@23592 | 23 # Rules to configure and make the package. |
Hans-G?nter@23592 | 24 compile_rules() |
Hans-G?nter@23592 | 25 { |
Hans-G?nter@23592 | 26 python setup.py install --root=$DESTDIR |
Hans-G?nter@23592 | 27 } |
Hans-G?nter@23592 | 28 |
Hans-G?nter@23592 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@23592 | 30 genpkg_rules() |
Hans-G?nter@23592 | 31 { |
Hans-G?nter@23592 | 32 cp -a $install/usr $fs/usr |
Hans-G?nter@23592 | 33 } |