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 4FD62139694 for ; Fri, 5 May 2017 21:47:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82DA6E0D76; Fri, 5 May 2017 21:47:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4DD59E0D76 for ; Fri, 5 May 2017 21:47:32 +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 428113416B9 for ; Fri, 5 May 2017 21:47:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE1D17439 for ; Fri, 5 May 2017 21:47:28 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1494020753.797e96637f9207fa40b5c3bff2bddda59b6dad2b.sping@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-2016.9.19.ebuild X-VCS-Directories: dev-python/html2text/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 797e96637f9207fa40b5c3bff2bddda59b6dad2b X-VCS-Branch: master Date: Fri, 5 May 2017 21:47:28 +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-Archives-Salt: 8a76d2cc-f2a3-4f3a-94df-08fea66f95f9 X-Archives-Hash: a22b555d2f47c77c1a7182aa09b316a0 commit: 797e96637f9207fa40b5c3bff2bddda59b6dad2b Author: Sebastian Pipping gentoo org> AuthorDate: Fri May 5 21:45:53 2017 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Fri May 5 21:45:53 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=797e9663 dev-python/html2text: 2016.9.19 Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-python/html2text/Manifest | 1 + dev-python/html2text/html2text-2016.9.19.ebuild | 35 +++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-python/html2text/Manifest b/dev-python/html2text/Manifest index 513c3a813f4..617f01e6395 100644 --- a/dev-python/html2text/Manifest +++ b/dev-python/html2text/Manifest @@ -1 +1,2 @@ DIST html2text-2016.5.29.tar.gz 46879 SHA256 7f59fb29083a7819063b227c24a8dd5e25aeef74b68bf2318a68cc1e3e653add SHA512 58b71fda6ea6fd1a71dec757c91cf342265a2c89ff5c45e752436068419fb6c1faa1ca0d5a6baafaaa60186a85aefdd840989177ce30e55bcda1c6209fc375be WHIRLPOOL 23f8625952dbd3543687976fa2595a0859d18376e716e83848aec29f7f704e40c71142c3d01bdcbdc8f8542b1e03a5ee695da40d4b6b9d436108a10b1ad57456 +DIST html2text-2016.9.19.tar.gz 48003 SHA256 21c0237fae4f640eef53343a2965f44bfd907f0e1b956cd1171fb3884541767a SHA512 bfa7d051e49bea592413bc6e335aad34f6b10d3e718170e709dd9d4bb55cc26b7da4c3f64f512022efe41df80a1157b542ab2ca897612b702f9285cef3b44f40 WHIRLPOOL 7b39ab2351d057aa82b63cef0bcce71bb8d2ac053a940b01e9dcfb6ff4909d5cfb79ee52ebd6cd6f2998785808e9a925107c1f9cc7b3d4a2ea5aacd180af2f8c diff --git a/dev-python/html2text/html2text-2016.9.19.ebuild b/dev-python/html2text/html2text-2016.9.19.ebuild new file mode 100644 index 00000000000..e28994c5a64 --- /dev/null +++ b/dev-python/html2text/html2text-2016.9.19.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Turn HTML into equivalent Markdown-structured text" +HOMEPAGE="https://github.com/html2text/html2text + https://github.com/Alir3z4/html2text https://pypi.python.org/pypi/html2text" +SRC_URI="https://github.com/Alir3z4/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="${CDEPEND} + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/feedparser[${PYTHON_USEDEP}]" +DEPEND="${CDEPEND}" + +DOCS=( AUTHORS.rst ChangeLog.rst README.md ) + +src_prepare() { + default + + # naming conflict with app-text/html2text, bug 421647 + sed -i 's/html2text=html2text.cli:main/py\0/' setup.py || die +} + +python_test() { + "${PYTHON}" test/test_html2text.py -v || die "tests failed with ${EPYTHON}" +}