wok annotate python-vatnumber/receipt @ rev 24118
Add checker_online
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 04 14:07:53 2021 +0000 (2021-10-04) |
parents | 814362194a8d |
children | 1df6fa555414 |
rev | line source |
---|---|
pascal@11727 | 1 # SliTaz package receipt. |
pascal@11727 | 2 |
pascal@11727 | 3 PACKAGE="python-vatnumber" |
Hans-G?nter@23575 | 4 VERSION="1.2" |
pascal@11727 | 5 CATEGORY="development" |
pascal@11727 | 6 SHORT_DESC="Validate VAT numbers for Python." |
pascal@11727 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15376 | 8 LICENSE="GPL3" |
Hans-G?nter@23575 | 9 WEB_SITE="https://pypi.org/project/vatnumber/" |
Hans-G?nter@23575 | 10 |
Hans-G?nter@23575 | 11 SOURCE="vatnumber" |
pascal@11727 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23575 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@11727 | 14 |
pascal@11727 | 15 DEPENDS="python" |
Hans-G?nter@23575 | 16 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@11727 | 17 |
pascal@11727 | 18 # Rules to configure and make the package. |
pascal@11727 | 19 compile_rules() |
pascal@11727 | 20 { |
pascal@11727 | 21 python setup.py build && |
pascal@11727 | 22 python setup.py install --root=$DESTDIR |
pascal@11727 | 23 } |
pascal@11727 | 24 |
pascal@11727 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11727 | 26 genpkg_rules() |
pascal@11727 | 27 { |
Hans-G?nter@23575 | 28 cp -a $install/usr $fs |
pascal@11727 | 29 } |