This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new cf34ba66cf gnu: python-dnspython: Only add dependencies if they are
supported.
cf34ba66cf is described below
commit cf34ba66cf614358dfac925212d6a9074e318d80
Author: Efraim Flashner <[email protected]>
AuthorDate: Tue Jan 21 10:45:06 2025 +0200
gnu: python-dnspython: Only add dependencies if they are supported.
* gnu/packages/python-xyz.scm (python-dnspython)[propagated-inputs]:
Only add python-cryptography, python-aioquic, python-h2,
python-httpcore, python-httpx if the architecture has support for
python-cryptography.
Change-Id: Ibdd33b8ccd24ef2a08f16dddba8c8bda65d23c04
---
gnu/packages/python-xyz.scm | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a93ce13593..41735a78ea 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14,7 +14,7 @@
;;; Copyright © 2015, 2016, 2017, 2019, 2022 Leo Famulari <[email protected]>
;;; Copyright © 2015, 2017 Ben Woodcroft <[email protected]>
;;; Copyright © 2015, 2016 Erik Edrosa <[email protected]>
-;;; Copyright © 2015-2024 Efraim Flashner <[email protected]>
+;;; Copyright © 2015-2025 Efraim Flashner <[email protected]>
;;; Copyright © 2015, 2017, 2020 Kyle Meyer <[email protected]>
;;; Copyright © 2015, 2016 Chris Marusich <[email protected]>
;;; Copyright © 2016 Danny Milosavljevic <[email protected]>
@@ -23191,13 +23191,19 @@ until the object is actually required, and caches the
result of said call.")
(list python-hatchling
python-pytest))
(propagated-inputs
- (list python-cryptography
- python-aioquic
- python-h2
- python-httpcore
- python-httpx
- python-idna
- python-trio))
+ (append
+ (if (supported-package? python-cryptography)
+ (list ;; DNSSEC
+ python-cryptography
+ ;; DNS over Quic
+ python-aioquic
+ ;; DNS over HTTPS
+ python-h2
+ python-httpcore
+ python-httpx)
+ '())
+ (list python-idna
+ python-trio)))
(home-page "https://www.dnspython.org")
(synopsis "DNS toolkit for Python")
(description