From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/dnsviz/
Date: Thu, 30 Mar 2023 20:00:19 +0000 (UTC) [thread overview]
Message-ID: <1680206414.31bf5adcf643bf78f7e1db259b2ca6efd57505c4.mgorny@gentoo> (raw)
commit: 31bf5adcf643bf78f7e1db259b2ca6efd57505c4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 30 19:40:48 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 30 20:00:14 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31bf5adc
net-dns/dnsviz: PEP517, py3.11
Closes: https://bugs.gentoo.org/897084
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-dns/dnsviz/Manifest | 1 +
net-dns/dnsviz/dnsviz-0.9.4-r1.ebuild | 61 +++++++++++++++++++++++++++++++++++
net-dns/dnsviz/metadata.xml | 1 +
3 files changed, 63 insertions(+)
diff --git a/net-dns/dnsviz/Manifest b/net-dns/dnsviz/Manifest
index ed5d40952fa9..be89f25e6332 100644
--- a/net-dns/dnsviz/Manifest
+++ b/net-dns/dnsviz/Manifest
@@ -1 +1,2 @@
+DIST dnsviz-0.9.4.gh.tar.gz 477971 BLAKE2B 3c8bebcea89bc6e78247c45c4266f73be4f9f618bfaa48a47460a43deb4789fe71eaa77eb4ff59c2d8e863cdfdddaf5908279aad93ffd63fdbe16d0966aa943b SHA512 b88d0ddff6279078a5222b4250a404c39db6d896d57bba51c878c8b8d01582deda2fe67b5f6370d7a98389e09ad46bdf3903d77fee91c0291b14a9109f1739e3
DIST dnsviz-0.9.4.tar.gz 477971 BLAKE2B 3c8bebcea89bc6e78247c45c4266f73be4f9f618bfaa48a47460a43deb4789fe71eaa77eb4ff59c2d8e863cdfdddaf5908279aad93ffd63fdbe16d0966aa943b SHA512 b88d0ddff6279078a5222b4250a404c39db6d896d57bba51c878c8b8d01582deda2fe67b5f6370d7a98389e09ad46bdf3903d77fee91c0291b14a9109f1739e3
diff --git a/net-dns/dnsviz/dnsviz-0.9.4-r1.ebuild b/net-dns/dnsviz/dnsviz-0.9.4-r1.ebuild
new file mode 100644
index 000000000000..9b1dd27567af
--- /dev/null
+++ b/net-dns/dnsviz/dnsviz-0.9.4-r1.ebuild
@@ -0,0 +1,61 @@
+# 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_{9..11} )
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Tool suite for analysis and visualization of DNS and DNSSEC"
+HOMEPAGE="
+ https://dnsviz.net/
+ https://github.com/dnsviz/dnsviz/
+ https://pypi.org/project/dnsviz/
+"
+SRC_URI="
+ https://github.com/dnsviz/dnsviz/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-python/dnspython-1.13[${PYTHON_USEDEP}]
+ >=dev-python/m2crypto-0.37.0[${PYTHON_USEDEP}]
+ >=dev-python/pygraphviz-1.3.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ media-gfx/graphviz
+ test? (
+ ${RDEPEND}
+ net-dns/bind
+ )
+"
+
+python_prepare_all() {
+ # Fix the ebuild to use correct FHS/Gentoo policy paths
+ sed -i \
+ -e "s|share/doc/dnsviz|share/doc/${PF}|g" \
+ "${S}"/setup.py \
+ || die
+
+ # skip online tests
+ rm tests/*_online.py tests/dnsviz_probe_options.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ eunittest -s tests -p "*.py" || die
+}
+
+pkg_postinst() {
+ optfeature "Support for pre-deployment testing" net-dns/bind
+ optfeature "Support for DNSSEC signatures using GOST algorithm or digest" dev-libs/ghost-engine
+}
diff --git a/net-dns/dnsviz/metadata.xml b/net-dns/dnsviz/metadata.xml
index 4d5fa79a603b..7c2d577552be 100644
--- a/net-dns/dnsviz/metadata.xml
+++ b/net-dns/dnsviz/metadata.xml
@@ -9,5 +9,6 @@
</longdescription>
<upstream>
<remote-id type="github">dnsviz/dnsviz</remote-id>
+ <remote-id type="pypi">dnsviz</remote-id>
</upstream>
</pkgmetadata>
next reply other threads:[~2023-03-30 20:00 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-30 20:00 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-02 4:57 [gentoo-commits] repo/gentoo:master commit in: net-dns/dnsviz/ Sam James
2024-06-02 4:57 Sam James
2023-06-20 12:04 Florian Schmaus
2023-03-30 20:00 Michał Górny
2022-07-02 15:53 Sam James
2022-06-03 7:36 Sam James
2021-09-29 16:55 Thomas Deutschmann
2021-03-20 8:25 Joonas Niilola
2021-03-18 20:32 Thomas Deutschmann
2021-02-09 18:47 Thomas Deutschmann
2021-01-22 14:42 Thomas Deutschmann
2021-01-22 0:06 Thomas Deutschmann
2020-08-22 13:41 Thomas Deutschmann
2020-08-22 13:41 Thomas Deutschmann
2020-08-22 13:41 Thomas Deutschmann
2020-08-22 13:41 Thomas Deutschmann
2020-08-22 13:41 Thomas Deutschmann
2020-02-05 6:43 Michał Górny
2019-10-23 5:10 Joonas Niilola
2019-08-12 8:02 Agostino Sarubbo
2019-04-03 20:17 Patrice Clement
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=1680206414.31bf5adcf643bf78f7e1db259b2ca6efd57505c4.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