diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-30 22:03:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-30 22:03:23 +0100 |
commit | ed6e9ebb6ab4abd792d5b15e97ec245603dd6e2d (patch) | |
tree | e1f5f93f2986a4038351e6cf4804eb0c2aad060d /net-dns/dnsviz | |
parent | 8b63b46fda85d54cfbe94df2444a3ddd3e63b8e4 (diff) |
gentoo auto-resync : 30:03:2023 - 22:03:23
Diffstat (limited to 'net-dns/dnsviz')
-rw-r--r-- | net-dns/dnsviz/Manifest | 6 | ||||
-rw-r--r-- | net-dns/dnsviz/dnsviz-0.9.4-r1.ebuild (renamed from net-dns/dnsviz/dnsviz-0.9.4.ebuild) | 45 | ||||
-rw-r--r-- | net-dns/dnsviz/metadata.xml | 1 |
3 files changed, 31 insertions, 21 deletions
diff --git a/net-dns/dnsviz/Manifest b/net-dns/dnsviz/Manifest index c430dc9483eb..80fd164c2049 100644 --- a/net-dns/dnsviz/Manifest +++ b/net-dns/dnsviz/Manifest @@ -1,3 +1,3 @@ -DIST dnsviz-0.9.4.tar.gz 477971 BLAKE2B 3c8bebcea89bc6e78247c45c4266f73be4f9f618bfaa48a47460a43deb4789fe71eaa77eb4ff59c2d8e863cdfdddaf5908279aad93ffd63fdbe16d0966aa943b SHA512 b88d0ddff6279078a5222b4250a404c39db6d896d57bba51c878c8b8d01582deda2fe67b5f6370d7a98389e09ad46bdf3903d77fee91c0291b14a9109f1739e3 -EBUILD dnsviz-0.9.4.ebuild 1463 BLAKE2B db576356e584c5cd4ce09ed65574c356dff7add247f8a2a8b7d02a620202f13d8df087798db2fbe806ca3682f2a0405b229bf2c9acba289c0d977a2436d61635 SHA512 a4226d76e364be0669b616d72d9883a59162a37e341d3949d217059e89c682ae99580ecc7781fddde76684ecb45f0da263da8261a7fbf998c8132d7a9174fe38 -MISC metadata.xml 482 BLAKE2B 0cbdba25f485a7eca25f8c9978f16637878cca931ce4f43320efe579b35286c6a1ce8319d2144f5e48367b61d3c0818f076848f6bb86ecc3fdb98d62ff74c184 SHA512 1c4d34e000391515754dc345f56894279dfcf142dc7c12e91276f437d932c3d744c4ec36fd342f8a9040394d0c63af2113ebeea25d743b49b9d0359406827eb4 +DIST dnsviz-0.9.4.gh.tar.gz 477971 BLAKE2B 3c8bebcea89bc6e78247c45c4266f73be4f9f618bfaa48a47460a43deb4789fe71eaa77eb4ff59c2d8e863cdfdddaf5908279aad93ffd63fdbe16d0966aa943b SHA512 b88d0ddff6279078a5222b4250a404c39db6d896d57bba51c878c8b8d01582deda2fe67b5f6370d7a98389e09ad46bdf3903d77fee91c0291b14a9109f1739e3 +EBUILD dnsviz-0.9.4-r1.ebuild 1315 BLAKE2B 7ea8e379b0308b0bc69ac9a0e4ddf6c7c9183e9500dac00297d987fc8776a93230ab3d1391cc84300b064e7e58d31aaa8517df91ff38bcb87949b47fc91aef70 SHA512 c9b7df3a15fda9f24d73dcda7d85bfb55047ef24efb3d9a74f21c3ddbf2843e1718a7fc9bf507b3cb59113f2e08dc7aa37dd9f87b12549cf2af6de00ec412c19 +MISC metadata.xml 526 BLAKE2B 92a80291c1decfcbca0f153f2512013e9356476115d2b768df4c322179237d210dcf1a1c32e7b2664157788c9e0f3a69ddf45ca7cb7d4ec865168054d6bd1ed2 SHA512 ea5853c78aa415926d72f665fcf408de1185dc0b5ee7b8e1c584b9e325aad5a9df10fb6269866501bc2ac54ed8520ae6ec7a0ff928d56a7f156ec5a6398ff1d8 diff --git a/net-dns/dnsviz/dnsviz-0.9.4.ebuild b/net-dns/dnsviz/dnsviz-0.9.4-r1.ebuild index 9d3fcd89ed98..9b1dd27567af 100644 --- a/net-dns/dnsviz/dnsviz-0.9.4.ebuild +++ b/net-dns/dnsviz/dnsviz-0.9.4-r1.ebuild @@ -3,12 +3,21 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) +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/" -SRC_URI="https://github.com/dnsviz/dnsviz/archive/v${PV}.tar.gz -> ${P}.tar.gz" +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" @@ -16,13 +25,18 @@ KEYWORDS="~amd64 ~x86" IUSE="test" RESTRICT="!test? ( test )" -BDEPEND="test? ( net-dns/bind )" - -DEPEND=">=dev-python/dnspython-1.13[${PYTHON_USEDEP}] +RDEPEND=" + >=dev-python/dnspython-1.13[${PYTHON_USEDEP}] >=dev-python/m2crypto-0.37.0[${PYTHON_USEDEP}] - >=dev-python/pygraphviz-1.3.1[${PYTHON_USEDEP}]" - -RDEPEND="${DEPEND}" + >=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 @@ -31,19 +45,14 @@ python_prepare_all() { "${S}"/setup.py \ || die + # skip online tests + rm tests/*_online.py tests/dnsviz_probe_options.py || die + distutils-r1_python_prepare_all } python_test() { - distutils_install_for_testing - - "${EPYTHON}" tests/dnsviz_probe_run_offline.py -v || die - "${EPYTHON}" tests/dnsviz_print_options.py -v || die - "${EPYTHON}" tests/dnsviz_print_run.py -v || die - "${EPYTHON}" tests/dnsviz_graph_options.py -v || die - "${EPYTHON}" tests/dnsviz_graph_run.py -v || die - "${EPYTHON}" tests/dnsviz_grok_options.py -v || die - "${EPYTHON}" tests/dnsviz_grok_run.py -v || die + eunittest -s tests -p "*.py" || die } pkg_postinst() { 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> |