unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42015] [PATCH] gnu: Add python-imageio.
@ 2020-06-23  3:07 Vinicius Monego
  2020-06-24 19:18 ` Marius Bakke
  0 siblings, 1 reply; 6+ messages in thread
From: Vinicius Monego @ 2020-06-23  3:07 UTC (permalink / raw)
  To: 42015; +Cc: Vinicius Monego

* gnu/packages/python-science.scm (python-imageio): New variable.
---
 gnu/packages/python-science.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

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





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#42015] [PATCH] gnu: Add python-imageio.
  2020-06-23  3:07 [bug#42015] [PATCH] gnu: Add python-imageio Vinicius Monego
@ 2020-06-24 19:18 ` Marius Bakke
  2020-06-26 20:32   ` [bug#42065] [PATCH] gnu: python-imageio: Update home-page and description Vinicius Monego
  2020-06-26 20:34   ` [bug#42015] [PATCH] gnu: Add python-imageio Vinicius Monego
  0 siblings, 2 replies; 6+ messages in thread
From: Marius Bakke @ 2020-06-24 19:18 UTC (permalink / raw)
  To: Vinicius Monego, 42015; +Cc: Vinicius Monego

[-- Attachment #1: Type: text/plain, Size: 353 bytes --]

Vinicius Monego <monego@posteo.net> writes:

> * 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?  :-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#42065] [PATCH] gnu: python-imageio: Update home-page and description.
  2020-06-24 19:18 ` Marius Bakke
@ 2020-06-26 20:32   ` Vinicius Monego
  2020-06-26 20:32     ` [bug#42066] [PATCH] gnu: python-imageio: Update home-page, synopsis " Vinicius Monego
  2020-06-26 20:34   ` [bug#42015] [PATCH] gnu: Add python-imageio Vinicius Monego
  1 sibling, 1 reply; 6+ messages in thread
From: Vinicius Monego @ 2020-06-26 20:32 UTC (permalink / raw)
  To: 42065; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-imageio): Update home-page and description.
---
 gnu/packages/python-xyz.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c4e53bc95f..9ac26c02d1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5424,11 +5424,12 @@ experimental data and metadata at the Laboratory for Fluorescence Dynamics.")
        ("python-psutil" ,python-psutil)))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
-    (home-page "https://github.com/imageio/imageio")
+    (home-page "https://imageio.github.io/")
     (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.")
+     "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-pycparser
-- 
2.20.1





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#42066] [PATCH] gnu: python-imageio: Update home-page, synopsis and description.
  2020-06-26 20:32   ` [bug#42065] [PATCH] gnu: python-imageio: Update home-page and description Vinicius Monego
@ 2020-06-26 20:32     ` Vinicius Monego
  2020-06-29 21:23       ` bug#42066: " Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Vinicius Monego @ 2020-06-26 20:32 UTC (permalink / raw)
  To: 42066; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-imageio): Update home-page, synopsis and description.
---
 gnu/packages/python-xyz.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c4e53bc95f..c6d9b42083 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5424,11 +5424,12 @@ experimental data and metadata at the Laboratory for Fluorescence Dynamics.")
        ("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")
+    (home-page "https://imageio.github.io/")
+    (synopsis "Library for reading and writing a wide range of image data")
     (description
-     "This package provides a Python library for reading and writing a wide
-range of image, video, scientific, and volumetric data formats.")
+     "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-pycparser
-- 
2.20.1





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#42015] [PATCH] gnu: Add python-imageio.
  2020-06-24 19:18 ` Marius Bakke
  2020-06-26 20:32   ` [bug#42065] [PATCH] gnu: python-imageio: Update home-page and description Vinicius Monego
@ 2020-06-26 20:34   ` Vinicius Monego
  1 sibling, 0 replies; 6+ messages in thread
From: Vinicius Monego @ 2020-06-26 20:34 UTC (permalink / raw)
  To: Marius Bakke, 42015

Hello,

> 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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#42066: [PATCH] gnu: python-imageio: Update home-page, synopsis and description.
  2020-06-26 20:32     ` [bug#42066] [PATCH] gnu: python-imageio: Update home-page, synopsis " Vinicius Monego
@ 2020-06-29 21:23       ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2020-06-29 21:23 UTC (permalink / raw)
  To: Vinicius Monego; +Cc: 42066-done

Hi,

Vinicius Monego <monego@posteo.net> skribis:

> * gnu/packages/python-xyz.scm (python-imageio): Update home-page, synopsis and description.

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-29 21:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-23  3:07 [bug#42015] [PATCH] gnu: Add python-imageio Vinicius Monego
2020-06-24 19:18 ` Marius Bakke
2020-06-26 20:32   ` [bug#42065] [PATCH] gnu: python-imageio: Update home-page and description Vinicius Monego
2020-06-26 20:32     ` [bug#42066] [PATCH] gnu: python-imageio: Update home-page, synopsis " Vinicius Monego
2020-06-29 21:23       ` bug#42066: " Ludovic Courtès
2020-06-26 20:34   ` [bug#42015] [PATCH] gnu: Add python-imageio Vinicius Monego

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).