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
This commit is contained in:
宋文武 2025-01-14 15:07:02 +08:00 committed by Ricardo Wurmus
parent 186e9c9ccc
commit d18a6383ca
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1119,21 +1119,25 @@ (define-public pugixml
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