wok annotate python-gdata/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 | 4e935223c917 |
children | 076f424196b2 |
rev | line source |
---|---|
pascal@11727 | 1 # SliTaz package receipt. |
pascal@11727 | 2 |
pascal@11727 | 3 PACKAGE="python-gdata" |
Hans-G?nter@23488 | 4 VERSION="2.0.18" |
pascal@11727 | 5 CATEGORY="development" |
pascal@11727 | 6 SHORT_DESC="The Google Data APIs for Python." |
pascal@11727 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="Apache" |
Hans-G?nter@23488 | 9 WEB_SITE="https://pypi.org/project/$SOURCE/" |
Hans-G?nter@23488 | 10 |
Hans-G?nter@23488 | 11 SOURCE="gdata" |
pascal@11727 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23488 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/g/$SOURCE/$TARBALL" |
pascal@11727 | 14 |
pascal@11727 | 15 DEPENDS="python" |
Hans-G?nter@23488 | 16 BUILD_DEPENDS="python python-setuptools" |
pascal@11727 | 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 |
pascal@11727 | 23 # Rules to configure and make the package. |
pascal@11727 | 24 compile_rules() |
pascal@11727 | 25 { |
pascal@11727 | 26 python setup.py build && |
pascal@11727 | 27 python setup.py install --root=$DESTDIR |
pascal@11727 | 28 } |
pascal@11727 | 29 |
pascal@11727 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11727 | 31 genpkg_rules() |
pascal@11727 | 32 { |
Hans-G?nter@23488 | 33 cp -a $install/usr $fs |
pascal@11727 | 34 } |