wok view python-html5lib/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents ac8ca9758df1
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="python-html5lib"
4 VERSION="1.1"
5 CATEGORY="development"
6 SHORT_DESC="Standards-compliant library for parsing HTML documents in Python."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.org/project/html5lib/"
11 SOURCE="html5lib"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 REPOLOGY="python:html5lib"
16 DEPENDS="python python-six"
17 BUILD_DEPENDS="python-dev python-setuptools wget"
19 HOST_ARCH="i486 arm"
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 python setup.py install --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 }