wok annotate python-html5lib/receipt @ rev 25858
Update some urls
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 23 14:52:03 2025 +0000 (10 days ago) |
parents | 4a5922739788 |
children |
rev | line source |
---|---|
claudinei@3391 | 1 # SliTaz package receipt. |
claudinei@3391 | 2 |
claudinei@3391 | 3 PACKAGE="python-html5lib" |
Hans-Günter@25195 | 4 VERSION="1.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@25195 | 9 WEB_SITE="https://pypi.org/project/html5lib/" |
Hans-Günter@23491 | 10 |
Hans-Günter@25195 | 11 SOURCE="html5lib" |
Hans-Günter@25195 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-Günter@25195 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
Hans-Günter@25195 | 14 REPOLOGY="python:html5lib" |
pascal@15379 | 15 |
claudinei@14890 | 16 DEPENDS="python python-six" |
Hans-Günter@25195 | 17 BUILD_DEPENDS="python-dev python-setuptools wget" |
Hans-Günter@23491 | 18 |
Hans-Günter@23491 | 19 HOST_ARCH="i486 arm" |
claudinei@3391 | 20 |
pascal@25601 | 21 # What is the latest version available today? |
pascal@24055 | 22 current_version() |
pascal@24055 | 23 { |
pascal@25601 | 24 wget -O - https://github.com/html5lib/html5lib-python/tags 2>/dev/null | \ |
pascal@25601 | 25 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 26 } |
pascal@24055 | 27 |
claudinei@3391 | 28 # Rules to configure and make the package. |
claudinei@3391 | 29 compile_rules() |
claudinei@3391 | 30 { |
claudinei@14890 | 31 python setup.py install --root=$DESTDIR |
claudinei@3391 | 32 } |
claudinei@3391 | 33 |
claudinei@3391 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3391 | 35 genpkg_rules() |
claudinei@3391 | 36 { |
Hans-Günter@23491 | 37 cp -a $install/usr $fs |
claudinei@3391 | 38 } |