wok-6.x annotate python-unicodecsv/receipt @ rev 17912
Add python-unidecode & python-unicodecsv
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 08 15:29:10 2015 +0200 (2015-04-08) |
parents | |
children | a7ed5112618d |
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@17912 | 14 BUILD_DEPENDS="python wget" |
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 } |