From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 71030138335 for ; Sun, 3 Nov 2019 20:49:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6309E0A10; Sun, 3 Nov 2019 20:49:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8C111E0A10 for ; Sun, 3 Nov 2019 20:49:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 421FF34C7CF for ; Sun, 3 Nov 2019 20:49:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EC68D89D for ; Sun, 3 Nov 2019 20:49:20 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1572814119.011e8d3137d03208b4d1c12f6f9becb5a55173eb.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/html2text/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/html2text/Manifest dev-python/html2text/html2text-2019.9.26.ebuild X-VCS-Directories: dev-python/html2text/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 011e8d3137d03208b4d1c12f6f9becb5a55173eb X-VCS-Branch: master Date: Sun, 3 Nov 2019 20:49:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b0d44902-25cf-4be2-8422-ad55cf4251f1 X-Archives-Hash: 506254cb4d330955c2bf18d1ce78c837 commit: 011e8d3137d03208b4d1c12f6f9becb5a55173eb Author: Louis Sautier gentoo org> AuthorDate: Sun Nov 3 20:36:31 2019 +0000 Commit: Louis Sautier gentoo 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 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}" +}