wok annotate python-html2text/receipt @ rev 21582

Use python-setuptools as bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 19 19:45:04 2019 +0200 (2019-05-19)
parents 1bdd385c6df5
children 5ea0ce1cecc0
rev   line source
pankso@13566 1 # SliTaz package receipt.
pankso@13566 2
pankso@13566 3 PACKAGE="python-html2text"
pascal@20104 4 VERSION="2017.10.4"
pankso@13566 5 SOURCE="html2text"
pankso@13566 6 CATEGORY="network"
pascal@20105 7 SHORT_DESC="Convert HTML into clean, easy-to-read markdown-formatted text."
pankso@13566 8 MAINTAINER="pankso@slitaz.org"
pascal@14999 9 LICENSE="GPL3"
pankso@13566 10 TARBALL="${SOURCE}-${VERSION}.tar.gz"
pascal@20104 11 WEB_SITE="http://alir3z4.github.io/html2text"
pascal@20104 12 WGET_URL="https://github.com/Alir3z4/html2text/archive/$VERSION.tar.gz"
pankso@13566 13
pankso@13566 14 DEPENDS="python"
pascal@21582 15 BUILD_DEPENDS="python-dev python-distribute python-setuptools"
pankso@13566 16
pankso@13566 17 # Rules to configure and make the package.
pankso@13566 18 compile_rules()
pankso@13566 19 {
pankso@13566 20 python setup.py install --root="$DESTDIR" --optimize=1
pankso@13566 21 }
pankso@13566 22
pankso@13566 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13566 24 genpkg_rules()
pankso@13566 25 {
pascal@20104 26 mkdir -p $fs/usr $install/usr/share
pankso@13566 27 cp -a $install/usr/lib $fs/usr
pankso@13566 28 cp -a $install/usr/bin $fs/usr
pascal@20104 29 cp -a $src/docs $install/usr/share/doc
pascal@20104 30 cp -a $src/COP* $src/RE* $install/usr/share/doc
pankso@13566 31 }