gnu: python-py3dns: Fix build failure.

* gnu/packages/python-xyz.scm (python-py3dns)[arguments]: Remove sanity check.
This commit is contained in:
Marius Bakke 2022-11-22 07:58:25 +01:00
parent 1d7f0a96f4
commit 4147c43a9c
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -17633,8 +17633,10 @@ (define-public python-py3dns
(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")