From 4147c43a9c10079bdeacedb5ae259990fc0b2f50 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 22 Nov 2022 07:58:25 +0100 Subject: [PATCH] gnu: python-py3dns: Fix build failure. * gnu/packages/python-xyz.scm (python-py3dns)[arguments]: Remove sanity check. --- gnu/packages/python-xyz.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7e667ef7e1..4ee572096f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17633,8 +17633,10 @@ It supports TSIG authenticated messages and EDNS0.") (lambda _ (substitute* "setup.py" (("import DNS") "") - (("DNS.__version__") (string-append "\"" ,version "\""))) - #t))) + (("DNS.__version__") (string-append "\"" ,version "\""))))) + ;; For the same reason, drop the sanity check because the library + ;; fails to load without /etc/resolv.conf. + (delete 'sanity-check)) #:tests? #f)) ; Also skip the tests. (home-page "https://launchpad.net/py3dns") (synopsis "Python 3 DNS library")