[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/11: gnu: python-dnspython-1.16: Add missing inputs.
From: |
guix-commits |
Subject: |
10/11: gnu: python-dnspython-1.16: Add missing inputs. |
Date: |
Thu, 2 Jan 2025 17:02:06 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit aca35fbb4c64eb75aee409ed890e8e6fc90de51a
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 93bb736e31..dce585c10b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23060,7 +23060,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
- branch python-team updated (f725d59ffa -> 883fd35c80), guix-commits, 2025/01/02
- 03/11: gnu: python-nr-date: Remove old version of dataclasses., guix-commits, 2025/01/02
- 08/11: gnu: python-aws-xray-sdk: Update to 2.14.0., guix-commits, 2025/01/02
- 09/11: gnu: python-jose: Fix build., guix-commits, 2025/01/02
- 06/11: gnu: python-botocore: Update to 1.35.90., guix-commits, 2025/01/02
- 05/11: gnu: python-botocore: Limit number of parallel test workers., guix-commits, 2025/01/02
- 04/11: gnu: python-astral: Remove old version of dataclasses., guix-commits, 2025/01/02
- 07/11: gnu: python-pyvisa: Update to 1.14.1., guix-commits, 2025/01/02
- 01/11: gnu: python-jsonargparse: Remove old version of dataclasses., guix-commits, 2025/01/02
- 02/11: gnu: python-apprise: Update to 1.9.1., guix-commits, 2025/01/02
- 10/11: gnu: python-dnspython-1.16: Add missing inputs.,
guix-commits <=
- 11/11: gnu: python-py-partiql-parser: Update to 0.6.1., guix-commits, 2025/01/02