diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-11-29 13:27:48 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-11-29 13:45:07 +0100 |
commit | 562166a794d5d866966a364a2c4122240b15343f (patch) | |
tree | 85940d68b4ccc1028c2766bc9d5a1c6292755810 | |
parent | dev-python/jsonschema-specifications: Remove old (diff) | |
download | gentoo-562166a794d5d866966a364a2c4122240b15343f.tar.gz gentoo-562166a794d5d866966a364a2c4122240b15343f.tar.bz2 gentoo-562166a794d5d866966a364a2c4122240b15343f.zip |
dev-python/pydot: Remove a broken test case
Closes: https://bugs.gentoo.org/831996
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/pydot/pydot-1.4.2-r4.ebuild | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/dev-python/pydot/pydot-1.4.2-r4.ebuild b/dev-python/pydot/pydot-1.4.2-r4.ebuild index 4a612a3dc5e4..17ee12d24ddf 100644 --- a/dev-python/pydot/pydot-1.4.2-r4.ebuild +++ b/dev-python/pydot/pydot-1.4.2-r4.ebuild @@ -3,14 +3,20 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + inherit distutils-r1 DESCRIPTION="Python interface to Graphviz's Dot language" -HOMEPAGE="https://github.com/pydot/pydot https://pypi.org/project/pydot/" +HOMEPAGE=" + https://github.com/pydot/pydot/ + https://pypi.org/project/pydot/ +" # pypi releases don't include tests -SRC_URI="https://github.com/pydot/pydot/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" +SRC_URI=" + https://github.com/pydot/pydot/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz +" LICENSE="MIT" SLOT="0" @@ -20,16 +26,24 @@ RESTRICT="!test? ( test )" RDEPEND=" dev-python/pyparsing[${PYTHON_USEDEP}] - media-gfx/graphviz" + media-gfx/graphviz +" BDEPEND=" test? ( ${RDEPEND} dev-python/chardet[${PYTHON_USEDEP}] - )" + ) +" -PATCHES=( - "${FILESDIR}"/${PN}-1.4.2-pyparsing-3.patch -) +src_prepare() { + local PATCHES=( + "${FILESDIR}"/${PN}-1.4.2-pyparsing-3.patch + ) + + # broken + rm test/my_tests/html_labels.dot || die + distutils-r1_src_prepare +} python_test() { cd test || die |