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 8DE7513832E for ; Sun, 21 Aug 2016 06:45:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76A7AE0B10; Sun, 21 Aug 2016 06:45:41 +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 0C5B6E0B10 for ; Sun, 21 Aug 2016 06:45:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 616F633FD3F for ; Sun, 21 Aug 2016 06:45:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B1D8D2457 for ; Sun, 21 Aug 2016 06:45:37 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1471761864.b5f1bb04fef40e478bb8dd42b985fcb0c9bb848e.radhermit@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.5.29.ebuild X-VCS-Directories: dev-python/html2text/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: b5f1bb04fef40e478bb8dd42b985fcb0c9bb848e X-VCS-Branch: master Date: Sun, 21 Aug 2016 06:45:37 +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: 813a8a1d-addb-46ce-99bc-c41d3ce35ca8 X-Archives-Hash: c17af7a1bfed7d9721083d6bf765ff6c commit: b5f1bb04fef40e478bb8dd42b985fcb0c9bb848e Author: Tim Harder gentoo org> AuthorDate: Sun Aug 21 06:37:50 2016 +0000 Commit: Tim Harder gentoo org> CommitDate: Sun Aug 21 06:44:24 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5f1bb04 dev-python/html2text: version bump to 2016.5.29 dev-python/html2text/Manifest | 1 + dev-python/html2text/html2text-2016.5.29.ebuild | 36 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/html2text/Manifest b/dev-python/html2text/Manifest index 990fc0d..0dcfc6e 100644 --- a/dev-python/html2text/Manifest +++ b/dev-python/html2text/Manifest @@ -1 +1,2 @@ DIST html2text-2014.4.5.tar.gz 30177 SHA256 b6f37556650a32cd625c56f2db3fa2ca2d57a7ff0a4be7a3b9118dd911c8efd6 SHA512 740750f838f0370c6b05bb1538d3de99cfd074acc95923440b14818b934e49df1ad0864bfe1a4fcf0b8fd3c9c402a4b2edaeabe992aa0870acc7ce3b6cd3924a WHIRLPOOL 502c08327cbd98ac08e19ff42b633cb7f08204123aa4a8d15826c4137976367cd7e7073660aa61788301d1817ade02be93a014caeb2ca6c53311df5fcf8adc55 +DIST html2text-2016.5.29.tar.gz 46879 SHA256 7f59fb29083a7819063b227c24a8dd5e25aeef74b68bf2318a68cc1e3e653add SHA512 58b71fda6ea6fd1a71dec757c91cf342265a2c89ff5c45e752436068419fb6c1faa1ca0d5a6baafaaa60186a85aefdd840989177ce30e55bcda1c6209fc375be WHIRLPOOL 23f8625952dbd3543687976fa2595a0859d18376e716e83848aec29f7f704e40c71142c3d01bdcbdc8f8542b1e03a5ee695da40d4b6b9d436108a10b1ad57456 diff --git a/dev-python/html2text/html2text-2016.5.29.ebuild b/dev-python/html2text/html2text-2016.5.29.ebuild new file mode 100644 index 0000000..d4a7ee0 --- /dev/null +++ b/dev-python/html2text/html2text-2016.5.29.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} 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}" +}