wok-next view python-dateutil/receipt @ rev 20885

Update python (2.7.15)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 13 13:52:56 2018 +0300 (2018-07-13)
parents 6c73b944e8dd
children c9a7a7b42a86
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 WEB_SITE="http://labix.org/python-dateutil"
10 REPOLOGY="python:dateutil"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://labix.org/download/$PACKAGE/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 for file in `find $install | grep 'pyc$'`; do
29 rm $file
30 done
31 mkdir -p $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 }