diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-25 17:22:49 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-29 00:05:48 +0000 |
| commit | bebb4ca6d52d94e07cee18586edbb693b34e2336 (patch) | |
| tree | a6cf600fc2d1b5855c276510fa866c8758109c40 /gnu | |
| parent | 93fccc95776d1b9bf2f72475af679f569224d9f7 (diff) | |
gnu: python-kneed: Update to 0.8.5.
* gnu/packages/python-xyz.scm (python-kneed): Update to 0.8.5.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-hatchling, python-pytest-cov.
[description]: Improve style.
Change-Id: I600f92e885a1480665d941749836578cf9a47035
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f8df42d185c..027fc7cfe67 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -24851,21 +24851,28 @@ applications in seconds while maintaining all the flexibility.") (define-public python-kneed (package (name "python-kneed") - (version "0.7.0") + (version "0.8.5") (source (origin - (method url-fetch) - (uri (pypi-uri "kneed" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/arvkevi/kneed") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0vkwi0pr7nfkp3c46hnmx0275yx68v96v10rmspv0wis33x6f39l")))) - (build-system python-build-system) - (propagated-inputs - (list python-matplotlib python-numpy python-scipy)) + (base32 "0kcglaql1nqvjv5q62myybznii1n1akln5yacp63rg8xv7l0zad1")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags #~(list "--ignore=tests/test_no_matplotlib.py"))) + (native-inputs (list python-hatchling python-pytest python-pytest-cov)) + (propagated-inputs (list python-matplotlib python-numpy python-scipy)) (home-page "https://github.com/arvkevi/kneed") (synopsis "Knee-point detection in Python") - (description "This package implements the kneedle algorithm. Given a set -of x and y values, kneed will return the knee point of the function. The knee -point is the point of maximum curvature.") + (description + "This package implements the kneedle algorithm. Given a set of x and y +values, kneed will return the knee point of the function. The knee point is +the point of maximum curvature.") (license license:bsd-3))) (define-public python-diff-cover |
