gnu: python-scikit-rebate: Switch to pyproject.

* gnu/packages/machine-learning.scm (python-scikit-rebate)[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools-next.

Change-Id: I9b4767dd3593aadb43195ac6589db4ad3c7e6a30
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Cayetano Santos 2025-09-08 10:04:17 +02:00 committed by Sharlatan Hellseher
parent e28bf7c6f6
commit b019668f1f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2452,18 +2452,24 @@ Neighbor Embedding (t-SNE), a popular dimensionality-reduction algorithm for
visualizing high-dimensional data sets.") visualizing high-dimensional data sets.")
(license license:bsd-3))) (license license:bsd-3)))
;; XXX: Potentially it is an abandonware, no releases or any updates since
;; 2021, consider to remove when become incompatible with propagated inputs.
(define-public python-scikit-rebate (define-public python-scikit-rebate
(package (package
(name "python-scikit-rebate") (name "python-scikit-rebate")
(version "0.62") (version "0.62")
(source (origin (source
(method url-fetch) (origin
(uri (pypi-uri "skrebate" version)) (method url-fetch)
(sha256 (uri (pypi-uri "skrebate" version))
(base32 (sha256
"0n55ghvnv7rxqa5agq6a4892ad0ghha165b0g4ghwr9gqm6ss3dj")))) (base32 "0n55ghvnv7rxqa5agq6a4892ad0ghha165b0g4ghwr9gqm6ss3dj"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments '(#:tests? #f)) ;no tests on PyPI and no tags in repo ;; There are no tests on PyPI, tests in git repo require an old release of
;; python-scikit-learn
(arguments '(#:tests? #f))
(native-inputs
(list python-setuptools-next))
(propagated-inputs (propagated-inputs
(list python-numpy python-scipy python-scikit-learn python-joblib)) (list python-numpy python-scipy python-scikit-learn python-joblib))
(home-page "https://epistasislab.github.io/scikit-rebate/") (home-page "https://epistasislab.github.io/scikit-rebate/")