diff --git a/srcpkgs/python-html2text/template b/srcpkgs/python-html2text/template deleted file mode 100644 index bcba0f69e49..00000000000 --- a/srcpkgs/python-html2text/template +++ /dev/null @@ -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 " -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* - } -} diff --git a/srcpkgs/python3-html2text b/srcpkgs/python3-html2text deleted file mode 120000 index 9176db1c683..00000000000 --- a/srcpkgs/python3-html2text +++ /dev/null @@ -1 +0,0 @@ -python-html2text \ No newline at end of file diff --git a/srcpkgs/python3-html2text/template b/srcpkgs/python3-html2text/template new file mode 100644 index 00000000000..006f2a127ad --- /dev/null +++ b/srcpkgs/python3-html2text/template @@ -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 " +license="GPL-3.0-only" +homepage="https://github.com/Alir3z4/html2text/" +distfiles="${PYPI_SITE}/h/html2text/html2text-${version}.tar.gz" +checksum=6f56057c5c2993b5cc5b347cb099bdf6d095828fef1b53ef4e2a2bf2a1be9b4f