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 3BAE115808B for ; Sun, 17 Apr 2022 08:39:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1BEF4E095D; Sun, 17 Apr 2022 08:39:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 ECB84E095A for ; Sun, 17 Apr 2022 08:39:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 EB89334181E for ; Sun, 17 Apr 2022 08:39:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9324B3B1 for ; Sun, 17 Apr 2022 08:39:03 +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: <1650184732.f221dae4a694895b355601353c09eecbaff8beed.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.20.ebuild X-VCS-Directories: dev-python/graphviz/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f221dae4a694895b355601353c09eecbaff8beed X-VCS-Branch: master Date: Sun, 17 Apr 2022 08:39:03 +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: 316aafbd-2dd6-467b-9656-1f41968af3d5 X-Archives-Hash: f47d6406534ddd4a2dfb3c20275d5cc7 commit: f221dae4a694895b355601353c09eecbaff8beed Author: Michał Górny gentoo org> AuthorDate: Sun Apr 17 07:30:57 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Apr 17 08:38:52 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f221dae4 dev-python/graphviz: Bump to 0.20 Signed-off-by: Michał Górny gentoo.org> dev-python/graphviz/Manifest | 1 + dev-python/graphviz/graphviz-0.20.ebuild | 42 ++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/graphviz/Manifest b/dev-python/graphviz/Manifest index d3ca355b52cf..24f2c1e30ca1 100644 --- a/dev-python/graphviz/Manifest +++ b/dev-python/graphviz/Manifest @@ -1,2 +1,3 @@ DIST graphviz-0.19.1.zip 247779 BLAKE2B c0b226c2ae66f8b583a30cf2842b8cfdecd926f0e7f32fbbfb4dae17ce14792d0af8d8cf6de53cc9a7facdeb8b0a4a078b962eabf64460e1fd42dd995e069428 SHA512 3aa078887458d7bcd173c46ee6e4d8dbdae0c9103755e61e5a027c18e5d8913990aa16a595e80228607c17db1aa9dffdb93e264cafafc8b6318bc3a87547bc5d DIST graphviz-0.19.2.zip 248057 BLAKE2B 40fbbeea1f347f3843898c088f3c1ee81eee321aeaaa4bf42d97343d6527a4d43a207bd2e6a5833b04aa50c8be2e58ba77ec99147dfcf22a9eefed733afc0cc8 SHA512 a1dc396bc0b0572a952365d7b22df46fc99a5f081ec02e774d0efa9113c4aa5ca5005855221554cdc96d90997d9efff43b80e1dd858622889afd26d44fbc3671 +DIST graphviz-0.20.zip 255452 BLAKE2B 0bafa3af9d712e30bd6777d55d54c5a8055f8ad4c6e6ee8c9f936a5abf6e025d7179b2b72e9e0926378ae30e9b655d08507e815c67944123c6c222ecbcd4939d SHA512 8b30ac09913ec5860cf26cfc9e008b0feeda8d61274e346ec305087468b655ace115ff28e0ab96eb47d97127410213729d1131dd635771dcaedfae0bae0ca178 diff --git a/dev-python/graphviz/graphviz-0.20.ebuild b/dev-python/graphviz/graphviz-0.20.ebuild new file mode 100644 index 000000000000..2b0922565359 --- /dev/null +++ b/dev-python/graphviz/graphviz-0.20.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +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}" +}