~ruther/guix-local

f604ac060e47ad654144f0b709a71879e727d5a6 — Nicolas Graves 1 year, 2 months ago 3e29024
gnu: python-spectra: Update to 0.1.0.

* gnu/packages/python-xyz.scm (python-spectra): Update to 0.1.0.
[build-system]: Switch to pyproject-build-system.
[propagated-inputs]: Replace python-colormath by python-colormath2.
[native-inputs]: Add python-pytest, python-setuptools, python-wheel.

Change-Id: Ia0a5e817fd8b927d7a0d728fb552614eae7d22c6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 5 insertions(+), 11 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +5 -11
@@ 10799,24 10799,18 @@ objects.")
(define-public python-spectra
  (package
    (name "python-spectra")
    (version "0.0.11")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "spectra" version))
       (sha256
        (base32
         "1f322x914bhkg6r5gv1vmnir3iy0k5kih0fd2gp3rdkw32jn5cwf"))))
    (build-system python-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda _ (invoke "nosetests" "-v"))))))
        (base32 "0gva48a1rn5yxj6dgy76dnndqaf09k5q2l9r41h2a66b84rf6c3a"))))
    (build-system pyproject-build-system)
    (propagated-inputs
     (list python-colormath))
     (list python-colormath2))
    (native-inputs
     (list python-nose))
     (list python-pytest python-setuptools python-wheel))
    (home-page "https://github.com/jsvine/spectra")
    (synopsis "Color scales and color conversion")
    (description