wok-6.x view python-dateutil/receipt @ rev 21533

backported Bobylev's receipt for consolekit2 from next to cooking
author Hans-G?nter Theisgen
date Sun May 05 11:02:08 2019 +0100 (2019-05-05)
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 }