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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB505158086 for ; Mon, 13 Dec 2021 08:09:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 255032BC032; Mon, 13 Dec 2021 08:09:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0F8932BC032 for ; Mon, 13 Dec 2021 08:09:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 810D334346A for ; Mon, 13 Dec 2021 08:09:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4263823F for ; Mon, 13 Dec 2021 08:09:35 +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: <1639382960.b899f517afc1d3edfe26ba3c549968843af433c8.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/graphviz/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/graphviz/Manifest dev-python/graphviz/graphviz-0.19.1.ebuild X-VCS-Directories: dev-python/graphviz/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b899f517afc1d3edfe26ba3c549968843af433c8 X-VCS-Branch: master Date: Mon, 13 Dec 2021 08:09:35 +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: b024ab4b-c6f0-48c2-b611-ffb02bf31b36 X-Archives-Hash: 7603f1b3723e94039cc6c3f2f174192c commit: b899f517afc1d3edfe26ba3c549968843af433c8 Author: Michał Górny gentoo org> AuthorDate: Mon Dec 13 07:47:42 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Dec 13 08:09:20 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b899f517 dev-python/graphviz: Bump to 0.19.1 Signed-off-by: Michał Górny gentoo.org> dev-python/graphviz/Manifest | 1 + dev-python/graphviz/graphviz-0.19.1.ebuild | 38 ++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/graphviz/Manifest b/dev-python/graphviz/Manifest index 42a42b360041..28283c2d407c 100644 --- a/dev-python/graphviz/Manifest +++ b/dev-python/graphviz/Manifest @@ -1 +1,2 @@ DIST graphviz-0.18.2.zip 205555 BLAKE2B d245dcd33a7779f00bb9e740968175d4fbe12d3182682b548f447e2c4ce4423683c3fd2727aa693a5e9c264cfdeed603af9a7bc9839f8d91f5fc091045473146 SHA512 f18defc99411b0b12a8326589da603197d345f458d4b0d602e63205f8542fdf4bec636750ac0fc5551126dff4cd76ce04fc089c0985831a1efec3271a7f22230 +DIST graphviz-0.19.1.zip 247779 BLAKE2B c0b226c2ae66f8b583a30cf2842b8cfdecd926f0e7f32fbbfb4dae17ce14792d0af8d8cf6de53cc9a7facdeb8b0a4a078b962eabf64460e1fd42dd995e069428 SHA512 3aa078887458d7bcd173c46ee6e4d8dbdae0c9103755e61e5a027c18e5d8913990aa16a595e80228607c17db1aa9dffdb93e264cafafc8b6318bc3a87547bc5d diff --git a/dev-python/graphviz/graphviz-0.19.1.ebuild b/dev-python/graphviz/graphviz-0.19.1.ebuild new file mode 100644 index 000000000000..9df7603a752c --- /dev/null +++ b/dev-python/graphviz/graphviz-0.19.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Simple Python interface for Graphviz" +HOMEPAGE="https://graphviz.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="MIT" +KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" +SLOT="0" + +RDEPEND="media-gfx/graphviz" +BDEPEND=" + app-arch/unzip + test? ( + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-1.8[${PYTHON_USEDEP}] + media-gfx/graphviz[gts,pdf] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e 's:--cov --cov-report=term --cov-report=html::' \ + -i setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" run-tests.py -vv -ra -l -Wdefault -p no:xdoctest || + die "Tests failed with ${EPYTHON}" +}