From 1cc3d3730bf83076307b63e0bab2d1ce14744965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Tue, 14 Jan 2025 15:07:02 +0800 Subject: [PATCH] gnu: python-pyxb: Switch to maintained fork pyxb-x. * gnu/packages/xml.scm (python-pyxb): Remove variable. (python-pyxb-x): New variable. Change-Id: I92d0157788542d81e024bb87a373075c6d2d1990 --- gnu/packages/xml.scm | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 57a069430191c93bbbe2d4070ec11997f205bb4a..2f69911b97f1472e14581fe7d1c79e2cbfaf12d1 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -1119,21 +1119,25 @@ different Unicode encodings which happen automatically during parsing/saving.") (license license:expat))) -(define-public python-pyxb +(define-public python-pyxb-x (package - (name "python-pyxb") - (version "1.2.6") - (source (origin - (method url-fetch) - (uri (pypi-uri "PyXB" version)) - (sha256 - (base32 - "1d17pyixbfvjyi2lb0cfp0ch8wwdf44mmg3r5pwqhyyqs66z601a")))) - (build-system python-build-system) - (home-page "https://pyxb.sourceforge.net/") + (name "python-pyxb-x") + (version "1.2.6.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyxb_x" version)) + (sha256 + (base32 "1d9p42aklk0w5yy39p319h5ldvy7glng0jcgcjk6xgg6sfl1yh5z")))) + (build-system pyproject-build-system) + (arguments + ;; XXX: tests FAILED (failures=3, errors=122) + (list #:tests? #f)) + (native-inputs (list python-setuptools python-wheel)) + (home-page "http://pyxb.sourceforge.net") (synopsis "Python XML Schema Bindings") (description - "PyXB (\"pixbee\") is a pure Python package that generates Python source + "@code{PyXB-X} (\"pixbix\") is a pure Python package that generates Python source code for classes that correspond to data structures defined by XMLSchema.") (license (list license:asl2.0 ; Most files. license:expat ; pyxb/utils/six.py