guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 91baa61832b4e5070cd3bbbce4c1093c4fdba03a
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Sep 5 12:33:03 2025 +0100
gnu: python-lxml: Switch to pyproject.
* gnu/packages/xml.scm (python-lxml) [build-system]: Switch to
pyproject-build-system.
[native-inputs]: Add python-setuptools.
Change-Id: Ib64a5e181dbc70fdb03607e05d79549ef2e51738
---
gnu/packages/xml.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 0d2be62d0c..2c1fb44c8b 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1933,13 +1933,15 @@ because lxml.etree already has its own implementation
of XPath 1.0.")
(uri (pypi-uri "lxml" version))
(sha256
(base32 "11yvrzlswlh81z6lpmds2is2jd3wkigpwj6mcfcaggl0h64w8bdv"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "make" "test")))))))
+ (native-inputs
+ (list python-setuptools))
(inputs
(list libxml2 libxslt))
(home-page "https://lxml.de/")