wok-current view python-phonenumbers/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents 5ae3fce96604
children 7390f8de9846
line source
1 # SliTaz package receipt.
3 PACKAGE="python-phonenumbers"
4 SOURCE="phonenumbers"
5 VERSION="5.4b1"
6 CATEGORY="development"
7 SHORT_DESC="common library for parsing, formatting, storing and validating international phone numbers."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="Apache"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://github.com/daviddrysdale/python-phonenumbers"
12 #https://pypi.python.org/pypi/phonenumbers
13 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python-dev python"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 python setup.py build &&
23 python setup.py install --root=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs
30 cp -a $install/usr $fs
31 }