From 7a8a4fd7a73f81d99e293ae9f2c70357524beba1 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 8 Dec 2020 02:46:40 +0000 Subject: gnu: python-dnspython: Update to 2.0.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-dnspython): Update to 2.0.0. [source]: Download from pypi. [native-inputs]: Add unzip. [home-page]: Prefer https. (python-dnspython-1.16): (python2-dnspython-1.16): New variables. * gnu/packages/ebook.scm (calibre): * gnu/packages/web.scm (linkchecker): Use python2-dnspython-1.16. * gnu/packages/finance.scm (electrum): Use python-dnspython-1.16. Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) (limited to 'gnu/packages/python-xyz.scm') 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,17 +13353,17 @@ until the object is actually required, and caches the result of said call.") (define-public python-dnspython (package (name "python-dnspython") - (version "1.16.0") + (version "2.0.0") (source (origin (method url-fetch) - (uri (string-append "http://www.dnspython.org/kits/" - version "/dnspython-" version ".tar.gz")) + (uri (pypi-uri "dnspython" version ".zip")) (sha256 (base32 - "1yaw7irazy42n0kdhlk7wyg8ki34rxcnc5xbc1wfwy245b0wbxab")))) + "1dyip5ygqqhrgcaiy7qzjpndl9xciip186paxqwkm726fj9z0jh4")))) (build-system python-build-system) + (native-inputs `(("unzip" ,unzip))) (arguments '(#:tests? #f)) ; XXX: requires internet access - (home-page "http://www.dnspython.org") + (home-page "https://www.dnspython.org") (synopsis "DNS toolkit for Python") (description "dnspython is a DNS toolkit for Python. It supports almost all record @@ -13371,8 +13371,21 @@ types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG authenticated messages and EDNS0.") (license license:expat))) -(define-public python2-dnspython - (package-with-python2 python-dnspython)) +(define-public python-dnspython-1.16 + (package + (inherit python-dnspython) + (version "1.16.0") + (source (origin + (method url-fetch) + (uri (string-append "http://www.dnspython.org/kits/" + version "/dnspython-" version ".tar.gz")) + (sha256 + (base32 + "1yaw7irazy42n0kdhlk7wyg8ki34rxcnc5xbc1wfwy245b0wbxab")))) + (native-inputs '()))) + +(define-public python2-dnspython-1.16 + (package-with-python2 python-dnspython-1.16)) (define-public python-py3dns (package -- cgit v1.2.3