~ruther/guix-local

b019668f1f20f63a0fd23ec3ee49d5d8124d0390 — Cayetano Santos 6 months ago e28bf7c
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>
1 files changed, 14 insertions(+), 8 deletions(-)

M gnu/packages/machine-learning.scm
M gnu/packages/machine-learning.scm => gnu/packages/machine-learning.scm +14 -8
@@ 2452,18 2452,24 @@ Neighbor Embedding (t-SNE), a popular dimensionality-reduction algorithm for
visualizing high-dimensional data sets.")
    (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
  (package
    (name "python-scikit-rebate")
    (version "0.62")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "skrebate" version))
              (sha256
               (base32
                "0n55ghvnv7rxqa5agq6a4892ad0ghha165b0g4ghwr9gqm6ss3dj"))))
    (build-system python-build-system)
    (arguments '(#:tests? #f))          ;no tests on PyPI and no tags in repo
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "skrebate" version))
       (sha256
        (base32 "0n55ghvnv7rxqa5agq6a4892ad0ghha165b0g4ghwr9gqm6ss3dj"))))
    (build-system pyproject-build-system)
    ;; 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
     (list python-numpy python-scipy python-scikit-learn python-joblib))
    (home-page "https://epistasislab.github.io/scikit-rebate/")