[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/files/, dev-python/pydot/

2024-01-18 Thread Michał Górny
commit: a6cb477b4fb3f801591c842508c136eac79a210c
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan 19 04:28:58 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan 19 04:28:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6cb477b

dev-python/pydot: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydot/Manifest  |  1 -
 .../pydot/files/pydot-1.4.2-pyparsing-3.patch  | 22 -
 dev-python/pydot/pydot-1.4.2-r4.ebuild | 52 --
 3 files changed, 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..
--- 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 
-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..
--- 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}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2024-01-18 Thread Sam James
commit: db5c229e61e6e128f1d1b770949eb11e91c13f76
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 18 19:47:43 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 18 19:47:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db5c229e

dev-python/pydot: Stabilize 2.0.0 amd64, #922427

Signed-off-by: Sam James  gentoo.org>

 dev-python/pydot/pydot-2.0.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pydot/pydot-2.0.0.ebuild 
b/dev-python/pydot/pydot-2.0.0.ebuild
index 4547bc0f8b06..d3417c1391b7 100644
--- a/dev-python/pydot/pydot-2.0.0.ebuild
+++ b/dev-python/pydot/pydot-2.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos"
+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 )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2023-12-30 Thread Michał Górny
commit: ee51c2eeffdddb3158f0c0ec61164c2c361adaf3
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 31 06:58:55 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 31 07:17:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee51c2ee

dev-python/pydot: Bump to 2.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydot/Manifest   |  1 +
 dev-python/pydot/pydot-2.0.0.ebuild | 42 +
 2 files changed, 43 insertions(+)

diff --git a/dev-python/pydot/Manifest b/dev-python/pydot/Manifest
index cddb02660c60..91b87540c67e 100644
--- a/dev-python/pydot/Manifest
+++ b/dev-python/pydot/Manifest
@@ -1 +1,2 @@
 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/pydot-2.0.0.ebuild 
b/dev-python/pydot/pydot-2.0.0.ebuild
new file mode 100644
index ..4547bc0f8b06
--- /dev/null
+++ b/dev-python/pydot/pydot-2.0.0.ebuild
@@ -0,0 +1,42 @@
+# 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-3[${PYTHON_USEDEP}]
+   media-gfx/graphviz
+"
+BDEPEND="
+   test? (
+   ${RDEPEND}
+   dev-python/chardet[${PYTHON_USEDEP}]
+   )
+"
+
+python_test() {
+   cd test || die
+   local -x PYTHONPATH="${BUILD_DIR}/install$(python_get_sitedir)"
+   "${PYTHON}" pydot_unittest.py || die "Test failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2023-12-16 Thread Michał Górny
commit: 98d01fc3ee1deed8a538c93e35bb2144717da1f4
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 16 11:11:59 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 16 12:34:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98d01fc3

dev-python/pydot: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydot/Manifest  |  1 -
 dev-python/pydot/pydot-1.4.2-r3.ebuild | 36 --
 2 files changed, 37 deletions(-)

diff --git a/dev-python/pydot/Manifest b/dev-python/pydot/Manifest
index 8954a2b1f36a..cddb02660c60 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-1.4.2.tar.gz 272678 BLAKE2B 
966f2c4ef3e26a63cc50ab89b5b6b5b413aabdfeddf994f2d5ba9dedaa1ed3152dd8060186e7380c3e768b783f7bfe1971cd600c18d1b73f7ac63db08ee3ace9
 SHA512 
caa8051561710129b5164fd1392da941829fd977092a6ec8b00efe7a199d2d60bc7ef13cb0e51615f384550f0fb80190d0f56b83d8d80d1fe372efb5dbbd3632

diff --git a/dev-python/pydot/pydot-1.4.2-r3.ebuild 
b/dev-python/pydot/pydot-1.4.2-r3.ebuild
deleted file mode 100644
index 677d1c835e24..
--- a/dev-python/pydot/pydot-1.4.2-r3.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..11} )
-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}.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}]
-   )"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.4.2-pyparsing-3.patch
-)
-
-python_test() {
-   cd test || die
-   "${PYTHON}" pydot_unittest.py || die "Test failed with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2023-12-16 Thread Arthur Zamarin
commit: 862390fcd1e85fe01a5b4bbab4e4c34a8cdfa2a7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 16 11:07:38 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 16 11:09:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=862390fc

dev-python/pydot: destabilize to ~arm

No stable reverse dependencies, stabilization was stuck for arm for
long time, and isn't stable for arm64, showing this is a very old
stable addition without good reason today.

Feel free to revert if stable arm keyword is needed.

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pydot/pydot-1.4.2-r3.ebuild | 2 +-
 dev-python/pydot/pydot-1.4.2-r4.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pydot/pydot-1.4.2-r3.ebuild 
b/dev-python/pydot/pydot-1.4.2-r3.ebuild
index 95c8ea595ae6..677d1c835e24 100644
--- a/dev-python/pydot/pydot-1.4.2-r3.ebuild
+++ b/dev-python/pydot/pydot-1.4.2-r3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pydot/pydot/archive/v${PV}.tar.gz 
-> ${P}.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"
+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 )"
 

diff --git a/dev-python/pydot/pydot-1.4.2-r4.ebuild 
b/dev-python/pydot/pydot-1.4.2-r4.ebuild
index f593acf7eda2..1c80bcd8244e 100644
--- a/dev-python/pydot/pydot-1.4.2-r4.ebuild
+++ b/dev-python/pydot/pydot-1.4.2-r4.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos"
+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 )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2023-12-01 Thread Arthur Zamarin
commit: b4aefce5a64da748ddcdc63fab37ef85b128fc4d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  1 12:10:58 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  1 12:10:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4aefce5

dev-python/pydot: Stabilize 1.4.2-r4 amd64, #918798

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pydot/pydot-1.4.2-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.2-r4.ebuild 
b/dev-python/pydot/pydot-1.4.2-r4.ebuild
index 8f77adfb30e5..f593acf7eda2 100644
--- a/dev-python/pydot/pydot-1.4.2-r4.ebuild
+++ b/dev-python/pydot/pydot-1.4.2-r4.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos"
+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 )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2023-11-30 Thread Michał Górny
commit: 99cda696ad150a0320a46ec40cd316ab7670de03
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov 30 19:47:36 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov 30 19:47:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99cda696

dev-python/pydot: Stabilize 1.4.2-r4 arm, #918798

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydot/pydot-1.4.2-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.2-r4.ebuild 
b/dev-python/pydot/pydot-1.4.2-r4.ebuild
index 17ee12d24ddf..8f77adfb30e5 100644
--- a/dev-python/pydot/pydot-1.4.2-r4.ebuild
+++ b/dev-python/pydot/pydot-1.4.2-r4.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos"
+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 )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2023-11-29 Thread Michał Górny
commit: 562166a794d5d866966a364a2c4122240b15343f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 29 12:27:48 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 29 12:45:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=562166a7

dev-python/pydot: Remove a broken test case

Closes: https://bugs.gentoo.org/831996
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydot/pydot-1.4.2-r4.ebuild | 30 ++
 1 file 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



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2023-11-10 Thread Andrew Ammerlaan
commit: 3fd43664e9920c61f901470328c45d27fd2482bb
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Nov 10 13:06:32 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Nov 10 13:20:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fd43664

dev-python/pydot: update EAPI 7 -> 8

Closes: https://bugs.gentoo.org/909939
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/pydot/Manifest  |  1 +
 dev-python/pydot/pydot-1.4.2-r4.ebuild | 38 ++
 2 files changed, 39 insertions(+)

diff --git a/dev-python/pydot/Manifest b/dev-python/pydot/Manifest
index c1159712b377..8954a2b1f36a 100644
--- a/dev-python/pydot/Manifest
+++ b/dev-python/pydot/Manifest
@@ -1 +1,2 @@
+DIST pydot-1.4.2.gh.tar.gz 272678 BLAKE2B 
966f2c4ef3e26a63cc50ab89b5b6b5b413aabdfeddf994f2d5ba9dedaa1ed3152dd8060186e7380c3e768b783f7bfe1971cd600c18d1b73f7ac63db08ee3ace9
 SHA512 
caa8051561710129b5164fd1392da941829fd977092a6ec8b00efe7a199d2d60bc7ef13cb0e51615f384550f0fb80190d0f56b83d8d80d1fe372efb5dbbd3632
 DIST pydot-1.4.2.tar.gz 272678 BLAKE2B 
966f2c4ef3e26a63cc50ab89b5b6b5b413aabdfeddf994f2d5ba9dedaa1ed3152dd8060186e7380c3e768b783f7bfe1971cd600c18d1b73f7ac63db08ee3ace9
 SHA512 
caa8051561710129b5164fd1392da941829fd977092a6ec8b00efe7a199d2d60bc7ef13cb0e51615f384550f0fb80190d0f56b83d8d80d1fe372efb5dbbd3632

diff --git a/dev-python/pydot/pydot-1.4.2-r4.ebuild 
b/dev-python/pydot/pydot-1.4.2-r4.ebuild
new file mode 100644
index ..4a612a3dc5e4
--- /dev/null
+++ b/dev-python/pydot/pydot-1.4.2-r4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+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}]
+   )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.4.2-pyparsing-3.patch
+)
+
+python_test() {
+   cd test || die
+   
PYTHONPATH="${WORKDIR}"/${P}-${EPYTHON/./_}/install/usr/lib/${EPYTHON}/site-packages
 \
+   "${PYTHON}" pydot_unittest.py || die "Test failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2023-02-16 Thread Sam James
commit: ba99d9795d0f7d43d73c1c7ea4c56493aab44e5f
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 17 07:27:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 17 07:27:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba99d979

dev-python/pydot: enable py3.11

Good enough for dev-python/prov to pass its tests too.

Signed-off-by: Sam James  gentoo.org>

 dev-python/pydot/pydot-1.4.2-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.2-r3.ebuild 
b/dev-python/pydot/pydot-1.4.2-r3.ebuild
index 264ba8777f16..3e99bb59fe68 100644
--- a/dev-python/pydot/pydot-1.4.2-r3.ebuild
+++ b/dev-python/pydot/pydot-1.4.2-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit distutils-r1
 
 DESCRIPTION="Python interface to Graphviz's Dot language"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2022-02-04 Thread Michał Górny
commit: 09a9c5f89916c8d8a10b8e1e782768b13457d424
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb  4 10:19:24 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb  4 10:26:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09a9c5f8

dev-python/pydot: Drop to ~arch because of test failures

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydot/pydot-1.4.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.2-r1.ebuild 
b/dev-python/pydot/pydot-1.4.2-r1.ebuild
index 213049e89ea7..79fe4b60e888 100644
--- a/dev-python/pydot/pydot-1.4.2-r1.ebuild
+++ b/dev-python/pydot/pydot-1.4.2-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pydot/pydot/archive/v${PV}.tar.gz 
-> ${P}.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 ~sparc-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2022-02-04 Thread Michał Górny
commit: 522d40a5412298b4fa7d2458bc8d37c73a2c5c17
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb  4 10:19:38 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb  4 10:26:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=522d40a5

dev-python/pydot: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydot/pydot-1.4.2-r1.ebuild | 33 -
 1 file changed, 33 deletions(-)

diff --git a/dev-python/pydot/pydot-1.4.2-r1.ebuild 
b/dev-python/pydot/pydot-1.4.2-r1.ebuild
deleted file mode 100644
index 79fe4b60e888..
--- a/dev-python/pydot/pydot-1.4.2-r1.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{8..10} )
-
-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}.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 ~sparc-solaris"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-# See https://github.com/pydot/pydot/issues/277 for pyparsing dep
-RDEPEND="
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2022-02-04 Thread Jakov Smolić
commit: bc95d341588b03d66bc0d5f92c86cd72c4575f84
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Feb  4 09:47:20 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Feb  4 09:47:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc95d341

dev-python/pydot: Stabilize 1.4.2-r3 amd64, #832684

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/pydot/pydot-1.4.2-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.2-r3.ebuild 
b/dev-python/pydot/pydot-1.4.2-r3.ebuild
index 14efe9d3a7b6..2cfe73cdec90 100644
--- a/dev-python/pydot/pydot-1.4.2-r3.ebuild
+++ b/dev-python/pydot/pydot-1.4.2-r3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pydot/pydot/archive/v${PV}.tar.gz 
-> ${P}.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 ~sparc-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2022-02-04 Thread Jakov Smolić
commit: b10e67950eb5185b4099e926823b1214035b5afc
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Feb  4 09:47:27 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Feb  4 09:47:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b10e6795

dev-python/pydot: Stabilize 1.4.2-r3 arm, #832684

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/pydot/pydot-1.4.2-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.2-r3.ebuild 
b/dev-python/pydot/pydot-1.4.2-r3.ebuild
index 2cfe73cdec90..f218074c7358 100644
--- a/dev-python/pydot/pydot-1.4.2-r3.ebuild
+++ b/dev-python/pydot/pydot-1.4.2-r3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pydot/pydot/archive/v${PV}.tar.gz 
-> ${P}.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 ~sparc-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2022-01-25 Thread Sam James
commit: 7af44660abd549790aa07d42794f0603ac8fcd19
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 25 16:36:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 25 16:37:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7af44660

dev-python/pydot: actually enable patch for pyparsing-3

Closes: https://bugs.gentoo.org/830676
Signed-off-by: Sam James  gentoo.org>

 dev-python/pydot/{pydot-1.4.2-r2.ebuild => pydot-1.4.2-r3.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.2-r2.ebuild 
b/dev-python/pydot/pydot-1.4.2-r3.ebuild
similarity index 95%
rename from dev-python/pydot/pydot-1.4.2-r2.ebuild
rename to dev-python/pydot/pydot-1.4.2-r3.ebuild
index db3881e7fab5..14efe9d3a7b6 100644
--- a/dev-python/pydot/pydot-1.4.2-r2.ebuild
+++ b/dev-python/pydot/pydot-1.4.2-r3.ebuild
@@ -27,7 +27,7 @@ BDEPEND="
)"
 
 PATCHES=(
-#  "${FILESDIR}"/${PN}-1.4.2-pyparsing-3.patch
+   "${FILESDIR}"/${PN}-1.4.2-pyparsing-3.patch
 )
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/files/, dev-python/pydot/

2022-01-24 Thread Sam James
commit: 48e07ea8abd7fe63bf7c276eae7ffa956f9f64b6
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 24 20:08:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 24 20:08:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48e07ea8

dev-python/pydot: workaround pyparsing-3 issue

Closes: https://bugs.gentoo.org/830676
Signed-off-by: Sam James  gentoo.org>

 .../pydot/files/pydot-1.4.2-pyparsing-3.patch  | 22 +
 dev-python/pydot/pydot-1.4.2-r2.ebuild | 36 ++
 2 files changed, 58 insertions(+)

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
new file mode 100644
index ..09d4c654ac17
--- /dev/null
+++ b/dev-python/pydot/files/pydot-1.4.2-pyparsing-3.patch
@@ -0,0 +1,22 @@
+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 
+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-r2.ebuild 
b/dev-python/pydot/pydot-1.4.2-r2.ebuild
new file mode 100644
index ..db3881e7fab5
--- /dev/null
+++ b/dev-python/pydot/pydot-1.4.2-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+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}.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 ~sparc-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-python/pyparsing[${PYTHON_USEDEP}]
+   media-gfx/graphviz"
+BDEPEND="
+   test? (
+   ${RDEPEND}
+   dev-python/chardet[${PYTHON_USEDEP}]
+   )"
+
+PATCHES=(
+#  "${FILESDIR}"/${PN}-1.4.2-pyparsing-3.patch
+)
+
+python_test() {
+   cd test || die
+   "${PYTHON}" pydot_unittest.py || die "Test failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2021-12-02 Thread Sam James
commit: d2337b95715fa5c0855099178e655633dcecc4ec
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec  3 05:30:10 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec  3 05:30:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2337b95

dev-python/pydot: add upper bound on pyparsing

Bug: https://github.com/pydot/pydot/issues/277
Signed-off-by: Sam James  gentoo.org>

 dev-python/pydot/{pydot-1.4.2.ebuild => pydot-1.4.2-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.2.ebuild 
b/dev-python/pydot/pydot-1.4.2-r1.ebuild
similarity index 88%
rename from dev-python/pydot/pydot-1.4.2.ebuild
rename to dev-python/pydot/pydot-1.4.2-r1.ebuild
index 32771d419cfa..213049e89ea7 100644
--- a/dev-python/pydot/pydot-1.4.2.ebuild
+++ b/dev-python/pydot/pydot-1.4.2-r1.ebuild
@@ -17,8 +17,9 @@ KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 
~riscv ~s390 sparc
 IUSE="test"
 RESTRICT="!test? ( test )"
 
+# See https://github.com/pydot/pydot/issues/277 for pyparsing dep
 RDEPEND="
-   >=dev-python/pyparsing-2.1.4[${PYTHON_USEDEP}]
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2021-07-05 Thread Marek Szuba
commit: f984f5a43ead4611fa789333d5e2b83f59cf8f85
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Jul  5 10:10:03 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Jul  5 13:24:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f984f5a4

dev-python/pydot: keyword 1.4.2 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pydot/pydot-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.2.ebuild 
b/dev-python/pydot/pydot-1.4.2.ebuild
index 74974f560a2..32771d419cf 100644
--- a/dev-python/pydot/pydot-1.4.2.ebuild
+++ b/dev-python/pydot/pydot-1.4.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pydot/pydot/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2021-06-05 Thread Michał Górny
commit: 29ff53e0c8e612889990c16e54be85c544fbeb54
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun  5 17:40:37 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun  5 17:59:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29ff53e0

dev-python/pydot: Enable py3.10

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydot/pydot-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.2.ebuild 
b/dev-python/pydot/pydot-1.4.2.ebuild
index f50489b49e9..74974f560a2 100644
--- a/dev-python/pydot/pydot-1.4.2.ebuild
+++ b/dev-python/pydot/pydot-1.4.2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/, dev-python/pydot/files/

2021-04-06 Thread Michał Górny
commit: af570bcedd72ce5f3c962a34476cfdfe282ace40
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Apr  6 06:18:22 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Apr  6 06:21:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af570bce

dev-python/pydot: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydot/Manifest |  1 -
 dev-python/pydot/files/pydot-1.4.1-unittest.patch | 74 ---
 dev-python/pydot/pydot-1.4.1.ebuild   | 36 ---
 3 files changed, 111 deletions(-)

diff --git a/dev-python/pydot/Manifest b/dev-python/pydot/Manifest
index a7b463d35d0..c1159712b37 100644
--- a/dev-python/pydot/Manifest
+++ b/dev-python/pydot/Manifest
@@ -1,2 +1 @@
-DIST pydot-1.4.1.tar.gz 264987 BLAKE2B 
61db2b6dbeab582981bf96054686c927d8d4548ac19a6c197ab1725f92c87e973c2dcd84d4c6c04cb2ca76b8f40814cfee1d5a53e4952065a538fc271e75d2a0
 SHA512 
b5f16b59908586df61cd415cb1a3e242fb69c39674a82b171862beff1f3727f47cba39bdd806901cb56bc8a6888783a53d112b1b70044e124ea992789d77f938
 DIST pydot-1.4.2.tar.gz 272678 BLAKE2B 
966f2c4ef3e26a63cc50ab89b5b6b5b413aabdfeddf994f2d5ba9dedaa1ed3152dd8060186e7380c3e768b783f7bfe1971cd600c18d1b73f7ac63db08ee3ace9
 SHA512 
caa8051561710129b5164fd1392da941829fd977092a6ec8b00efe7a199d2d60bc7ef13cb0e51615f384550f0fb80190d0f56b83d8d80d1fe372efb5dbbd3632

diff --git a/dev-python/pydot/files/pydot-1.4.1-unittest.patch 
b/dev-python/pydot/files/pydot-1.4.1-unittest.patch
deleted file mode 100644
index b3c0d0e426b..000
--- a/dev-python/pydot/files/pydot-1.4.1-unittest.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From a10ced4d132361027a545a471af4541dea8c5cf5 Mon Sep 17 00:00:00 2001
-From: Peter Nowee 
-Date: Wed, 26 Jun 2019 15:43:38 +0800
-Subject: [PATCH] Fix multi.dot Graphviz regression test
-
-Commit d6602ad of 2018-12-01 fixed the regression test broken by commit
-2d55978 of 2016-07-01. This revealed that `test/graphs/multi.dot` was
-failing.
-
-`multi.dot` was introduced in commit 2b3f088 of 2010-11-07 together
-with many of the other tests still here today. It has not been touched
-since. It is a DOT-file containing two digraphs. The regression test
-compares the JPEG images rendered from the DOT-file by pydot with those
-rendered by Graphviz's dot directly.
-
-Commit 66734d2 of 2016-07-01 is the actual cause of the failure. It
-changed one of the render methods of the regression test,
-`_render_with_pydot`, from calculating a single hash for all the JPEG
-images to calculating separate hashes for each JPEG image and then
-concatenating those hashes in one long string. The other render method,
-`_render_with_graphviz`, still calculates a single hash over all data.
-For DOT-files that generate only one image the end result is the same,
-but because `multi.dot` has two graphs, it produces two images and this
-leads to comparing a string of two hashes with one single hash.
-
-I do not think the change in generating the hash was intentional, for
-the following reasons:
-- Commit 66734d2 states that its purpose was to adapt the test to an
-  API change in pydot. It does not mention a deliberate choice to
-  change the testing method.
-- There was no effort to change `_render_with_graphviz` to also produce
-  multiple hashes.
-- Except for easier debugging in case of a failing test with multiple
-  images (AFAICT, only `multi.dot`), I do not see much added benefit in
-  checking a concatenation of the hashes of all images vs. checking one
-  hash of all images together: In both cases the test will fail if one
-  or more images is rendered differently.
-- Given that there were many commits authored that same hour, including
-  commit 2d55978 which broke the regression tests, I suspect the author
-  did not run the tests for each individual commit, but only at the end
-  of that batch, and was therefore also not alerted of this change by
-  the test suite.
-
-Assuming that the change was not intended, this commit will now revert
-`_render_with_pydot` to the old behavior of calculating a single hash
-from all JPEG image data.
-
-Tested with Debian 9.9, Graphviz 2.38.0-17, Python 2.7.13-2 and 3.5.3-1.
-
-Fixes https://github.com/pydot/pydot/issues/204.

- test/pydot_unittest.py | 8 
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/test/pydot_unittest.py b/test/pydot_unittest.py
-index 881ee16..64aa856 100644
 a/test/pydot_unittest.py
-+++ b/test/pydot_unittest.py
-@@ -194,11 +194,11 @@ def _render_with_graphviz(self, filename, encoding):
- 
- def _render_with_pydot(self, filename, encoding):
- c = pydot.graph_from_dot_file(filename, encoding=encoding)
--sha = ''
-+jpe_data = bytearray()
- for g in c:
--jpe_data = g.create(prog=TEST_PROGRAM, format='jpe', 
encoding=encoding)
--sha += sha256(jpe_data).hexdigest()
--return sha
-+jpe_data.extend(g.create(prog=TEST_PROGRAM, 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2021-03-28 Thread Sam James
commit: 3983df43afb6ec32adcebc69f8da240094f74f26
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 28 11:49:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 28 11:50:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3983df43

dev-python/pydot: Stabilize 1.4.2 arm, #777204

Signed-off-by: Sam James  gentoo.org>

 dev-python/pydot/pydot-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.2.ebuild 
b/dev-python/pydot/pydot-1.4.2.ebuild
index 8786e368307..f50489b49e9 100644
--- a/dev-python/pydot/pydot-1.4.2.ebuild
+++ b/dev-python/pydot/pydot-1.4.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pydot/pydot/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2021-03-25 Thread Sam James
commit: a38c0125abc6008a568830f426c6148263c03070
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 25 21:31:29 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 25 21:31:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a38c0125

dev-python/pydot: Stabilize 1.4.2 x86, #777204

Signed-off-by: Sam James  gentoo.org>

 dev-python/pydot/pydot-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.2.ebuild 
b/dev-python/pydot/pydot-1.4.2.ebuild
index f998e8d12b5..8786e368307 100644
--- a/dev-python/pydot/pydot-1.4.2.ebuild
+++ b/dev-python/pydot/pydot-1.4.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pydot/pydot/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc 
~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2021-03-25 Thread Sam James
commit: 163e44872f58ea7817df98baa22231e9106c157d
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 25 21:27:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 25 21:27:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=163e4487

dev-python/pydot: Stabilize 1.4.2 amd64, #777204

Signed-off-by: Sam James  gentoo.org>

 dev-python/pydot/pydot-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.2.ebuild 
b/dev-python/pydot/pydot-1.4.2.ebuild
index 702aaa93f4d..f998e8d12b5 100644
--- a/dev-python/pydot/pydot-1.4.2.ebuild
+++ b/dev-python/pydot/pydot-1.4.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pydot/pydot/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc 
~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc 
~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2021-03-21 Thread Sam James
commit: 681e9dfdef38404c07173069d45c8271ae018098
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 22 00:09:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 22 00:09:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=681e9dfd

dev-python/pydot: Stabilize 1.4.2 ppc, #777204

Signed-off-by: Sam James  gentoo.org>

 dev-python/pydot/pydot-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.2.ebuild 
b/dev-python/pydot/pydot-1.4.2.ebuild
index 0b138f7938d..702aaa93f4d 100644
--- a/dev-python/pydot/pydot-1.4.2.ebuild
+++ b/dev-python/pydot/pydot-1.4.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pydot/pydot/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc 
~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc 
~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2021-03-21 Thread Sergei Trofimovich
commit: 53e921883c0d08a6fa3a45cf94900fe31f77c141
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Mar 21 09:40:47 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Mar 21 10:01:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53e92188

dev-python/pydot: stable 1.4.2 for sparc, bug #777204

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pydot/pydot-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.2.ebuild 
b/dev-python/pydot/pydot-1.4.2.ebuild
index 5a4226cebe8..d55399eb586 100644
--- a/dev-python/pydot/pydot-1.4.2.ebuild
+++ b/dev-python/pydot/pydot-1.4.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pydot/pydot/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2021-02-15 Thread Michał Górny
commit: c1ec7d9c08ab8b66c6fbe2cbfb039c7d714d33fe
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 16 00:20:23 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 16 00:32:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1ec7d9c

dev-python/pydot: Bump to 1.4.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydot/Manifest   |  1 +
 dev-python/pydot/metadata.xml   |  2 +-
 dev-python/pydot/pydot-1.4.2.ebuild | 32 
 3 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/dev-python/pydot/Manifest b/dev-python/pydot/Manifest
index 9ff10b2684c..a7b463d35d0 100644
--- a/dev-python/pydot/Manifest
+++ b/dev-python/pydot/Manifest
@@ -1 +1,2 @@
 DIST pydot-1.4.1.tar.gz 264987 BLAKE2B 
61db2b6dbeab582981bf96054686c927d8d4548ac19a6c197ab1725f92c87e973c2dcd84d4c6c04cb2ca76b8f40814cfee1d5a53e4952065a538fc271e75d2a0
 SHA512 
b5f16b59908586df61cd415cb1a3e242fb69c39674a82b171862beff1f3727f47cba39bdd806901cb56bc8a6888783a53d112b1b70044e124ea992789d77f938
+DIST pydot-1.4.2.tar.gz 272678 BLAKE2B 
966f2c4ef3e26a63cc50ab89b5b6b5b413aabdfeddf994f2d5ba9dedaa1ed3152dd8060186e7380c3e768b783f7bfe1971cd600c18d1b73f7ac63db08ee3ace9
 SHA512 
caa8051561710129b5164fd1392da941829fd977092a6ec8b00efe7a199d2d60bc7ef13cb0e51615f384550f0fb80190d0f56b83d8d80d1fe372efb5dbbd3632

diff --git a/dev-python/pydot/metadata.xml b/dev-python/pydot/metadata.xml
index a44c00e7d6b..479f36316c2 100644
--- a/dev-python/pydot/metadata.xml
+++ b/dev-python/pydot/metadata.xml
@@ -7,6 +7,6 @@
   
   
 pydot
-erocarrera/pydot
+pydot/pydot
   
 

diff --git a/dev-python/pydot/pydot-1.4.2.ebuild 
b/dev-python/pydot/pydot-1.4.2.ebuild
new file mode 100644
index 000..5a4226cebe8
--- /dev/null
+++ b/dev-python/pydot/pydot-1.4.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{7..9} )
+
+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}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-python/pyparsing-2.1.4[${PYTHON_USEDEP}]
+   media-gfx/graphviz"
+BDEPEND="
+   test? (
+   ${RDEPEND}
+   dev-python/chardet[${PYTHON_USEDEP}]
+   )"
+
+python_test() {
+   cd test || die
+   "${PYTHON}" pydot_unittest.py || die "Test failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2020-06-13 Thread Michał Górny
commit: 1ee576421e58424cd65764c42ff9ec08f50af940
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 13 08:39:29 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 13 11:14:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ee57642

dev-python/pydot: Port to py3.9

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydot/pydot-1.4.1.ebuild | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-python/pydot/pydot-1.4.1.ebuild 
b/dev-python/pydot/pydot-1.4.1.ebuild
index b740101098c..224ae09f8d9 100644
--- a/dev-python/pydot/pydot-1.4.1.ebuild
+++ b/dev-python/pydot/pydot-1.4.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit distutils-r1
 
@@ -20,9 +20,11 @@ RESTRICT="!test? ( test )"
 RDEPEND="
>=dev-python/pyparsing-2.1.4[${PYTHON_USEDEP}]
media-gfx/graphviz"
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( dev-python/chardet[${PYTHON_USEDEP}] )"
+BDEPEND="
+   test? (
+   ${RDEPEND}
+   dev-python/chardet[${PYTHON_USEDEP}]
+   )"
 
 PATCHES=(
"${FILESDIR}"/${P}-unittest.patch



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2020-04-12 Thread Sergei Trofimovich
commit: f644a992db6de3f543361eab9fe76a0eb50e7362
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Apr 12 10:58:58 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr 12 11:02:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f644a992

dev-python/pydot: stable 1.4.1 for sparc under ALLARCHES

Fixes: 4c53e8798031cfdcef17d4158ce52e8bc00b3216
Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pydot/pydot-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.1.ebuild 
b/dev-python/pydot/pydot-1.4.1.ebuild
index dd84480cc56..b740101098c 100644
--- a/dev-python/pydot/pydot-1.4.1.ebuild
+++ b/dev-python/pydot/pydot-1.4.1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/erocarrera/pydot/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sparc x86 
~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/files/, dev-python/pydot/

2020-03-13 Thread Michał Górny
commit: 1a6e9c2bb681945380dd62bf5b915370b991247e
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 13 10:28:05 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 13 11:07:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a6e9c2b

dev-python/pydot: Fix failing tests

Closes: https://bugs.gentoo.org/691248
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydot/files/pydot-1.4.1-unittest.patch | 74 +++
 dev-python/pydot/pydot-1.4.1.ebuild   |  4 ++
 2 files changed, 78 insertions(+)

diff --git a/dev-python/pydot/files/pydot-1.4.1-unittest.patch 
b/dev-python/pydot/files/pydot-1.4.1-unittest.patch
new file mode 100644
index 000..b3c0d0e426b
--- /dev/null
+++ b/dev-python/pydot/files/pydot-1.4.1-unittest.patch
@@ -0,0 +1,74 @@
+From a10ced4d132361027a545a471af4541dea8c5cf5 Mon Sep 17 00:00:00 2001
+From: Peter Nowee 
+Date: Wed, 26 Jun 2019 15:43:38 +0800
+Subject: [PATCH] Fix multi.dot Graphviz regression test
+
+Commit d6602ad of 2018-12-01 fixed the regression test broken by commit
+2d55978 of 2016-07-01. This revealed that `test/graphs/multi.dot` was
+failing.
+
+`multi.dot` was introduced in commit 2b3f088 of 2010-11-07 together
+with many of the other tests still here today. It has not been touched
+since. It is a DOT-file containing two digraphs. The regression test
+compares the JPEG images rendered from the DOT-file by pydot with those
+rendered by Graphviz's dot directly.
+
+Commit 66734d2 of 2016-07-01 is the actual cause of the failure. It
+changed one of the render methods of the regression test,
+`_render_with_pydot`, from calculating a single hash for all the JPEG
+images to calculating separate hashes for each JPEG image and then
+concatenating those hashes in one long string. The other render method,
+`_render_with_graphviz`, still calculates a single hash over all data.
+For DOT-files that generate only one image the end result is the same,
+but because `multi.dot` has two graphs, it produces two images and this
+leads to comparing a string of two hashes with one single hash.
+
+I do not think the change in generating the hash was intentional, for
+the following reasons:
+- Commit 66734d2 states that its purpose was to adapt the test to an
+  API change in pydot. It does not mention a deliberate choice to
+  change the testing method.
+- There was no effort to change `_render_with_graphviz` to also produce
+  multiple hashes.
+- Except for easier debugging in case of a failing test with multiple
+  images (AFAICT, only `multi.dot`), I do not see much added benefit in
+  checking a concatenation of the hashes of all images vs. checking one
+  hash of all images together: In both cases the test will fail if one
+  or more images is rendered differently.
+- Given that there were many commits authored that same hour, including
+  commit 2d55978 which broke the regression tests, I suspect the author
+  did not run the tests for each individual commit, but only at the end
+  of that batch, and was therefore also not alerted of this change by
+  the test suite.
+
+Assuming that the change was not intended, this commit will now revert
+`_render_with_pydot` to the old behavior of calculating a single hash
+from all JPEG image data.
+
+Tested with Debian 9.9, Graphviz 2.38.0-17, Python 2.7.13-2 and 3.5.3-1.
+
+Fixes https://github.com/pydot/pydot/issues/204.
+---
+ test/pydot_unittest.py | 8 
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/test/pydot_unittest.py b/test/pydot_unittest.py
+index 881ee16..64aa856 100644
+--- a/test/pydot_unittest.py
 b/test/pydot_unittest.py
+@@ -194,11 +194,11 @@ def _render_with_graphviz(self, filename, encoding):
+ 
+ def _render_with_pydot(self, filename, encoding):
+ c = pydot.graph_from_dot_file(filename, encoding=encoding)
+-sha = ''
++jpe_data = bytearray()
+ for g in c:
+-jpe_data = g.create(prog=TEST_PROGRAM, format='jpe', 
encoding=encoding)
+-sha += sha256(jpe_data).hexdigest()
+-return sha
++jpe_data.extend(g.create(prog=TEST_PROGRAM, format='jpe',
++ encoding=encoding))
++return sha256(jpe_data).hexdigest()
+ 
+ def test_my_regression_tests(self):
+ path = os.path.join(test_dir, TESTS_DIR_1)

diff --git a/dev-python/pydot/pydot-1.4.1.ebuild 
b/dev-python/pydot/pydot-1.4.1.ebuild
index fb2062cdb6d..1a3e1140998 100644
--- a/dev-python/pydot/pydot-1.4.1.ebuild
+++ b/dev-python/pydot/pydot-1.4.1.ebuild
@@ -24,6 +24,10 @@ DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/chardet[${PYTHON_USEDEP}] )"
 
+PATCHES=(
+   "${FILESDIR}"/${P}-unittest.patch
+)
+
 python_test() {
cd test || die
"${PYTHON}" pydot_unittest.py || die "Test failed with ${EPYTHON}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2020-03-13 Thread Michał Górny
commit: 65d0a0724e3289b6badaf7cd30478d0d737de61b
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 13 10:28:10 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 13 11:07:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65d0a072

dev-python/pydot: Enable py3.8

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydot/pydot-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.1.ebuild 
b/dev-python/pydot/pydot-1.4.1.ebuild
index 1a3e1140998..f3b56596292 100644
--- a/dev-python/pydot/pydot-1.4.1.ebuild
+++ b/dev-python/pydot/pydot-1.4.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/files/, dev-python/pydot/

2020-02-05 Thread Michał Górny
commit: b6a6ba79829873cdb3213421b694f5f52f31e816
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  5 19:20:07 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  5 19:37:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6a6ba79

dev-python/pydot: Remove old (py2)

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydot/Manifest  |  2 --
 dev-python/pydot/files/pydot-1.0.23-setup.patch| 21 ---
 .../pydot/files/pydot-1.0.28-pyparsing2fix.patch   | 14 --
 dev-python/pydot/pydot-1.0.28-r2.ebuild| 27 ---
 dev-python/pydot/pydot-1.2.3.ebuild| 30 --
 5 files changed, 94 deletions(-)

diff --git a/dev-python/pydot/Manifest b/dev-python/pydot/Manifest
index e9cea972d70..9ff10b2684c 100644
--- a/dev-python/pydot/Manifest
+++ b/dev-python/pydot/Manifest
@@ -1,3 +1 @@
-DIST pydot-1.0.28.tar.gz 19711 BLAKE2B 
73fa2a614de998d4b53065a350768dbf1c0a4aef60edd9d0515ebfc9c685aba09dc42f89849c1eb609e469a4036062d3f0b83b364d89557f73414143c2c78d59
 SHA512 
54b4d7bfb01bbcae9a4832d1c3321d4f453a93f062ee55b35e3d59bee3f8989f4a544afb56c3d16b22bca8e6ef24b6286ac2688c9045b16906ef625999b35055
-DIST pydot-1.2.3.tar.gz 262660 BLAKE2B 
b5acfc365f7864c2b1fb419e5d4624ebeabef2e969dcf545668062ad46b33de5b5ee65271ac6b0fe0abb48df83f6c24bf3598798eb8879a998c06d91b6a5ac00
 SHA512 
0527279174bd9d5703131ab6c16365d66e392e27597b5d2d536d43f783a59139913a6dbfa1cc022993f842843f5d79e4e0b2a1435ce3427ebc534ef7b1ef2e9b
 DIST pydot-1.4.1.tar.gz 264987 BLAKE2B 
61db2b6dbeab582981bf96054686c927d8d4548ac19a6c197ab1725f92c87e973c2dcd84d4c6c04cb2ca76b8f40814cfee1d5a53e4952065a538fc271e75d2a0
 SHA512 
b5f16b59908586df61cd415cb1a3e242fb69c39674a82b171862beff1f3727f47cba39bdd806901cb56bc8a6888783a53d112b1b70044e124ea992789d77f938

diff --git a/dev-python/pydot/files/pydot-1.0.23-setup.patch 
b/dev-python/pydot/files/pydot-1.0.23-setup.patch
deleted file mode 100644
index c87cc32b30d..000
--- a/dev-python/pydot/files/pydot-1.0.23-setup.patch
+++ /dev/null
@@ -1,21 +0,0 @@
 setup.py
-+++ setup.py
-@@ -1,9 +1,9 @@
- #!/usr/bin/env python
- 
- try:
--from distutils.core import setup
--except ImportError, excp:
- from setuptools import setup
-+except ImportError, excp:
-+from distutils.core import setup
- 
- import pydot
- import os
-@@ -31,5 +31,4 @@
- 'Topic :: Software Development :: Libraries :: Python Modules'],
- long_description = "\n".join(pydot.__doc__.split('\n')),
- py_modules = ['pydot', 'dot_parser'],
--install_requires = ['pyparsing', 'setuptools'],
--data_files = [('.', ['LICENSE', 'README'])] )
-+install_requires = ['pyparsing', 'setuptools'] )

diff --git a/dev-python/pydot/files/pydot-1.0.28-pyparsing2fix.patch 
b/dev-python/pydot/files/pydot-1.0.28-pyparsing2fix.patch
deleted file mode 100644
index 12a01091223..000
--- a/dev-python/pydot/files/pydot-1.0.28-pyparsing2fix.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -up pydot-1.0.28/dot_parser.py.pyparsing2fix pydot-1.0.28/dot_parser.py
 pydot-1.0.28/dot_parser.py.pyparsing2fix   2013-12-09 08:59:24.660145534 
-0500
-+++ pydot-1.0.28/dot_parser.py 2013-12-09 09:00:10.021222397 -0500
-@@ -25,8 +25,9 @@ from pyparsing import __version__ as pyp
- from pyparsing import ( nestedExpr, Literal, CaselessLiteral, Word, Upcase, 
OneOrMore, ZeroOrMore,
- Forward, NotAny, delimitedList, oneOf, Group, Optional, Combine, alphas, 
nums,
- restOfLine, cStyleComment, nums, alphanums, printables, empty, 
quotedString,
--ParseException, ParseResults, CharsNotIn, _noncomma, dblQuotedString, 
QuotedString, ParserElement )
-+ParseException, ParseResults, CharsNotIn, dblQuotedString, QuotedString, 
ParserElement )
- 
-+_noncomma = "".join( [ c for c in printables if c != "," ] )
- 
- class P_AttrList:
- 

diff --git a/dev-python/pydot/pydot-1.0.28-r2.ebuild 
b/dev-python/pydot/pydot-1.0.28-r2.ebuild
deleted file mode 100644
index 5c92facbb11..000
--- a/dev-python/pydot/pydot-1.0.28-r2.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="Python interface to Graphviz's Dot language"
-HOMEPAGE="https://pypi.org/project/pydot/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 
~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
-IUSE=""
-
-RDEPEND="
-   dev-python/pyparsing[${PYTHON_USEDEP}]
-   media-gfx/graphviz"
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.0.23-setup.patch
-   "${FILESDIR}"/${P}-pyparsing2fix.patch )

diff --git a/dev-python/pydot/pydot-1.2.3.ebuild 
b/dev-python/pydot/pydot-1.2.3.ebuild

[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2020-02-05 Thread Michał Górny
commit: b3c83cb8a9f8cf871ec998f9deb0e871f17bc9ce
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  5 19:20:12 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  5 19:37:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3c83cb8

dev-python/pydot: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydot/pydot-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.4.1.ebuild 
b/dev-python/pydot/pydot-1.4.1.ebuild
index d87d9d0fdf7..fb2062cdb6d 100644
--- a/dev-python/pydot/pydot-1.4.1.ebuild
+++ b/dev-python/pydot/pydot-1.4.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2019-01-29 Thread Mikle Kolyada
commit: 36458dc14aa4c9d5c2c63331640c89a74eb68ca5
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Tue Jan 29 13:39:58 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue Jan 29 13:39:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36458dc1

dev-python/pydot: mark s390 stable

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-python/pydot/pydot-1.0.28-r2.ebuild | 4 ++--
 dev-python/pydot/pydot-1.2.3.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/pydot/pydot-1.0.28-r2.ebuild 
b/dev-python/pydot/pydot-1.0.28-r2.ebuild
index da31180ccee..acc255d3ba7 100644
--- a/dev-python/pydot/pydot-1.0.28-r2.ebuild
+++ b/dev-python/pydot/pydot-1.0.28-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris"
 IUSE=""
 
 RDEPEND="

diff --git a/dev-python/pydot/pydot-1.2.3.ebuild 
b/dev-python/pydot/pydot-1.2.3.ebuild
index d830cd77711..054706ccbec 100644
--- a/dev-python/pydot/pydot-1.2.3.ebuild
+++ b/dev-python/pydot/pydot-1.2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/erocarrera/pydot/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh ~sparc x86 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2018-07-11 Thread Mikle Kolyada
commit: bc7f538be34edf8026a129e3c13ceae3267eb011
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed Jul 11 13:26:16 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed Jul 11 13:26:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc7f538b

dev-python/pydot: arm/hppa/ia64/ppc stable wrt bug #659292

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/pydot/pydot-1.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.2.3.ebuild 
b/dev-python/pydot/pydot-1.2.3.ebuild
index e66e52ecab5..d830cd77711 100644
--- a/dev-python/pydot/pydot-1.2.3.ebuild
+++ b/dev-python/pydot/pydot-1.2.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/erocarrera/pydot/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh 
~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2018-07-01 Thread Pacho Ramos
commit: 5125bfce8e0e394c11a84b69b6ebbe262932e97c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul  1 15:16:07 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul  1 15:19:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5125bfce

dev-python/pydot: amd64 stable, bug #659292

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 dev-python/pydot/pydot-1.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.2.3.ebuild 
b/dev-python/pydot/pydot-1.2.3.ebuild
index b04b291d571..358274599a3 100644
--- a/dev-python/pydot/pydot-1.2.3.ebuild
+++ b/dev-python/pydot/pydot-1.2.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/erocarrera/pydot/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2018-06-30 Thread Sergei Trofimovich
commit: 7e0f945500c63acd9b496d9ca75a0a1cc300849a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jun 30 18:04:15 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jun 30 19:02:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e0f9455

dev-python/pydot: stable 1.2.3 for ppc64, bug #659292

Bug: https://bugs.gentoo.org/659292
Package-Manager: Portage-2.3.41, Repoman-2.3.9
RepoMan-Options: --include-arches="ppc64"

 dev-python/pydot/pydot-1.2.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pydot/pydot-1.2.3.ebuild 
b/dev-python/pydot/pydot-1.2.3.ebuild
index cd35cfebd65..b04b291d571 100644
--- a/dev-python/pydot/pydot-1.2.3.ebuild
+++ b/dev-python/pydot/pydot-1.2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/erocarrera/pydot/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris"
+KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/

2018-06-27 Thread Tobias Klausmann
commit: f89e1e07bc086dd3c4ecf7c114e0a57997ae575e
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Jun 27 10:13:21 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Jun 27 17:23:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f89e1e07

dev-python/pydot-1.2.3-r0: alpha stable

Gentoo-Bug: http://bugs.gentoo.org/659292

 dev-python/pydot/pydot-1.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydot/pydot-1.2.3.ebuild 
b/dev-python/pydot/pydot-1.2.3.ebuild
index 4bfa795fb7a..cd35cfebd65 100644
--- a/dev-python/pydot/pydot-1.2.3.ebuild
+++ b/dev-python/pydot/pydot-1.2.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/erocarrera/pydot/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris"
+KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot-ng/

2018-06-24 Thread Pacho Ramos
commit: 8db740207c92b9155ca3177b3277f7e35851d972
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jun 24 16:01:48 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jun 24 16:21:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8db74020

dev-python/pydot-ng: Support python3.6

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/pydot-ng/pydot-ng-1.0.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pydot-ng/pydot-ng-1.0.0.ebuild 
b/dev-python/pydot-ng/pydot-ng-1.0.0.ebuild
index 4f8e75e2e6e..1c6a2fbcfe3 100644
--- a/dev-python/pydot-ng/pydot-ng-1.0.0.ebuild
+++ b/dev-python/pydot-ng/pydot-ng-1.0.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/, sci-biology/biopython/, media-gfx/pydot/files/, ...

2017-08-19 Thread Tim Harder
commit: 9d31b621e12c0c51a6866c1f2235828f75cc66fc
Author: Tim Harder  gentoo  org>
AuthorDate: Sat Aug 19 23:11:08 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sat Aug 19 23:14:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d31b621

media-gfx/pydot: move to dev-python/pydot

 app-office/openerp/openerp-7.0.20140125.ebuild | 2 +-
 app-office/openerp/openerp-8.0.20140125.ebuild | 2 +-
 dev-python/networkx/networkx-1.10-r1.ebuild| 2 +-
 dev-python/networkx/networkx-1.11.ebuild   | 2 +-
 {media-gfx => dev-python}/pydot/Manifest   | 0
 {media-gfx => dev-python}/pydot/files/pydot-1.0.23-setup.patch | 0
 {media-gfx => dev-python}/pydot/files/pydot-1.0.28-pyparsing2fix.patch | 0
 {media-gfx => dev-python}/pydot/metadata.xml   | 0
 {media-gfx => dev-python}/pydot/pydot-1.0.28-r2.ebuild | 0
 {media-gfx => dev-python}/pydot/pydot-1.2.3.ebuild | 0
 dev-ros/qt_dotgraph/qt_dotgraph-0.2.29.ebuild  | 2 +-
 dev-ros/qt_dotgraph/qt_dotgraph-0.2.30.ebuild  | 2 +-
 dev-ros/qt_dotgraph/qt_dotgraph-0.3.0.ebuild   | 2 +-
 dev-ros/qt_dotgraph/qt_dotgraph-0.3.1.ebuild   | 2 +-
 dev-ros/qt_dotgraph/qt_dotgraph-0.3.2.ebuild   | 2 +-
 dev-ros/qt_dotgraph/qt_dotgraph-0.3.3.ebuild   | 2 +-
 dev-ros/qt_dotgraph/qt_dotgraph-0.3.4.ebuild   | 2 +-
 dev-ros/qt_dotgraph/qt_dotgraph-0.3.5.ebuild   | 2 +-
 dev-ros/qt_dotgraph/qt_dotgraph-0.3.6.ebuild   | 2 +-
 dev-ros/qt_dotgraph/qt_dotgraph-.ebuild| 2 +-
 dev-tex/dot2tex/dot2tex-2.9.0.ebuild   | 2 +-
 profiles/updates/3Q-2017   | 1 +
 sci-biology/biopython/biopython-1.68.ebuild| 2 +-
 23 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/app-office/openerp/openerp-7.0.20140125.ebuild 
b/app-office/openerp/openerp-7.0.20140125.ebuild
index 5e3cf56a60c..97875513997 100644
--- a/app-office/openerp/openerp-7.0.20140125.ebuild
+++ b/app-office/openerp/openerp-7.0.20140125.ebuild
@@ -29,7 +29,7 @@ CDEPEND="!app-office/openerp-web
dev-python/pyparsing[${PYTHON_USEDEP}]
dev-python/reportlab[${PYTHON_USEDEP}]
dev-python/simplejson[${PYTHON_USEDEP}]
-   media-gfx/pydot
+   dev-python/pydot[${PYTHON_USEDEP}]
dev-python/vobject[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]

diff --git a/app-office/openerp/openerp-8.0.20140125.ebuild 
b/app-office/openerp/openerp-8.0.20140125.ebuild
index a7d5ccd5d3c..76beb424a29 100644
--- a/app-office/openerp/openerp-8.0.20140125.ebuild
+++ b/app-office/openerp/openerp-8.0.20140125.ebuild
@@ -29,7 +29,7 @@ CDEPEND="!app-office/openerp-web
dev-python/pyparsing[${PYTHON_USEDEP}]
dev-python/reportlab[${PYTHON_USEDEP}]
dev-python/simplejson[${PYTHON_USEDEP}]
-   media-gfx/pydot
+   dev-python/pydot[${PYTHON_USEDEP}]
dev-python/vobject[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]

diff --git a/dev-python/networkx/networkx-1.10-r1.ebuild 
b/dev-python/networkx/networkx-1.10-r1.ebuild
index c9c0842fe44..4e2807d4e82 100644
--- a/dev-python/networkx/networkx-1.10-r1.ebuild
+++ b/dev-python/networkx/networkx-1.10-r1.ebuild
@@ -32,7 +32,7 @@ DEPEND="
test? (
${COMMON_DEPEND}
dev-python/nose[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep 'media-gfx/pydot[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 'dev-python/pydot[${PYTHON_USEDEP}]' 
python2_7)
)"
 RDEPEND="
>=dev-python/decorator-3.4.0[${PYTHON_USEDEP}]

diff --git a/dev-python/networkx/networkx-1.11.ebuild 
b/dev-python/networkx/networkx-1.11.ebuild
index 67992b0d946..fa141b8ee7b 100644
--- a/dev-python/networkx/networkx-1.11.ebuild
+++ b/dev-python/networkx/networkx-1.11.ebuild
@@ -32,7 +32,7 @@ DEPEND="
test? (
${COMMON_DEPEND}
dev-python/nose[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep 'media-gfx/pydot[${PYTHON_USEDEP}]' -2)
+   $(python_gen_cond_dep 'dev-python/pydot[${PYTHON_USEDEP}]' -2)
)"
 RDEPEND="
>=dev-python/decorator-3.4.0[${PYTHON_USEDEP}]

diff --git a/media-gfx/pydot/Manifest b/dev-python/pydot/Manifest
similarity index 100%
rename from media-gfx/pydot/Manifest
rename to dev-python/pydot/Manifest

diff --git a/media-gfx/pydot/files/pydot-1.0.23-setup.patch 
b/dev-python/pydot/files/pydot-1.0.23-setup.patch
similarity index 100%
rename from 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pydot-ng/

2017-01-02 Thread Sebastien Fabbro
commit: 32b49e2f91a48624fcfad2ac6c4cd25267ea3e8d
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Mon Jan  2 05:38:06 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Mon Jan  2 16:13:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32b49e2f

dev-python/pydot-ng: initial import

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/pydot-ng/Manifest  |  1 +
 dev-python/pydot-ng/metadata.xml  | 12 +++
 dev-python/pydot-ng/pydot-ng-1.0.0.ebuild | 33 +++
 3 files changed, 46 insertions(+)

diff --git a/dev-python/pydot-ng/Manifest b/dev-python/pydot-ng/Manifest
new file mode 100644
index ..c5d4a9d
--- /dev/null
+++ b/dev-python/pydot-ng/Manifest
@@ -0,0 +1 @@
+DIST pydot-ng-1.0.0.tar.gz 263582 SHA256 
63ffae76adf98672ab6e87072637bdfd14b1f6fabab704bc30f2a70b31e963a8 SHA512 
b0570a63f89f8c192de93e13f39d715aee987a62476ed0b4d378db0148ba3884c6ea5de6f4035dd92fce1d140b9900630096bdf408037cb430a08b561242e724
 WHIRLPOOL 
fbe7f30b177769d614ba55d364f99226de15f302dbd54b26f2de1a010b1e37ac601fefefe76deca3a53c86683b0ad5048c3d54b070b22e4c28aec8e9f321502a

diff --git a/dev-python/pydot-ng/metadata.xml b/dev-python/pydot-ng/metadata.xml
new file mode 100644
index ..af12973
--- /dev/null
+++ b/dev-python/pydot-ng/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+pyt...@gentoo.org
+Python
+  
+  Python 2 and 3 bindings for Graphviz dot 
language
+  
+pydot-ng
+  
+

diff --git a/dev-python/pydot-ng/pydot-ng-1.0.0.ebuild 
b/dev-python/pydot-ng/pydot-ng-1.0.0.ebuild
new file mode 100644
index ..53e2360
--- /dev/null
+++ b/dev-python/pydot-ng/pydot-ng-1.0.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python interface to Graphviz's Dot language next gen"
+HOMEPAGE="https://github.com/pydot/pydot-ng;
+SRC_URI="https://github.com/pydot/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="test"
+
+RDEPEND="
+   dev-python/pyparsing[${PYTHON_USEDEP}]
+   media-gfx/graphviz"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/unittest2[${PYTHON_USEDEP}]
+   )"
+
+python_test() {
+   "${PYTHON}" -m pytest test || die "tests failed under ${EPYTHON}"
+}