wok-6.x annotate python-phonenumbers/receipt @ rev 25565
Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue May 09 17:24:00 2023 +0000 (19 months ago) |
parents | 076f424196b2 |
children |
rev | line source |
---|---|
pascal@14438 | 1 # SliTaz package receipt. |
pascal@14438 | 2 |
pascal@14438 | 3 PACKAGE="python-phonenumbers" |
Hans-G?nter@25218 | 4 VERSION="8.12.40" |
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@25218 | 10 REPOLOGY="python:phonenumbers" |
Hans-G?nter@23526 | 11 |
Hans-G?nter@23526 | 12 SOURCE="phonenumbers" |
pascal@14438 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23526 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@14438 | 15 |
pascal@14438 | 16 DEPENDS="python" |
Hans-G?nter@23526 | 17 BUILD_DEPENDS="python python-dev" |
pascal@14438 | 18 |
pascal@24383 | 19 # What is the latest version available today? |
pascal@24288 | 20 current_version() |
pascal@24288 | 21 { |
pascal@24383 | 22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 23 } |
pascal@24288 | 24 |
pascal@14438 | 25 # Rules to configure and make the package. |
pascal@14438 | 26 compile_rules() |
pascal@14438 | 27 { |
pascal@14438 | 28 python setup.py build && |
pascal@14438 | 29 python setup.py install --root=$DESTDIR |
pascal@14438 | 30 } |
pascal@14438 | 31 |
pascal@14438 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14438 | 33 genpkg_rules() |
pascal@14438 | 34 { |
Hans-G?nter@23526 | 35 cp -a $install/usr $fs |
pascal@14438 | 36 } |