wok annotate python-unicodecsv/receipt @ rev 25805

created recipe for xfce4-weather-plugin
author Hans-G?nter Theisgen
date Wed Nov 13 15:24:31 2024 +0100 (4 days ago)
parents 5ea0ce1cecc0
children
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@24299 19 wget -O - ${WGET_URL%/arch*}/tags 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 }