diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index f1e2bd49cb..e8dedf1cdd 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -151,7 +151,7 @@ (define-public calibre ("python2-css-parser" ,python2-css-parser) ("python2-dateutil" ,python2-dateutil) ("python2-dbus" ,python2-dbus) - ("python2-dnspython" ,python2-dnspython) + ("python2-dnspython" ,python2-dnspython-1.16) ("python2-dukpy" ,python2-dukpy) ("python2-feedparser" ,python2-feedparser) ("python2-html2text" ,python2-html2text) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 0ab033b796..6bd6827160 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -525,7 +525,7 @@ (define-public electrum ("python-aiohttp-socks" ,python-aiohttp-socks) ("python-aiorpcx" ,python-aiorpcx) ("python-certifi" ,python-certifi) - ("python-dnspython" ,python-dnspython) + ("python-dnspython" ,python-dnspython-1.16) ("python-jsonrpclib-pelix" ,python-jsonrpclib-pelix))) (arguments `(#:tests? #f ; no tests diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c650c582d5..53f4f83f14 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2015, 2017 Ben Woodcroft ;;; Copyright © 2015, 2016 Erik Edrosa ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner -;;; Copyright © 2015, 2017 Kyle Meyer +;;; Copyright © 2015, 2017, 2020 Kyle Meyer ;;; Copyright © 2015, 2016 Chris Marusich ;;; Copyright © 2016 Danny Milosavljevic ;;; Copyright © 2016 Lukas Gradl @@ -13353,6 +13353,27 @@ (define-public python2-lazy-object-proxy (define-public python-dnspython (package (name "python-dnspython") + (version "2.0.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "dnspython" version ".zip")) + (sha256 + (base32 + "1dyip5ygqqhrgcaiy7qzjpndl9xciip186paxqwkm726fj9z0jh4")))) + (build-system python-build-system) + (native-inputs `(("unzip" ,unzip))) + (arguments '(#:tests? #f)) ; XXX: requires internet access + (home-page "https://www.dnspython.org") + (synopsis "DNS toolkit for Python") + (description + "dnspython is a DNS toolkit for Python. It supports almost all record +types. It can be used for queries, zone transfers, and dynamic updates. +It supports TSIG authenticated messages and EDNS0.") + (license license:expat))) + +(define-public python-dnspython-1.16 + (package + (inherit python-dnspython) (version "1.16.0") (source (origin (method url-fetch) @@ -13361,18 +13382,10 @@ (define-public python-dnspython (sha256 (base32 "1yaw7irazy42n0kdhlk7wyg8ki34rxcnc5xbc1wfwy245b0wbxab")))) - (build-system python-build-system) - (arguments '(#:tests? #f)) ; XXX: requires internet access - (home-page "http://www.dnspython.org") - (synopsis "DNS toolkit for Python") - (description - "dnspython is a DNS toolkit for Python. It supports almost all record -types. It can be used for queries, zone transfers, and dynamic updates. -It supports TSIG authenticated messages and EDNS0.") - (license license:expat))) + (native-inputs '()))) -(define-public python2-dnspython - (package-with-python2 python-dnspython)) +(define-public python2-dnspython-1.16 + (package-with-python2 python-dnspython-1.16)) (define-public python-py3dns (package diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index f26b114d1a..55157443d1 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -6431,7 +6431,7 @@ (define-public linkchecker "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187")))) (build-system python-build-system) (inputs - `(("python2-dnspython" ,python2-dnspython) + `(("python2-dnspython" ,python2-dnspython-1.16) ("python2-pyxdg" ,python2-pyxdg) ("python2-requests" ,python2-requests))) (native-inputs