From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/graphviz/
Date: Sat, 26 Feb 2022 17:21:41 +0000 (UTC) [thread overview]
Message-ID: <1645896097.b4aedf952e88c8cf8f638eebe502b528448e5d5b.mgorny@gentoo> (raw)
commit: b4aedf952e88c8cf8f638eebe502b528448e5d5b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 26 17:19:47 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 26 17:21:37 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4aedf95
dev-python/graphviz: Migrate to PEP517 build
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/graphviz/graphviz-0.19.1-r1.ebuild | 42 +++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/dev-python/graphviz/graphviz-0.19.1-r1.ebuild b/dev-python/graphviz/graphviz-0.19.1-r1.ebuild
new file mode 100644
index 000000000000..2b0922565359
--- /dev/null
+++ b/dev-python/graphviz/graphviz-0.19.1-r1.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}"
+}
next reply other threads:[~2022-02-26 17:21 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-26 17:21 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-27 20:56 [gentoo-commits] repo/gentoo:master commit in: dev-python/graphviz/ Michał Górny
2024-05-18 16:10 Michał Górny
2024-04-06 12:32 Arthur Zamarin
2024-03-21 15:19 Michał Górny
2024-03-18 4:58 Michał Górny
2023-12-29 22:43 Sam James
2023-11-14 13:37 Michał Górny
2023-10-27 2:34 Sam James
2023-10-27 2:34 Sam James
2022-08-27 6:24 Michał Górny
2022-08-26 23:27 Sam James
2022-07-25 7:12 Michał Górny
2022-05-17 11:11 Michał Górny
2022-05-17 11:11 Michał Górny
2022-05-17 9:18 Agostino Sarubbo
2022-04-17 8:39 Michał Górny
2022-04-08 21:18 Michał Górny
2022-03-31 16:03 Michał Górny
2022-03-31 14:33 Jakov Smolić
2022-01-14 21:04 Michał Górny
2022-01-14 16:24 Agostino Sarubbo
2021-12-13 8:09 Michał Górny
2021-12-13 3:09 Yixun Lan
2021-12-12 10:01 Michał Górny
2021-12-12 9:45 Jakov Smolić
2021-11-15 22:36 Michał Górny
2021-11-14 20:53 Michał Górny
2021-11-08 8:31 Michał Górny
2021-08-16 6:38 Michał Górny
2021-08-16 5:13 Agostino Sarubbo
2021-07-15 9:22 Michał Górny
2021-06-05 13:52 Michał Górny
2021-01-27 9:00 Michał Górny
2021-01-27 3:06 Sam James
2020-12-25 9:17 Michał Górny
2020-12-17 17:09 Michał Górny
2020-12-16 11:51 Michał Górny
2020-11-15 21:59 Michał Górny
2020-11-15 13:07 Michał Górny
2020-11-15 11:39 Sam James
2020-10-07 18:37 Michał Górny
2020-09-18 14:48 Michał Górny
2020-09-08 19:11 Michał Górny
2020-07-25 7:36 Michał Górny
2020-07-25 7:36 Michał Górny
2020-03-27 10:42 Michał Górny
2020-02-12 21:51 Zac Medico
2020-02-05 14:05 Michał Górny
2019-09-24 5:01 Joonas Niilola
2019-03-12 21:52 William Hubbs
2017-06-29 22:04 Sebastien Fabbro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1645896097.b4aedf952e88c8cf8f638eebe502b528448e5d5b.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox