wok-6.x annotate python-dateutil/receipt @ rev 22619
updated cssc (1.3.0 -> 1.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 12 11:14:55 2020 +0100 (2020-01-12) |
parents | fd4f1e692109 |
children | d7522d21c4d3 |
rev | line source |
---|---|
claudinei@3828 | 1 # SliTaz package receipt. |
claudinei@3828 | 2 |
claudinei@3828 | 3 PACKAGE="python-dateutil" |
pascal@11719 | 4 VERSION="1.5" |
claudinei@3828 | 5 CATEGORY="development" |
claudinei@3828 | 6 SHORT_DESC="Extensions to the standart python 2.3+ datetime module" |
claudinei@3828 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15378 | 8 LICENSE="PSL" |
claudinei@3828 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@3828 | 10 WEB_SITE="http://labix.org/python-dateutil" |
claudinei@3828 | 11 WGET_URL="http://labix.org/download/$PACKAGE/$TARBALL" |
claudinei@3828 | 12 |
pascal@15378 | 13 DEPENDS="python" |
pascal@21581 | 14 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@15378 | 15 |
claudinei@3828 | 16 # Rules to configure and make the package. |
claudinei@3828 | 17 compile_rules() |
claudinei@3828 | 18 { |
claudinei@3828 | 19 cd $src |
pascal@15378 | 20 python setup.py install --root=$DESTDIR |
claudinei@3828 | 21 } |
claudinei@3828 | 22 |
claudinei@3828 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3828 | 24 genpkg_rules() |
claudinei@3828 | 25 { |
pascal@15378 | 26 for file in `find $install | grep 'pyc$'`; do |
claudinei@3828 | 27 rm $file |
claudinei@3828 | 28 done |
claudinei@3828 | 29 mkdir -p $fs/usr |
pascal@15378 | 30 cp -a $install/usr/lib $fs/usr |
claudinei@3828 | 31 } |
claudinei@3828 | 32 |