[PATCH] gnu: Add python-imageio.

  • Done
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • Marius Bakke
  • Vinicius Monego
Owner
unassigned
Submitted by
Vinicius Monego
Severity
normal

Debbugs page

V
V
Vinicius Monego wrote on 22 Jun 2020 20:07
(address . guix-patches@gnu.org)(name . Vinicius Monego)(address . monego@posteo.net)
20200623030736.21717-1-monego@posteo.net
* gnu/packages/python-science.scm (python-imageio): New variable.
---
gnu/packages/python-science.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (44 lines)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 2f7516b9f6..ab09189e41 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -195,6 +196,29 @@ depends on @code{scipy.weave}. For new code, users are recommended to use
Cython.")
(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)) ; tests require downloading images from remote servers
+ (propagated-inputs
+ `(("python-numpy" ,python-numpy)
+ ("python-pillow" ,python-pillow)))
+ (home-page "https://imageio.github.io/")
+ (synopsis "Library for reading and writing a wide range of image data")
+ (description "Imageio is a Python library that provides an easy interface
+to read and write a wide range of image data, including animated images, video,
+volumetric data, and scientific formats.")
+ (license license:bsd-2)))
+
(define-public python-scikit-image
(package
(name "python-scikit-image")
--
2.20.1
M
M
Marius Bakke wrote on 24 Jun 2020 12:18
(name . Vinicius Monego)(address . monego@posteo.net)
87tuz06znc.fsf@gnu.org
Vinicius Monego <monego@posteo.net> writes:

Toggle quote (2 lines)
> * gnu/packages/python-science.scm (python-imageio): New variable.

It looks like Ricardo committed a variant of this patch in
88e0101b61af45584d36af541c499258d037f2ac. However I think I prefer your
description, and the home page seems more appropriate. Would you like
to submit an update for those? :-)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7zpwcACgkQoqBt8qM6
VPrfSAgArqC6M5nt3gThikFsUljBQ5dE7I0C+bPNJSMudxJCRO8kvplNPSEQ6Dw7
W3jTNZ0gU9IDRrZBn4N3hggyONPJSNziAWTO39q2Fb5iewkJxrP3jgwVGpJLbG6n
/fWSAxR7Ls14Oa5/8aVj+qnLMpNgt4j077snzbSqKV8Bbmp5WI3nBjyVyAzdgb15
nsX3A6AgHMl4BKpuuSc95GTjNYRp3xIU6bZYsKr09DHjCgEjeA+707qBSbNVaTMk
6NgSUOY43ouUktI80JM00YcHVx6i1BJncn7fR9Fg4JxZVkJVU63D4dkJFG+jJG6p
gKBKvmTA5bD9AFh105MFaF3v4G0kWQ==
=o+k1
-----END PGP SIGNATURE-----

V
V
Vinicius Monego wrote on 26 Jun 2020 13:34
f56a7fdad8987f27b0008ebc00e1c36687660707.camel@posteo.net
Hello,

Toggle quote (7 lines)
> It looks like Ricardo committed a variant of this patch in
> 88e0101b61af45584d36af541c499258d037f2ac. However I think I prefer
> your
> description, and the home page seems more appropriate. Would you
> like
> to submit an update for those? :-)

Sure. You didn't mention synopsis, so I sent two patches: one with and
another without a synopsis change. You can choose either.
L
L
Ludovic Courtès wrote on 2 Sep 2020 08:13
control message for bug #42015
(address . control@debbugs.gnu.org)
87mu2843gg.fsf@gnu.org
tags 42015 fixed
close 42015
quit
?
Your comment

This issue is archived.

To comment on this conversation send an email to 42015@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 42015
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch