From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2E74F13835C for ; Tue, 16 Feb 2021 00:32:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72366E0887; Tue, 16 Feb 2021 00:32:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5AA34E0887 for ; Tue, 16 Feb 2021 00:32:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 706D0341135 for ; Tue, 16 Feb 2021 00:32:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E97FB4E9 for ; Tue, 16 Feb 2021 00:32:34 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1613435550.c1ec7d9c08ab8b66c6fbe2cbfb039c7d714d33fe.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pydot/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pydot/Manifest dev-python/pydot/metadata.xml dev-python/pydot/pydot-1.4.2.ebuild X-VCS-Directories: dev-python/pydot/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c1ec7d9c08ab8b66c6fbe2cbfb039c7d714d33fe X-VCS-Branch: master Date: Tue, 16 Feb 2021 00:32:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 68273579-aab5-4a13-b9e8-5de3407f7678 X-Archives-Hash: 8208d04a6101733603590e1e34b4864a commit: c1ec7d9c08ab8b66c6fbe2cbfb039c7d714d33fe Author: Michał Górny gentoo org> AuthorDate: Tue Feb 16 00:20:23 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Feb 16 00:32:30 2021 +0000 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 00000000000..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}" +}