wok-current annotate python-phonenumbers/receipt @ rev 24103
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 17 14:12:38 2021 +0000 (2021-09-17) |
parents | 7390f8de9846 |
children | 1df6fa555414 |
rev | line source |
---|---|
pascal@14438 | 1 # SliTaz package receipt. |
pascal@14438 | 2 |
pascal@14438 | 3 PACKAGE="python-phonenumbers" |
Hans-G?nter@23526 | 4 VERSION="8.12.1" |
pascal@14438 | 5 CATEGORY="development" |
Hans-G?nter@23526 | 6 SHORT_DESC="Common library for parsing, formatting, storing and validating international phone numbers." |
pascal@14438 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="Apache" |
Hans-G?nter@23526 | 9 WEB_SITE="https://pypi.org/project/phonenumbers/" |
Hans-G?nter@23526 | 10 |
Hans-G?nter@23526 | 11 SOURCE="phonenumbers" |
pascal@14438 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23526 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@14438 | 14 |
pascal@14438 | 15 DEPENDS="python" |
Hans-G?nter@23526 | 16 BUILD_DEPENDS="python python-dev" |
pascal@14438 | 17 |
pascal@14438 | 18 # Rules to configure and make the package. |
pascal@14438 | 19 compile_rules() |
pascal@14438 | 20 { |
pascal@14438 | 21 python setup.py build && |
pascal@14438 | 22 python setup.py install --root=$DESTDIR |
pascal@14438 | 23 } |
pascal@14438 | 24 |
pascal@14438 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14438 | 26 genpkg_rules() |
pascal@14438 | 27 { |
Hans-G?nter@23526 | 28 cp -a $install/usr $fs |
pascal@14438 | 29 } |