diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-25 11:12:54 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-25 11:32:13 +0100 |
commit | 12cad7175d4fc980acfffa86d2e9a2b2b09a57a9 (patch) | |
tree | 141d41451af90b784508450d17b1d0dde05d4f8a /gnu/packages/python-xyz.scm | |
parent | 5476a33c76de84b57894a1845afa0a81481c8c46 (diff) |
gnu: python-multipledispatch: Update to 1.0.0.
* gnu/packages/python-xyz.scm (python-multipledispatch): Update to 1.0.0.
[source]: Switch to git-fetch providing tests.
[build-system]: Use pypojrect.
[propagated-inputs]: Remove python-six.
[native-inputs]: Add python-pytest, python-pytest-benchmark, and
python-setuptools-next.
Change-Id: I477c10effde220e36f046708be926cee833c758d
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7f9956779d..850c4dac49 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -36426,20 +36426,26 @@ graph can be output for rendering by GraphViz or yEd.") (define-public python-multipledispatch (package (name "python-multipledispatch") - (version "0.6.0") + (version "1.0.0") (source (origin - (method url-fetch) - (uri (pypi-uri "multipledispatch" version)) + (method git-fetch) ;no tests in PyPI archive + (uri (git-reference + (url "https://github.com/mrocklin/multipledispatch") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1slblghfjg9fdi9zpd7gmrkvfbv20nrdgnrymcnbky8bzm8i9ax7")))) - (build-system python-build-system) - (propagated-inputs (list python-six)) + (base32 "0dfnav03bgrp5sxn53gyp4kfagcicm3pz98cj056rf9s6k5006s7")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest + python-pytest-benchmark + python-setuptools-next)) (home-page "https://github.com/mrocklin/multipledispatch/") (synopsis "Multiple dispatch for Python based on pattern matching") - (description "This library provides an efficient mechanism for overloading -function implementations based on the types of the arguments.") + (description + "This library provides an efficient mechanism for overloading function +implementations based on the types of the arguments.") (license license:bsd-3))) (define-public python-multimethod |