public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/html2text/
Date: Sun,  3 Nov 2019 20:49:20 +0000 (UTC)	[thread overview]
Message-ID: <1572814119.011e8d3137d03208b4d1c12f6f9becb5a55173eb.sbraz@gentoo> (raw)

commit:     011e8d3137d03208b4d1c12f6f9becb5a55173eb
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  3 20:36:31 2019 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Sun Nov  3 20:48:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=011e8d31

dev-python/html2text: bump to 2019.9.26, support Python 3.7

* Python 2 is no longer supported.
* chardet and feedparser are no longer required.
* pytest is now required to run tests.
* fetch source from PyPI instead of GitHub.

Closes: https://bugs.gentoo.org/694524
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 dev-python/html2text/Manifest                   |  1 +
 dev-python/html2text/html2text-2019.9.26.ebuild | 35 +++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/dev-python/html2text/Manifest b/dev-python/html2text/Manifest
index 71e2e3a3259..36125da4c2a 100644
--- a/dev-python/html2text/Manifest
+++ b/dev-python/html2text/Manifest
@@ -1,3 +1,4 @@
 DIST html2text-2016.5.29.tar.gz 46879 BLAKE2B 0e7ccae7ae4d90fb202d9fdb8edd81f74b204f81c2410f345eb923fe610f61fab6ba71bcc95138fb3706ee51007a2c72c76497cee48818032934e7f809fd46ae SHA512 58b71fda6ea6fd1a71dec757c91cf342265a2c89ff5c45e752436068419fb6c1faa1ca0d5a6baafaaa60186a85aefdd840989177ce30e55bcda1c6209fc375be
 DIST html2text-2017.10.4.tar.gz 50527 BLAKE2B 96b7060761a629cf4313104323517c4a9070aabfa02be43e80c89b56b92329785817abc7ab9fef4a8537cbde4a797926d3c1d444c11f3db6112074a31d8a8e61 SHA512 c7f9b765572b5eac72837aa757f0be07df0270b49f9b3a3ec8c3c65ff929505166b0510c106116ffdca484b56120b6c162f86b600d88a5a35e86d06cd6b6fa19
 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

diff --git a/dev-python/html2text/html2text-2019.9.26.ebuild b/dev-python/html2text/html2text-2019.9.26.ebuild
new file mode 100644
index 00000000000..d79e5a231b4
--- /dev/null
+++ b/dev-python/html2text/html2text-2019.9.26.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( pypy3 python3_{5,6,7} )
+
+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 ~ppc ~sparc ~x86"
+IUSE="test"
+
+# pkg_resources is used for entry points
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+
+DOCS=( AUTHORS.rst ChangeLog.rst README.md )
+
+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
+}
+
+python_test() {
+	pytest -vv || die "tests failed with ${EPYTHON}"
+}


             reply	other threads:[~2019-11-03 20:49 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-03 20:49 Louis Sautier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-17 18:24 [gentoo-commits] repo/gentoo:master commit in: dev-python/html2text/ Michał Górny
2024-03-13 15:13 Michał Górny
2024-03-13 15:05 Arthur Zamarin
2024-02-28  4:03 Michał Górny
2024-02-26  4:35 Michał Górny
2023-12-08 20:23 Arthur Zamarin
2023-05-26 20:46 Arthur Zamarin
2023-03-16  3:50 Michał Górny
2022-09-22  2:24 Georgy Yakovlev
2022-08-18  9:48 Michał Górny
2022-08-18  7:01 Agostino Sarubbo
2022-08-18  6:18 Michał Górny
2022-08-17 21:13 Sam James
2022-07-15 11:34 Arthur Zamarin
2022-07-15 11:33 Arthur Zamarin
2021-05-18  9:32 Michał Górny
2020-12-06  0:31 Zac Medico
2020-05-04 11:07 Michał Górny
2020-05-03 19:02 Agostino Sarubbo
2020-03-30 12:29 Mikle Kolyada
2020-03-04 13:03 Agostino Sarubbo
2020-03-04  8:34 Agostino Sarubbo
2020-03-03 19:12 Sebastian Pipping
2020-02-11 13:59 Agostino Sarubbo
2020-02-08 13:41 Mikle Kolyada
2020-01-17  7:23 Michał Górny
2020-01-17  5:52 Michał Górny
2020-01-17  5:52 Michał Górny
2020-01-17  5:52 Michał Górny
2019-11-11  1:00 Zac Medico
2019-11-11  0:27 Zac Medico
2019-11-04  8:35 Michał Górny
2019-11-03 20:49 Louis Sautier
2019-11-03 20:49 Louis Sautier
2018-07-21  0:06 Mikle Kolyada
2018-06-24  9:40 Mikle Kolyada
2018-01-10 16:50 Sebastian Pipping
2018-01-09 22:53 Sebastian Pipping
2018-01-07 22:07 Sergei Trofimovich
2018-01-04 20:35 Michał Górny
2017-10-08 16:24 Tim Harder
2017-08-09 20:52 Sergei Trofimovich
2017-05-05 21:47 Sebastian Pipping
2017-01-18 11:29 Agostino Sarubbo
2016-08-21  6:45 Tim Harder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1572814119.011e8d3137d03208b4d1c12f6f9becb5a55173eb.sbraz@gentoo \
    --to=sbraz@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox