diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-25 00:24:01 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-25 11:32:12 +0100 |
commit | b19dda76977dd6a6d0343c22ffe3802abfadcfda (patch) | |
tree | 96a187ddc427993203a7916c5d64be75ec96ed7c /gnu/packages/python-xyz.scm | |
parent | fbf3c58b6bd2aca0be03687d84feda0c05a68279 (diff) |
gnu: python-fields: Update to 5.0.0-0.cb473d1.
* gnu/packages/python-xyz.scm (python-fields): Update to 5.0.0-0.cb473d1.
[arguments]<#:test-flags>: Ignore performance tests.
[native-inputs]: Add python-pytest, python-pytest-benchmark.
Change-Id: I5b210e0cdf000e388ceb98d0e554213bbc310f55
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 43 |
1 files changed, 25 insertions, 18 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 561dc16077..a8d9c6cd29 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -37091,24 +37091,31 @@ It implements advanced Python dictionaries with dot notation access.") (license license:expat))) (define-public python-fields - (package - (name "python-fields") - (version "5.0.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/ionelmc/python-fields") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0jzf90i3sig9alm96jvp8l0i5mpvwzqwbi0kgjsb69n6dca3nbnc")))) - (build-system pyproject-build-system) - (native-inputs (list python-setuptools python-wheel)) - (home-page "https://python-fields.readthedocs.io/") - (synopsis "Python container class boilerplate killer") - (description "Avoid repetetive boilerplate code in Python classes.") - (license license:bsd-3))) + (let ((commit "cb473d126b926621c4423ecf59387da9f0f26563") + (revision "0")) + (package + (name "python-fields") + (version (git-version "5.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ionelmc/python-fields") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1hc39l7ypwn4n11wfdhr8z0m46c96k99lnvw65bw8yadm2f93s9r")))) + (build-system pyproject-build-system) + (arguments + (list #:test-flags #~(list "--ignore=tests/test_perf.py"))) + (native-inputs (list python-pytest + python-pytest-benchmark + python-setuptools + python-wheel)) + (home-page "https://python-fields.readthedocs.io/") + (synopsis "Python container class boilerplate killer") + (description "Avoid repetetive boilerplate code in Python classes.") + (license license:bsd-3)))) (define-public python-aspectlib (package |