diff options
author | Ricardo Wurmus <[email protected]> | 2025-01-10 21:38:10 +0100 |
---|---|---|
committer | Ricardo Wurmus <[email protected]> | 2025-01-20 21:37:42 +0100 |
commit | c6ead15d32e7a9dfe0e0b08c1776b473a6f0e264 (patch) | |
tree | 1397876877f4c491914d458eb937e977ee2f409b /gnu/packages/python-xyz.scm | |
parent | 573ca3028d9df5adffdd4a018b1037971902b6ee (diff) |
gnu: python-multipart: Update to 0.0.20.
* gnu/packages/python-xyz.scm (python-multipart): Update to 0.0.20.
[native-inputs]: Remove python-mock, python-setuptools, and python-wheel; add
python-hatchling.
[build-system]: Use pyproject-build-system.
[arguments]: Remove.
Change-Id: If5400ee7e77ada5ad84fa06cf27f0190d55ad805
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 31 |
1 files changed, 6 insertions, 25 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 98fe7f1cab..cdc719c582 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -37777,38 +37777,19 @@ writing STL files. It supports both the text and binary forms of STL.") (define-public python-multipart (package (name "python-multipart") - (version "0.0.5") + (version "0.0.20") (source (origin (method url-fetch) - (uri (pypi-uri "python-multipart" version)) + (uri (pypi-uri "python_multipart" version)) (sha256 (base32 - "0hzshd665rl1bkwvaj9va4j3gs8nmb478fbvligx20663xhmzfzp")))) - (build-system python-build-system) - (propagated-inputs (list python-six)) + "04wxzakk3hs4z4xf3ldhym3gm46hjicn4iwiw150c8wfbfscml4d")))) + (build-system pyproject-build-system) (native-inputs - (list python-mock + (list python-hatchling python-pytest python-pytest-cov - python-pyyaml - python-setuptools - python-wheel)) - (arguments - `(#:phases (modify-phases %standard-phases - ;; There is a bug in the test_suit specification. - (add-after 'unpack 'patch-test-suite - (lambda _ - ;; Make compatible with PyYAML 6. - (substitute* "multipart/tests/test_multipart.py" - (("yaml.load") - "yaml.safe_load")) - (substitute* "setup.py" - (("test_suite = 'multipart.tests.suite'") - "test_suite = 'multipart.tests.test_multipart.suite'")) - ;; Needed by PyYAML 6.0. - (substitute* "multipart/tests/test_multipart.py" - (("yaml_data = yaml.load\\(f\\)") - "yaml_data = yaml.load(f, Loader=yaml.SafeLoader)"))))))) + python-pyyaml)) (home-page "https://github.com/andrew-d/python-multipart") (synopsis "Streaming multipart parser for Python") (description |