wok-next annotate python-phonenumbers/receipt @ rev 20969
Micro-updates + { new clang + assaultcube (still broken)} + {new python modules from SliTaz Cooking + their depends}
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 14 01:56:52 2018 +0300 (2018-09-14) |
parents | 9b3461bf373c |
children | c9a7a7b42a86 |
rev | line source |
---|---|
pascal@14438 | 1 # SliTaz package receipt. |
pascal@14438 | 2 |
pascal@14438 | 3 PACKAGE="python-phonenumbers" |
pascal@14438 | 4 VERSION="5.4b1" |
pascal@14438 | 5 CATEGORY="development" |
pascal@14438 | 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" |
pascal@14438 | 9 WEB_SITE="https://github.com/daviddrysdale/python-phonenumbers" |
al@20969 | 10 #https://pypi.org/project/phonenumbers/ |
al@20885 | 11 REPOLOGY="python:phonenumbers" |
al@20885 | 12 |
al@20885 | 13 SOURCE="phonenumbers" |
al@20885 | 14 TARBALL="$SOURCE-$VERSION.tar.gz" |
al@20969 | 15 WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL" |
pascal@14438 | 16 |
pascal@14438 | 17 DEPENDS="python" |
pascal@14438 | 18 BUILD_DEPENDS="python-dev python" |
pascal@14438 | 19 |
pascal@14438 | 20 # Rules to configure and make the package. |
pascal@14438 | 21 compile_rules() |
pascal@14438 | 22 { |
pascal@14438 | 23 python setup.py build && |
pascal@14438 | 24 python setup.py install --root=$DESTDIR |
pascal@14438 | 25 } |
pascal@14438 | 26 |
pascal@14438 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14438 | 28 genpkg_rules() |
pascal@14438 | 29 { |
pascal@14438 | 30 mkdir -p $fs |
pascal@14438 | 31 cp -a $install/usr $fs |
pascal@14438 | 32 } |