wok-current annotate python-html2text/receipt @ rev 25786
Bump gvfs to fix issue with open files on android device, patch udev to fix mtp issue on pcmanfm
| author | Stanislas Leduc <shann@slitaz.org> |
|---|---|
| date | Tue Jul 29 18:05:13 2025 +0000 (2 months ago) |
| parents | 5ea0ce1cecc0 |
| children |
| rev | line source |
|---|---|
| pankso@13566 | 1 # SliTaz package receipt. |
| pankso@13566 | 2 |
| pankso@13566 | 3 PACKAGE="python-html2text" |
| Hans-Günter@25194 | 4 VERSION="2019.8.11" |
| pankso@13566 | 5 CATEGORY="network" |
| pascal@20105 | 6 SHORT_DESC="Convert HTML into clean, easy-to-read markdown-formatted text." |
| pankso@13566 | 7 MAINTAINER="pankso@slitaz.org" |
| pascal@14999 | 8 LICENSE="GPL3" |
| Hans-Günter@25194 | 9 WEB_SITE="https://pypi.org/project/html2text/" |
| Hans-Günter@25194 | 10 REPOLOGY="python:html2text" |
| Hans-Günter@25194 | 11 |
| Hans-Günter@25194 | 12 SOURCE="html2text" |
| Hans-Günter@25194 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
| Hans-Günter@25194 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
| pankso@13566 | 15 |
| pankso@13566 | 16 DEPENDS="python" |
| pascal@21582 | 17 BUILD_DEPENDS="python-dev python-distribute python-setuptools" |
| pankso@13566 | 18 |
| pascal@24055 | 19 current_version() |
| pascal@24055 | 20 { |
| pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
| pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
| pascal@24055 | 23 } |
| pascal@24055 | 24 |
| pankso@13566 | 25 # Rules to configure and make the package. |
| pankso@13566 | 26 compile_rules() |
| pankso@13566 | 27 { |
| pankso@13566 | 28 python setup.py install --root="$DESTDIR" --optimize=1 |
| pankso@13566 | 29 } |
| pankso@13566 | 30 |
| pankso@13566 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
| pankso@13566 | 32 genpkg_rules() |
| pankso@13566 | 33 { |
| Hans-Günter@25194 | 34 mkdir -p $fs/usr |
| Hans-Günter@25194 | 35 mkdir -p $install/usr/share |
| Hans-Günter@25194 | 36 |
| Hans-Günter@25194 | 37 cp -a $install/usr/lib $fs/usr |
| Hans-Günter@25194 | 38 cp -a $install/usr/bin $fs/usr |
| Hans-Günter@25194 | 39 # 2019.8.11 not available |
| Hans-Günter@25194 | 40 # cp -a $src/docs $install/usr/share/doc |
| Hans-Günter@25194 | 41 cp -a $src/COP* $install/usr/share/doc |
| Hans-Günter@25194 | 42 cp -a $src/RE* $install/usr/share/doc |
| pankso@13566 | 43 } |