guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

21/25: gnu: python-py3dns: Fix build failure.


From: guix-commits
Subject: 21/25: gnu: python-py3dns: Fix build failure.
Date: Tue, 22 Nov 2022 02:38:44 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 4147c43a9c10079bdeacedb5ae259990fc0b2f50
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Nov 22 07:58:25 2022 +0100

    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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]