wok-next annotate python-html5lib/receipt @ rev 20885
Update python (2.7.15)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 13 13:52:56 2018 +0300 (2018-07-13) |
parents | c4e53a39395a |
children | c9a7a7b42a86 |
rev | line source |
---|---|
claudinei@3391 | 1 # SliTaz package receipt. |
claudinei@3391 | 2 |
claudinei@3391 | 3 PACKAGE="python-html5lib" |
claudinei@14890 | 4 VERSION="0.95" |
claudinei@3391 | 5 CATEGORY="development" |
claudinei@14890 | 6 SHORT_DESC="Standarts-compliant library for parsing HTML documents in Python." |
claudinei@3391 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
al@20885 | 9 WEB_SITE="https://github.com/html5lib/html5lib-python" |
al@20885 | 10 REPOLOGY="python:html5lib" |
al@20885 | 11 |
claudinei@14890 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@14890 | 13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@15379 | 14 |
claudinei@14890 | 15 DEPENDS="python python-six" |
al@20444 | 16 BUILD_DEPENDS="python-dev" |
claudinei@3391 | 17 |
claudinei@3391 | 18 # Rules to configure and make the package. |
claudinei@3391 | 19 compile_rules() |
claudinei@3391 | 20 { |
claudinei@14890 | 21 python setup.py install --root=$DESTDIR |
claudinei@3391 | 22 } |
claudinei@3391 | 23 |
claudinei@3391 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3391 | 25 genpkg_rules() |
claudinei@3391 | 26 { |
claudinei@14890 | 27 cp -a $install/usr $fs |
claudinei@3391 | 28 } |