~ruther/guix-local

ab1e36d168db9010a83d9bffc7b1acb46d88f7e1 — Sharlatan Hellseher 6 months ago 5801c62
gnu: python-blis: Update to 1.2.1.

* gnu/packages/maths.scm (python-blis): Update to 1.2.1.
[arguments] <phases>: Remove 'build-ext; add 'remove-local-blis - less
re-build is better.
[propagated-inputs]: Remove python-numpy.
[native-inputs]: Remove python-wheel; add python-numpy-2.

Change-Id: Ie82e7372653f95a387dcee81ab5f84dbf2602091
1 files changed, 11 insertions(+), 11 deletions(-)

M gnu/packages/maths.scm
M gnu/packages/maths.scm => gnu/packages/maths.scm +11 -11
@@ 4334,29 4334,29 @@ summation in K-fold precision.")
(define-public python-blis
  (package
    (name "python-blis")
    (version "0.9.1")
    (version "1.2.1")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "blis" version))
              (sha256
               (base32
                "0vrnzk9jx7fcl56q6zpa4w4mxkr4iknxs42fngn9g78zh1kc9skw"))))
                "0nknjrd4pp8l5n68vpmcxfpr8mp0imjl51yj5g1468fwpvnvwrhh"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:phases
      '(modify-phases %standard-phases
         (add-after 'build 'build-ext
           (lambda _
             (invoke "python" "setup.py" "build_ext" "--inplace"
                     "-j" (number->string (parallel-job-count))))))))
    (propagated-inputs
     (list python-numpy))
      #~(modify-phases %standard-phases
          (add-before 'check 'remove-local-blis
            (lambda _
              (copy-recursively "blis/tests" "tests")
              ;; This would otherwise interfere with finding the installed
              ;; blis when running tests.
              (delete-file-recursively "blis"))))))
    (native-inputs
     (list python-cython
           python-numpy-2
           python-pytest
           python-setuptools
           python-wheel))
           python-setuptools))
    (home-page "https://github.com/explosion/cython-blis")
    (synopsis "Blis as a self-contained C-extension for Python")
    (description