wok-current annotate python-unicodecsv/receipt @ rev 21582
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:45:04 2019 +0200 (2019-05-19) |
parents | 7390f8de9846 |
children | a0fac07e41cd |
rev | line source |
---|---|
pascal@17912 | 1 # SliTaz package receipt. |
pascal@17912 | 2 |
pascal@17912 | 3 PACKAGE="python-unicodecsv" |
pascal@17912 | 4 VERSION="0.9.4" |
pascal@17912 | 5 CATEGORY="development" |
pascal@17912 | 6 SHORT_DESC="A drop-in replacement of csv module which *does* support unicode." |
pascal@17912 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17912 | 8 LICENSE="MIT" |
pascal@17912 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17912 | 10 WEB_SITE="https://github.com/jdunck/python-unicodecsv" |
pascal@17912 | 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@17912 | 12 |
pascal@17912 | 13 DEPENDS="python" |
pascal@21582 | 14 BUILD_DEPENDS="python wget python-setuptools" |
pascal@17912 | 15 |
pascal@17912 | 16 # Rules to configure and make the package. |
pascal@17912 | 17 compile_rules() |
pascal@17912 | 18 { |
pascal@17912 | 19 python setup.py install --root=$DESTDIR |
pascal@17912 | 20 } |
pascal@17912 | 21 |
pascal@17912 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17912 | 23 genpkg_rules() |
pascal@17912 | 24 { |
pascal@17912 | 25 cp -a $install/usr $fs |
pascal@17912 | 26 } |
al@18086 | 27 |