From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/dnsviz/
Date: Fri, 22 Jan 2021 14:42:09 +0000 (UTC) [thread overview]
Message-ID: <1611326525.e6f4e4ac3a9bc1b4d5cd790077daf940a67703d5.whissi@gentoo> (raw)
commit: e6f4e4ac3a9bc1b4d5cd790077daf940a67703d5
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 22 14:41:02 2021 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Jan 22 14:42:05 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6f4e4ac
net-dns/dnsviz: fix tests
Closes: https://bugs.gentoo.org/766486
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
net-dns/dnsviz/dnsviz-0.9.1.ebuild | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/net-dns/dnsviz/dnsviz-0.9.1.ebuild b/net-dns/dnsviz/dnsviz-0.9.1.ebuild
index a390da1b699..f4883add520 100644
--- a/net-dns/dnsviz/dnsviz-0.9.1.ebuild
+++ b/net-dns/dnsviz/dnsviz-0.9.1.ebuild
@@ -13,15 +13,16 @@ SRC_URI="https://github.com/dnsviz/dnsviz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
+RESTRICT="!test? ( test )"
-DEPEND="
- >=dev-python/dnspython-1.13[${PYTHON_USEDEP}]
+BDEPEND="test? ( net-dns/bind )"
+
+DEPEND=">=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}"
+RDEPEND="${DEPEND}"
python_prepare_all() {
# Fix the ebuild to use correct FHS/Gentoo policy paths
@@ -36,14 +37,13 @@ python_prepare_all() {
python_test() {
distutils_install_for_testing
- "${EPYTHON}" tests/offline_tests.py -v || die
-
- # No need to pull in net-dns/bind for this small test
- if hash named-checkconf &>/dev/null ; then
- "${EPYTHON}" tests/local_probe_tests.py -v || die
- else
- einfo "Skipping local_probe_tests -- named-checkconf not found!"
- fi
+ "${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
}
pkg_postinst() {
next reply other threads:[~2021-01-22 14:42 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-22 14:42 Thomas Deutschmann [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
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 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=1611326525.e6f4e4ac3a9bc1b4d5cd790077daf940a67703d5.whissi@gentoo \
--to=whissi@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