wok-next view python-html5lib/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 9b3461bf373c
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="html5lib"
4 PACKAGE="python-html5lib"
5 VERSION="1.0.1"
6 CATEGORY="python"
7 SHORT_DESC="HTML parser based on the WHATWG HTML specification"
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:html5lib"
14 BUILD_DEPENDS="python python-webencodings python-six \
15 python3 python3-webencodings python3-six"
16 SPLIT="${PACKAGE/python/python3}:3"
18 compile_rules() {
19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
20 }
22 genpkg_rules() {
23 copy @std
24 py="${PACKAGE%%-*}" # python/python3
25 DEPENDS="$py $py-webencodings $py-six"
26 }