wok-current annotate python-unicodecsv/receipt @ rev 24272
updated perltidy (20200110 -> 20211029)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:48:51 2022 +0100 (2022-01-02) |
parents | a0fac07e41cd |
children | ac8ca9758df1 |
rev | line source |
---|---|
pascal@17912 | 1 # SliTaz package receipt. |
pascal@17912 | 2 |
pascal@17912 | 3 PACKAGE="python-unicodecsv" |
Hans-G?nter@23571 | 4 VERSION="0.14.1" |
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" |
Hans-G?nter@23571 | 9 WEB_SITE="https://github.com/jdunck/python-unicodecsv" |
Hans-G?nter@23571 | 10 |
pascal@17912 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17912 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@17912 | 13 |
pascal@17912 | 14 DEPENDS="python" |
Hans-G?nter@23571 | 15 BUILD_DEPENDS="python python-setuptools" |
pascal@17912 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@17912 | 23 # Rules to configure and make the package. |
pascal@17912 | 24 compile_rules() |
pascal@17912 | 25 { |
pascal@17912 | 26 python setup.py install --root=$DESTDIR |
pascal@17912 | 27 } |
pascal@17912 | 28 |
pascal@17912 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17912 | 30 genpkg_rules() |
pascal@17912 | 31 { |
Hans-G?nter@23571 | 32 cp -a $install/usr $fs |
pascal@17912 | 33 } |