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

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
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 }