summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2025-01-21 10:45:06 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-01-21 10:48:31 +0200
commitcf34ba66cf614358dfac925212d6a9074e318d80 (patch)
tree096a5ae43621699d763e59372655a808a14d6d46
parent1b1387c44a3a6107e7a9a232e0ec207c98acbf15 (diff)
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
-rw-r--r--gnu/packages/python-xyz.scm22
1 files changed, 14 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a93ce13593d..41735a78ead 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14,7 +14,7 @@
14;;; Copyright © 2015, 2016, 2017, 2019, 2022 Leo Famulari <leo@famulari.name> 14;;; Copyright © 2015, 2016, 2017, 2019, 2022 Leo Famulari <leo@famulari.name>
15;;; Copyright © 2015, 2017 Ben Woodcroft <donttrustben@gmail.com> 15;;; Copyright © 2015, 2017 Ben Woodcroft <donttrustben@gmail.com>
16;;; Copyright © 2015, 2016 Erik Edrosa <erik.edrosa@gmail.com> 16;;; Copyright © 2015, 2016 Erik Edrosa <erik.edrosa@gmail.com>
17;;; Copyright © 2015-2024 Efraim Flashner <efraim@flashner.co.il> 17;;; Copyright © 2015-2025 Efraim Flashner <efraim@flashner.co.il>
18;;; Copyright © 2015, 2017, 2020 Kyle Meyer <kyle@kyleam.com> 18;;; Copyright © 2015, 2017, 2020 Kyle Meyer <kyle@kyleam.com>
19;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com> 19;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com>
20;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org> 20;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
@@ -23191,13 +23191,19 @@ until the object is actually required, and caches the result of said call.")
23191 (list python-hatchling 23191 (list python-hatchling
23192 python-pytest)) 23192 python-pytest))
23193 (propagated-inputs 23193 (propagated-inputs
23194 (list python-cryptography 23194 (append
23195 python-aioquic 23195 (if (supported-package? python-cryptography)
23196 python-h2 23196 (list ;; DNSSEC
23197 python-httpcore 23197 python-cryptography
23198 python-httpx 23198 ;; DNS over Quic
23199 python-idna 23199 python-aioquic
23200 python-trio)) 23200 ;; DNS over HTTPS
23201 python-h2
23202 python-httpcore
23203 python-httpx)
23204 '())
23205 (list python-idna
23206 python-trio)))
23201 (home-page "https://www.dnspython.org") 23207 (home-page "https://www.dnspython.org")
23202 (synopsis "DNS toolkit for Python") 23208 (synopsis "DNS toolkit for Python")
23203 (description 23209 (description