diff options
author | Ian Delaney <idella4@gentoo.org> | 2015-08-04 00:06:29 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-08-04 00:06:29 +0000 |
commit | 02cd5a31c45be9d9d0f147ac2963b2504c95e177 (patch) | |
tree | 5d582f3846992f26437a1ab9095192150b6db540 /dev-python/html2text | |
parent | Linux patch 3.14.49. BFQ patche for 3.14 v7r8. (diff) | |
download | gentoo-2-02cd5a31c45be9d9d0f147ac2963b2504c95e177.tar.gz gentoo-2-02cd5a31c45be9d9d0f147ac2963b2504c95e177.tar.bz2 gentoo-2-02cd5a31c45be9d9d0f147ac2963b2504c95e177.zip |
correction to entry of deps, fix test phase, fixes bug #556362
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/html2text')
-rw-r--r-- | dev-python/html2text/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/html2text/html2text-2014.4.5-r1.ebuild | 20 |
2 files changed, 12 insertions, 13 deletions
diff --git a/dev-python/html2text/ChangeLog b/dev-python/html2text/ChangeLog index 5531cf90350f..9bbe10bdd2e1 100644 --- a/dev-python/html2text/ChangeLog +++ b/dev-python/html2text/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/html2text # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/html2text/ChangeLog,v 1.24 2015/06/07 13:30:30 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/html2text/ChangeLog,v 1.25 2015/08/04 00:06:29 idella4 Exp $ + + 04 Aug 2015; Ian Delaney <idella4@gentoo.org> html2text-2014.4.5-r1.ebuild: + correction to entry of deps, fix test phase, fixes bug #556362 07 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml: Add github to remote-id in metadata.xml diff --git a/dev-python/html2text/html2text-2014.4.5-r1.ebuild b/dev-python/html2text/html2text-2014.4.5-r1.ebuild index 7b52e303df36..6ee4acd60d90 100644 --- a/dev-python/html2text/html2text-2014.4.5-r1.ebuild +++ b/dev-python/html2text/html2text-2014.4.5-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/html2text/html2text-2014.4.5-r1.ebuild,v 1.7 2015/04/19 07:02:14 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/html2text/html2text-2014.4.5-r1.ebuild,v 1.8 2015/08/04 00:06:29 idella4 Exp $ EAPI=5 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) @@ -10,25 +10,21 @@ inherit distutils-r1 DESCRIPTION="Turn HTML into equivalent Markdown-structured text" HOMEPAGE="https://github.com/html2text/html2text https://github.com/Alir3z4/html2text http://pypi.python.org/pypi/html2text" -SRC_URI="https://github.com/Alir3z4/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" # PyPI one missing test data files +SRC_URI="https://github.com/Alir3z4/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" +IUSE="test" RDEPEND="dev-python/chardet[${PYTHON_USEDEP}] - dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" + dev-python/feedparser[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} )" PATCHES=( "${FILESDIR}/${PN}-rename.patch" "${FILESDIR}/${PN}-noinstall-test.patch" ) -src_test() { - impl_specific() { - python_export PYTHON_SITEDIR - PYTHONPATH="${D}${PYTHON_SITEDIR}" "${PYTHON}" test/test_html2text.py -v || die - } - python_foreach_impl impl_specific +python_test() { + "${PYTHON}" test/test_html2text.py -v || die } |