python3-html2text: update to 2019.9.26.

Dropped python-html2text (Python2 was dropped upstream).
This commit is contained in:
Leah Neukirchen 2019-09-27 17:31:23 +02:00
parent 3ecc5f12c3
commit 459a476a8b
3 changed files with 16 additions and 30 deletions

View File

@ -1,29 +0,0 @@
# Template file for 'python-html2text'
pkgname=python-html2text
version=2019.8.11
revision=1
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="html2text"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="HTML to Markdown-formatted text converter (Python2)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-only"
homepage="https://github.com/Alir3z4/html2text/"
distfiles="${PYPI_SITE}/h/html2text/html2text-${version}.tar.gz"
checksum=f516b9c10284174e2a974d86f91cab02b3cf983a17752075da751af0e895ef5e
alternatives="html2text:html2text:/usr/bin/html2text2"
python3-html2text_package() {
archs=noarch
depends="python3"
pycompile_module="html2text"
short_desc="${short_desc/Python2/Python3}"
alternatives="html2text:html2text:/usr/bin/html2text3"
pkg_install() {
vmove usr/bin/html2text3
vmove usr/lib/python3*
}
}

View File

@ -1 +0,0 @@
python-html2text

View File

@ -0,0 +1,16 @@
# Template file for 'python3-html2text'
pkgname=python3-html2text
version=2019.9.26
revision=1
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
pycompile_module="html2text"
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="HTML to Markdown-formatted text converter"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-only"
homepage="https://github.com/Alir3z4/html2text/"
distfiles="${PYPI_SITE}/h/html2text/html2text-${version}.tar.gz"
checksum=6f56057c5c2993b5cc5b347cb099bdf6d095828fef1b53ef4e2a2bf2a1be9b4f