wok-current annotate python-html5lib/receipt @ rev 24299
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 15 15:21:40 2022 +0000 (2022-01-15) |
parents | 5ea0ce1cecc0 |
children | 4a5922739788 |
rev | line source |
---|---|
claudinei@3391 | 1 # SliTaz package receipt. |
claudinei@3391 | 2 |
claudinei@3391 | 3 PACKAGE="python-html5lib" |
Hans-G?nter@23491 | 4 VERSION="1.0.1" |
claudinei@3391 | 5 CATEGORY="development" |
Hans-G?nter@23491 | 6 SHORT_DESC="Standards-compliant library for parsing HTML documents in Python." |
claudinei@3391 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
Hans-G?nter@23491 | 9 WEB_SITE="https://github.com/html5lib/html5lib-python" |
Hans-G?nter@23491 | 10 |
claudinei@14890 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@14890 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@15379 | 13 |
claudinei@14890 | 14 DEPENDS="python python-six" |
Hans-G?nter@23491 | 15 BUILD_DEPENDS="python-dev python-setuptools" |
Hans-G?nter@23491 | 16 |
Hans-G?nter@23491 | 17 HOST_ARCH="i486 arm" |
claudinei@3391 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24299 | 21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
claudinei@3391 | 25 # Rules to configure and make the package. |
claudinei@3391 | 26 compile_rules() |
claudinei@3391 | 27 { |
claudinei@14890 | 28 python setup.py install --root=$DESTDIR |
claudinei@3391 | 29 } |
claudinei@3391 | 30 |
claudinei@3391 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3391 | 32 genpkg_rules() |
claudinei@3391 | 33 { |
Hans-G?nter@23491 | 34 cp -a $install/usr $fs |
claudinei@3391 | 35 } |