wok-current view python-dateutil/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 636bb875224c
children 5d50a02468c7
line source
1 # SliTaz package receipt.
3 PACKAGE="python-dateutil"
4 VERSION="1.5"
5 CATEGORY="development"
6 SHORT_DESC="Extensions to the standart python 2.3+ datetime module"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="PSL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://labix.org/python-dateutil"
11 WGET_URL="http://labix.org/download/$PACKAGE/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python python-dev setuptools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 for file in `find $install | grep 'pyc$'`; do
27 rm $file
28 done
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }