wok rev 25194
updated python-html2text (2017.10.4 -> 2019.8.11)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 10:52:13 2022 +0100 (2022-07-13) |
parents | 2a6c6a7b43a0 |
children | 4a5922739788 |
files | python-html2text/description.txt python-html2text/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-html2text/description.txt Wed Jul 13 10:52:13 2022 +0100 1.3 @@ -0,0 +1,3 @@ 1.4 +Html2text is a Python script that converts a page of HTML into clean, 1.5 +easy-to-read plain ASCII text. 1.6 +Better yet, that ASCII also happens to be valid Markdown (a text-to-HTML format).
2.1 --- a/python-html2text/receipt Wed Jul 13 10:42:47 2022 +0100 2.2 +++ b/python-html2text/receipt Wed Jul 13 10:52:13 2022 +0100 2.3 @@ -1,15 +1,17 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="python-html2text" 2.7 -VERSION="2017.10.4" 2.8 -SOURCE="html2text" 2.9 +VERSION="2019.8.11" 2.10 CATEGORY="network" 2.11 SHORT_DESC="Convert HTML into clean, easy-to-read markdown-formatted text." 2.12 MAINTAINER="pankso@slitaz.org" 2.13 LICENSE="GPL3" 2.14 -TARBALL="${SOURCE}-${VERSION}.tar.gz" 2.15 -WEB_SITE="http://alir3z4.github.io/html2text" 2.16 -WGET_URL="https://github.com/Alir3z4/html2text/archive/$VERSION.tar.gz" 2.17 +WEB_SITE="https://pypi.org/project/html2text/" 2.18 +REPOLOGY="python:html2text" 2.19 + 2.20 +SOURCE="html2text" 2.21 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.22 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 2.23 2.24 DEPENDS="python" 2.25 BUILD_DEPENDS="python-dev python-distribute python-setuptools" 2.26 @@ -29,9 +31,13 @@ 2.27 # Rules to gen a SliTaz package suitable for Tazpkg. 2.28 genpkg_rules() 2.29 { 2.30 - mkdir -p $fs/usr $install/usr/share 2.31 - cp -a $install/usr/lib $fs/usr 2.32 - cp -a $install/usr/bin $fs/usr 2.33 - cp -a $src/docs $install/usr/share/doc 2.34 - cp -a $src/COP* $src/RE* $install/usr/share/doc 2.35 + mkdir -p $fs/usr 2.36 + mkdir -p $install/usr/share 2.37 + 2.38 + cp -a $install/usr/lib $fs/usr 2.39 + cp -a $install/usr/bin $fs/usr 2.40 + # 2019.8.11 not available 2.41 +# cp -a $src/docs $install/usr/share/doc 2.42 + cp -a $src/COP* $install/usr/share/doc 2.43 + cp -a $src/RE* $install/usr/share/doc 2.44 }