wok-current annotate python-dateutil/receipt @ rev 23597
flam3, jpeg-dev, x11vnc: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 09 09:01:09 2020 +0000 (2020-04-09) |
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 |