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 B18C5158009 for ; Tue, 20 Jun 2023 12:04:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3BC2E0928; Tue, 20 Jun 2023 12:04:05 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 D7F7CE0928 for ; Tue, 20 Jun 2023 12:04: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 F2A71340F5D for ; Tue, 20 Jun 2023 12:04:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8FA65990 for ; Tue, 20 Jun 2023 12:04:03 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1687262630.366f9ce7515ffe446d59c78fc1f5bbb73b26e2e2.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/dnsviz/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/dnsviz/Manifest net-dns/dnsviz/dnsviz-0.10.0.ebuild X-VCS-Directories: net-dns/dnsviz/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 366f9ce7515ffe446d59c78fc1f5bbb73b26e2e2 X-VCS-Branch: master Date: Tue, 20 Jun 2023 12:04: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: f7212fe2-a5bc-4fce-a928-3e9d27d88819 X-Archives-Hash: fed75555c17cce424b3ecd74cab07ef9 commit: 366f9ce7515ffe446d59c78fc1f5bbb73b26e2e2 Author: Florian Schmaus gentoo org> AuthorDate: Tue Jun 20 12:02:13 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Tue Jun 20 12:03:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=366f9ce7 net-dns/dnsviz: add 0.10.0 Switched to commit archive, since upstream did not yet tag 0.10.0 (see https://github.com/dnsviz/dnsviz/issues/122). Signed-off-by: Florian Schmaus gentoo.org> net-dns/dnsviz/Manifest | 1 + net-dns/dnsviz/dnsviz-0.10.0.ebuild | 66 +++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/net-dns/dnsviz/Manifest b/net-dns/dnsviz/Manifest index 7a85b0853301..0043a830fa7f 100644 --- a/net-dns/dnsviz/Manifest +++ b/net-dns/dnsviz/Manifest @@ -1 +1,2 @@ +DIST dnsviz-0.10.0.gh.tar.gz 480916 BLAKE2B 51cdf40d91429447b01470f9356140ed53b488c6831bd06a8352493c0938d995c625024c2a976c2d7408a56085d15dcdbfe70486304a7d0c2168d93033939659 SHA512 0bc07ad6edc25986ca17d5e02bee6e120c2e3f01d3ee015a8ed8d8a6471f3e1b3176bc3194a0b9172cf789bac42548fb64f095fc94264bd8ea97a9b1ed484114 DIST dnsviz-0.9.4.gh.tar.gz 477971 BLAKE2B 3c8bebcea89bc6e78247c45c4266f73be4f9f618bfaa48a47460a43deb4789fe71eaa77eb4ff59c2d8e863cdfdddaf5908279aad93ffd63fdbe16d0966aa943b SHA512 b88d0ddff6279078a5222b4250a404c39db6d896d57bba51c878c8b8d01582deda2fe67b5f6370d7a98389e09ad46bdf3903d77fee91c0291b14a9109f1739e3 diff --git a/net-dns/dnsviz/dnsviz-0.10.0.ebuild b/net-dns/dnsviz/dnsviz-0.10.0.ebuild new file mode 100644 index 000000000000..2638e94461f9 --- /dev/null +++ b/net-dns/dnsviz/dnsviz-0.10.0.ebuild @@ -0,0 +1,66 @@ +# 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/ +" + +# 0.10.0 is untagged, see https://github.com/dnsviz/dnsviz/issues/122 +SRC_URI=" + https://github.com/dnsviz/dnsviz/archive/86ceba56e8ed23df0ec091b8750025ac374f3916.tar.gz + -> ${P}.gh.tar.gz +" + +SLOT="0" + +S="${WORKDIR}/${PN}-86ceba56e8ed23df0ec091b8750025ac374f3916" + +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/test_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 +}