[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/14: gnu: Add python-imageio.
From: |
guix-commits |
Subject: |
13/14: gnu: Add python-imageio. |
Date: |
Tue, 23 Jun 2020 17:30:26 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 88e0101b61af45584d36af541c499258d037f2ac
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jun 23 23:14:31 2020 +0200
gnu: Add python-imageio.
* gnu/packages/python-xyz.scm (python-imageio): New variable.
---
gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7eee3b6..4171ab6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5392,6 +5392,43 @@ converting, and viewing many of the proprietary file
formats used to store
experimental data and metadata at the Laboratory for Fluorescence Dynamics.")
(license license:bsd-3)))
+(define-public python-imageio
+ (package
+ (name "python-imageio")
+ (version "2.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "imageio" version))
+ (sha256
+ (base32
+ "1ksjl523fm0fikrd85llxfba35rc1qsgwadgr6mbn9kis79xcpzv"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ; many tests require online data
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key outputs inputs tests? #:allow-other-keys)
+ (if tests?
+ (begin
+ ;; Make installed package available for running the tests.
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "-vv"))
+ #t))))))
+ (propagated-inputs
+ `(("python-numpy" ,python-numpy)
+ ("python-pillow" ,python-pillow)
+ ("python-psutil" ,python-psutil)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/imageio/imageio")
+ (synopsis "Read and write image, video, scientific, and volumetric data
formats")
+ (description
+ "This package provides a Python library for reading and writing a wide
+range of image, video, scientific, and volumetric data formats.")
+ (license license:bsd-2)))
+
(define-public python-pycparser
(package
(name "python-pycparser")
- 01/14: gnu: python-pytest-flakes: Update to 4.0.0., (continued)
- 01/14: gnu: python-pytest-flakes: Update to 4.0.0., guix-commits, 2020/06/23
- 06/14: gnu: Add python-progressbar2., guix-commits, 2020/06/23
- 08/14: gnu: python-scikit-image: Update to 0.17.2., guix-commits, 2020/06/23
- 07/14: gnu: python-gridmap: Update to 0.14.0., guix-commits, 2020/06/23
- 09/14: gnu: Add python-msgpack-numpy., guix-commits, 2020/06/23
- 12/14: gnu: Add python-lfdfiles., guix-commits, 2020/06/23
- 10/14: gnu: Add python-roifile., guix-commits, 2020/06/23
- 14/14: gnu: python-pywavelets: Update to 1.1.1., guix-commits, 2020/06/23
- 04/14: gnu: python-pyflakes: Update to 2.2.0., guix-commits, 2020/06/23
- 05/14: gnu: python-pycodestyle: Update to 2.6.0., guix-commits, 2020/06/23
- 13/14: gnu: Add python-imageio.,
guix-commits <=
- 11/14: gnu: Add python-tifffile., guix-commits, 2020/06/23