unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 42015@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#42015] [PATCH] gnu: Add python-imageio.
Date: Tue, 23 Jun 2020 00:07:36 -0300	[thread overview]
Message-ID: <20200623030736.21717-1-monego@posteo.net> (raw)

* 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





             reply	other threads:[~2020-06-23  3:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-23  3:07 Vinicius Monego [this message]
2020-06-24 19:18 ` [bug#42015] [PATCH] gnu: Add python-imageio 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200623030736.21717-1-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=42015@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).