summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-01-17 06:18:48 +0100
committerMichał Górny <mgorny@gentoo.org>2020-01-17 06:52:18 +0100
commit77d8347916135e7c797b75fbc265ceb06bf82346 (patch)
treea02fb706af872974243aebddc56851a6cf384e45 /dev-python/html2text
parentdev-python/html2text: Remove redundant version (diff)
downloadgentoo-77d8347916135e7c797b75fbc265ceb06bf82346.tar.gz
gentoo-77d8347916135e7c797b75fbc265ceb06bf82346.tar.bz2
gentoo-77d8347916135e7c797b75fbc265ceb06bf82346.zip
dev-python/html2text: Bump to 2020.1.16
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/html2text')
-rw-r--r--dev-python/html2text/Manifest1
-rw-r--r--dev-python/html2text/html2text-2020.1.16.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/html2text/Manifest b/dev-python/html2text/Manifest
index e832f9d7c998..f543752a7c8b 100644
--- a/dev-python/html2text/Manifest
+++ b/dev-python/html2text/Manifest
@@ -1,2 +1,3 @@
DIST html2text-2018.1.9-1.tar.gz 51173 BLAKE2B a21cd3e579d47081e669fda3f3147fc28d816478885942565a1b93b86292e2729e93bfea6b5326703e575f209f5bd7dd905d72011b8153b8c40d31c83acf9057 SHA512 773b508864a2fa31e961e132118702429f5b7836e90bd521db2ed6b4215de49d63991a99b7ad7d5aac3074a3c14e4d384557a4eb5b43c7e2aada46d5434ed229
DIST html2text-2019.9.26.tar.gz 48634 BLAKE2B efece48c7b05171f9bae833663292d7804838b5a791f1f734b3a258843a71616ada2ebee7cee406e0bfa1a3dce67040d41621bd87be100a2c0d4ca6d75829aa9 SHA512 4c6a52e96d3997a6ebe41c2955e2f6bd5189f49aadd7d7afbe67b85a2f61a0aafd0fc09fef184cb9407b9ab26f120ef235294e4e9d8f41e3b6b8f6fc29aa386d
+DIST html2text-2020.1.16.tar.gz 49464 BLAKE2B f0331daa63b9e5d7508e0446e19b4dd4d05e5f7af0279efd71dc43b633f8273666189899a27cb598e8afdd5bd8ffb3d566b97327d82870ef44a81310d8e7e7c9 SHA512 14453c98e81d05afb3241b04a9e50caf63e4b6f857337b4bd9f53e6b8fa7146aa6a1f4f64777db9fa350316b19fe62a0033dce5748191ca9fbd17a8757002855
diff --git a/dev-python/html2text/html2text-2020.1.16.ebuild b/dev-python/html2text/html2text-2020.1.16.ebuild
new file mode 100644
index 000000000000..d0b10482441f
--- /dev/null
+++ b/dev-python/html2text/html2text-2020.1.16.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Turn HTML into equivalent Markdown-structured text"
+HOMEPAGE="https://github.com/Alir3z4/html2text https://pypi.org/project/html2text/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
+
+DOCS=( AUTHORS.rst ChangeLog.rst README.md )
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # naming conflict with app-text/html2text, bug 421647
+ sed -i 's/html2text = html2text.cli:main/py\0/' setup.py || die
+ distutils-r1_python_prepare_all
+}