mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 10:18:08 -07:00
dev-python/html2text: Clean old up
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST html2text-2016.5.29.tar.gz 46879 BLAKE2B 0e7ccae7ae4d90fb202d9fdb8edd81f74b204f81c2410f345eb923fe610f61fab6ba71bcc95138fb3706ee51007a2c72c76497cee48818032934e7f809fd46ae SHA512 58b71fda6ea6fd1a71dec757c91cf342265a2c89ff5c45e752436068419fb6c1faa1ca0d5a6baafaaa60186a85aefdd840989177ce30e55bcda1c6209fc375be
|
||||
DIST html2text-2016.9.19.tar.gz 48003 BLAKE2B de5080668002db82a82e01ba4b347a73f6edc1ac34ff94b3f20006aab3a7e5b2af6022fe68c6f8fb330b6678f2f6480a7608742a14dace6423dcbfed0c024813 SHA512 bfa7d051e49bea592413bc6e335aad34f6b10d3e718170e709dd9d4bb55cc26b7da4c3f64f512022efe41df80a1157b542ab2ca897612b702f9285cef3b44f40
|
||||
DIST html2text-2017.10.4.tar.gz 50527 BLAKE2B 96b7060761a629cf4313104323517c4a9070aabfa02be43e80c89b56b92329785817abc7ab9fef4a8537cbde4a797926d3c1d444c11f3db6112074a31d8a8e61 SHA512 c7f9b765572b5eac72837aa757f0be07df0270b49f9b3a3ec8c3c65ff929505166b0510c106116ffdca484b56120b6c162f86b600d88a5a35e86d06cd6b6fa19
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
# 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 ~ppc ~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}"
|
||||
}
|
||||
Reference in New Issue
Block a user