diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-26 19:44:15 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-28 20:27:21 +0000 |
| commit | 74d3a8088337cd033e6d2a78c2e571c9006b1b49 (patch) | |
| tree | d4b3c8c15ac62da586a1aa7e913e54f19b0501ed | |
| parent | a04994529f9c73c610f1516f318af85042604e45 (diff) | |
gnu: python-dns-lexicon: Update to 3.21.1.
* gnu/packages/python-xyz.scm (python-dns-lexicon): Update to 3.21.1.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Enable them.
<#:test-flags>: Disable failing tests.
<#:phases>: Add phase 'configure-tests.
[native-inputs]: Add nss-certs-for-test, python-hatchling,
python-setuptools.
[propagated-inputs]: Update them (with guix refresh).
[home-page]: Update it.
Change-Id: I6aba8ff29d7505313e7806a463a293f613d1b391
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/python-xyz.scm | 39 |
1 files changed, 27 insertions, 12 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5a6c1c0939a..419844d8cfd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27652,23 +27652,38 @@ derivation parsing, namingly @code{b32decode()}, @code{b32encode()} and (define-public python-dns-lexicon (package (name "python-dns-lexicon") - (version "2.4.0") + (version "3.21.1") (source (origin - (method url-fetch) - (uri (pypi-uri "dns-lexicon" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dns-lexicon/dns-lexicon") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "0jdn3ns71bsybr7njgsqr9xlxsqh7zh6phn4ld0liazqdn2l5f6m")))) - (build-system python-build-system) + (base32 "138j8nrkrisn7kh5rqi2wz130p6vr4bkaw1pmbfpjkdjk118ng8c")))) + (build-system pyproject-build-system) (arguments - `(#:tests? #f)) ;requires internet access + (list + ;; Integration tests require network access. + #:test-flags #~(list "--ignore-glob=tests/providers/*.py") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'configure-tests + (lambda _ + (setenv "HOME" (getcwd))))))) + (native-inputs (list nss-certs-for-test python-hatchling python-pytest)) (propagated-inputs - (list python-future python-pynamecheap python-requests - python-tldextract python-urllib3)) - (home-page "https://github.com/AnalogJ/lexicon") - (synopsis - "Manipulate DNS records on various DNS providers") + (list python-beautifulsoup4 + python-cryptography + python-dnspython + python-importlib-metadata + python-pyotp + python-pyyaml + python-requests + python-tldextract)) + (home-page "https://github.com/dns-lexicon/dns-lexicon") + (synopsis "Manipulate DNS records on various DNS providers") (description "Lexicon provides a way to manipulate DNS records on multiple DNS providers in a standardized way. It has a CLI but it can also be used as a |
