wok-6.x view python-babel/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 fd4f1e692109
children 5d50a02468c7
line source
1 PACKAGE="python-babel"
2 VERSION="0.9.6"
3 CATEGORY="development"
4 SHORT_DESC="A collection of tools for internationalizing Python applications."
5 MAINTAINER="pascal.bellard@slitaz.org"
6 LICENSE="BSD"
7 SOURCE="Babel"
8 TARBALL="$SOURCE-$VERSION.tar.gz"
9 WEB_SITE="http://babel.edgewall.org/"
10 WGET_URL="http://ftp.edgewall.com/pub/babel/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="python python-dev setuptools"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 python setup.py build &&
19 python setup.py install --root=$DESTDIR
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs
26 cp -a $install/usr $fs
27 }