diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pydot/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pydot/files/pydot-1.4.2-pyparsing-3.patch | 22 | ||||
-rw-r--r-- | dev-python/pydot/pydot-1.4.2-r4.ebuild | 52 |
3 files changed, 0 insertions, 75 deletions
diff --git a/dev-python/pydot/Manifest b/dev-python/pydot/Manifest index 91b87540c67e..7f0890e5c6eb 100644 --- a/dev-python/pydot/Manifest +++ b/dev-python/pydot/Manifest @@ -1,2 +1 @@ -DIST pydot-1.4.2.gh.tar.gz 272678 BLAKE2B 966f2c4ef3e26a63cc50ab89b5b6b5b413aabdfeddf994f2d5ba9dedaa1ed3152dd8060186e7380c3e768b783f7bfe1971cd600c18d1b73f7ac63db08ee3ace9 SHA512 caa8051561710129b5164fd1392da941829fd977092a6ec8b00efe7a199d2d60bc7ef13cb0e51615f384550f0fb80190d0f56b83d8d80d1fe372efb5dbbd3632 DIST pydot-2.0.0.gh.tar.gz 275188 BLAKE2B 58f1598196861795bd44c6b97683e0c37b3c05e848a69d42a3fc898849f272466c989e7ff72e0be22a322a1e92c31c6b76a9317e56f3ec26743c20801daf8bfd SHA512 09102930a59ac4339e1d1e4f7a9d075f99eda6cb060885631a72f1fded90d001bd02940b55addc0c92856e95321cb3b344a1797b4809ac7c9048ac57c81d4707 diff --git a/dev-python/pydot/files/pydot-1.4.2-pyparsing-3.patch b/dev-python/pydot/files/pydot-1.4.2-pyparsing-3.patch deleted file mode 100644 index 09d4c654ac17..000000000000 --- a/dev-python/pydot/files/pydot-1.4.2-pyparsing-3.patch +++ /dev/null @@ -1,22 +0,0 @@ -https://github.com/pydot/pydot/pull/281 -https://bugs.gentoo.org/830676 - -(rebased) - -From 4ab2c033c0dd67cab87be9a9392c558359caf80c Mon Sep 17 00:00:00 2001 -From: Anton Bolshakov <blshkv@users.noreply.github.com> -Date: Tue, 4 Jan 2022 16:05:51 +0800 -Subject: [PATCH] Update dot_parser.py - -https://github.com/pydot/pydot/issues/277 ---- a/dot_parser.py -+++ b/dot_parser.py -@@ -439,6 +439,8 @@ def graph_definition(): - - noncomma = "".join([c for c in printables if c != ","]) - alphastring_ = OneOrMore(CharsNotIn(noncomma + ' ')) -+ # override pyparsing tightened whitespace-skipping logic -+ alphastring_.skipWhitespace = True - - def parse_html(s, loc, toks): - return '<%s>' % ''.join(toks[0]) diff --git a/dev-python/pydot/pydot-1.4.2-r4.ebuild b/dev-python/pydot/pydot-1.4.2-r4.ebuild deleted file mode 100644 index 1c80bcd8244e..000000000000 --- a/dev-python/pydot/pydot-1.4.2-r4.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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/ -" -# pypi releases don't include tests -SRC_URI=" - https://github.com/pydot/pydot/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/pyparsing[${PYTHON_USEDEP}] - media-gfx/graphviz -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/chardet[${PYTHON_USEDEP}] - ) -" - -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 - PYTHONPATH="${WORKDIR}"/${P}-${EPYTHON/./_}/install/usr/lib/${EPYTHON}/site-packages \ - "${PYTHON}" pydot_unittest.py || die "Test failed with ${EPYTHON}" -} |