[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
124/299: gnu: python-dnspython-1.16: Add missing inputs.
From: |
guix-commits |
Subject: |
124/299: gnu: python-dnspython-1.16: Add missing inputs. |
Date: |
Mon, 13 Jan 2025 15:18:12 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 6eaf7d2fedbf8c8f81f04767fb5b3c55b4d8573d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jan 2 22:58:59 2025 +0100
gnu: python-dnspython-1.16: Add missing inputs.
* gnu/packages/python-xyz.scm (python-dnspython-1.16)[arguments]: Add phase
'compatibility.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
Change-Id: I2d26d6607e4e376f204b790f14f38e067ebdc456
---
gnu/packages/python-xyz.scm | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 08ba162229..146ec338bb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23088,7 +23088,26 @@ It supports TSIG authenticated messages and EDNS0.")
(sha256
(base32
"1yaw7irazy42n0kdhlk7wyg8ki34rxcnc5xbc1wfwy245b0wbxab"))))
- (native-inputs '())))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'compatibility
+ (lambda _
+ (substitute* "dns/namedict.py"
+ (("collections.MutableMapping")
+ "collections.abc.MutableMapping"))))
+ (add-after 'unpack 'patch-getprotobyname-calls
+ ;; These calls are problematic in the build environment as there is
+ ;; no /etc/protocols. This breaks the sanity-check phase of any
+ ;; package depnding on this one.
+ (lambda _
+ (substitute* "dns/rdtypes/IN/WKS.py"
+ (("socket.getprotobyname\\('tcp'\\)")
+ "6")
+ (("socket.getprotobyname\\('udp'\\)")
+ "17")))))))
+ (native-inputs (list python-pytest python-setuptools python-wheel))))
(define-public python-py3dns
(package
- 244/299: gnu: python-sybil: Update to 9.0.0., (continued)
- 244/299: gnu: python-sybil: Update to 9.0.0., guix-commits, 2025/01/13
- 264/299: gnu: python-django-pipeline: Update to 4.0.0., guix-commits, 2025/01/13
- 265/299: gnu: python-django-redis: Use pyproject-build-system., guix-commits, 2025/01/13
- 271/299: gnu: python-django-simple-math-captcha: Update to 2.0.0., guix-commits, 2025/01/13
- 281/299: gnu: python-itanium-demangler: Add missing inputs., guix-commits, 2025/01/13
- 282/299: gnu: python-xarray-datatree: Add missing inputs., guix-commits, 2025/01/13
- 275/299: gnu: python-socketio: Update to 5.12.1., guix-commits, 2025/01/13
- 285/299: gnu: python-pyrodigal: Add missing input., guix-commits, 2025/01/13
- 288/299: gnu: python-claripy: Add missing inputs., guix-commits, 2025/01/13
- 291/299: gnu: python-pyvex: Add missing inputs., guix-commits, 2025/01/13
- 124/299: gnu: python-dnspython-1.16: Add missing inputs.,
guix-commits <=
- 298/299: gnu: python-django-allauth: Update to 65.3.1., guix-commits, 2025/01/13