diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2025-06-11 13:59:45 +0900 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-14 17:19:45 +0100 |
commit | c8218094c47482c16f4cdd1e8092c35dab117418 (patch) | |
tree | 0354c22b15ac5c2288a0465ab74a5fcc7a2e44e5 /gnu/packages/python-science.scm | |
parent | 0517440fcf690b74239db517d4ac6544b37361fd (diff) |
gnu: Add python-apted.
* gnu/packages/python-science.scm (python-apted): New variable.
Change-Id: Ifd79f12b6be4d593106805f714a6545226e59479
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r-- | gnu/packages/python-science.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index f01a71f2d0..758812cc86 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -30,6 +30,7 @@ ;;; Copyright © 2024 Rick Huijzer <ikbenrickhuyzer@gmail.com> ;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr> ;;; Copyright © 2025 Mark Walker <mark.damon.walker@gmail.com> +;;; Copyright © 2025 Nguyễn Gia Phong <mcsinyx@disroot.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -245,6 +246,40 @@ possibility to differentiate functions that contain matrix functions as +,-,*,/, dot, solve, qr, eigh, cholesky.") (license license:bsd-3))) +(define-public python-apted + ;; PyPI release lacks tests and there is no Git tag. + (let ((commit "828b3e3f4c053f7d35f0b55b0d5597e8041719ac") + (revision "0")) + (package + (name "python-apted") + (version (git-version "1.0.3" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JoaoFelipe/apted") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vw1sbn41cysmhr4ib58cw3hzs1xjxwb1d8r1yhrqgjk5q6ckjw7")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "--deselect=apted/tests/test_chained.py::test_factory" + "--deselect=apted/tests/test_correctness.py::test_factory" + "--deselect=apted/tests/test_per_edit_operation_correctness.py::test_factory"))) + (native-inputs + (list python-pytest + python-setuptools + python-wheel)) + (home-page "https://github.com/JoaoFelipe/apted") + (synopsis "Algorithm for the tree edit distance") + (description + "This is a Python implementation of the APTED algorithm,which +supersedes the RTED algorithm for computing the tree edit distance.") + (license license:expat)))) + (define-public python-cmocean (package (name "python-cmocean") |