wok-current annotate python-html5lib/receipt @ rev 25379
updated uget (2.2.1 -> 2.2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 15:37:46 2022 +0100 (2022-07-30) |
parents | ac8ca9758df1 |
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@24055 | 21 current_version() |
pascal@24055 | 22 { |
pascal@24299 | 23 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 24 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 25 } |
pascal@24055 | 26 |
claudinei@3391 | 27 # Rules to configure and make the package. |
claudinei@3391 | 28 compile_rules() |
claudinei@3391 | 29 { |
claudinei@14890 | 30 python setup.py install --root=$DESTDIR |
claudinei@3391 | 31 } |
claudinei@3391 | 32 |
claudinei@3391 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3391 | 34 genpkg_rules() |
claudinei@3391 | 35 { |
Hans-G?nter@23491 | 36 cp -a $install/usr $fs |
claudinei@3391 | 37 } |