diff options
author | Marius Bakke <marius@gnu.org> | 2022-11-22 07:58:25 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-11-22 08:37:26 +0100 |
commit | 4147c43a9c10079bdeacedb5ae259990fc0b2f50 (patch) | |
tree | 863f49362f1416831155f764fdee59f129edd1d8 /gnu | |
parent | 1d7f0a96f47c271f4efd37c23cee827b4cfb9d60 (diff) | |
download | guix-4147c43a9c10079bdeacedb5ae259990fc0b2f50.tar guix-4147c43a9c10079bdeacedb5ae259990fc0b2f50.tar.gz |
gnu: python-py3dns: Fix build failure.
* gnu/packages/python-xyz.scm (python-py3dns)[arguments]: Remove sanity check.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-xyz.scm | 6 |
1 files 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") |