wok annotate python-twodict/receipt @ rev 24347
Up expat (2.4.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 02 09:41:22 2022 +0000 (2022-02-02) |
parents | 64cea38a74bf |
children | 076f424196b2 |
rev | line source |
---|---|
Hans-G?nter@23570 | 1 # SliTaz package receipt. |
Hans-G?nter@23570 | 2 |
Hans-G?nter@23570 | 3 PACKAGE="python-twodict" |
Hans-G?nter@23570 | 4 VERSION="1.2" |
Hans-G?nter@23570 | 5 CATEGORY="development" |
Hans-G?nter@23570 | 6 TAGS="python" |
Hans-G?nter@23570 | 7 SHORT_DESC="Simple two way ordered dictionary for Python." |
Hans-G?nter@23570 | 8 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@23570 | 9 LICENSE="Public Domain" |
Hans-G?nter@23570 | 10 WEB_SITE="https://pypi.org/project/twodict" |
Hans-G?nter@23570 | 11 |
Hans-G?nter@23570 | 12 SOURCE="twodict" |
Hans-G?nter@23570 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23570 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/t/$SOURCE/$TARBALL" |
Hans-G?nter@23570 | 15 |
Hans-G?nter@23570 | 16 DEPENDS="python" |
Hans-G?nter@23570 | 17 BUILD_DEPENDS="python" |
Hans-G?nter@23570 | 18 |
pascal@24288 | 19 current_version() |
pascal@24288 | 20 { |
pascal@24288 | 21 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' |
pascal@24288 | 22 } |
pascal@24288 | 23 |
Hans-G?nter@23570 | 24 # Rules to configure and make the package. |
Hans-G?nter@23570 | 25 compile_rules() |
Hans-G?nter@23570 | 26 { |
Hans-G?nter@23570 | 27 python setup.py install --root=$DESTDIR |
Hans-G?nter@23570 | 28 } |
Hans-G?nter@23570 | 29 |
Hans-G?nter@23570 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@23570 | 31 genpkg_rules() |
Hans-G?nter@23570 | 32 { |
Hans-G?nter@23570 | 33 cp -a $install/usr $fs |
Hans-G?nter@23570 | 34 } |