From: "Jakub Kądziołka" <kuba@kadziolka.net>
To: 39316@debbugs.gnu.org
Subject: [bug#39316] [PATCH] gnu: Add python-pypng.
Date: Mon, 27 Jan 2020 22:08:48 +0100 [thread overview]
Message-ID: <20200127210848.jpolkvrgllykncg7@zdrowyportier.kadziolka.net> (raw)
* gnu/packages/python-xyz.scm (python-pypng): New variable.
---
gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2af2b2011c..c5e6731642 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -68,6 +68,7 @@
;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2019 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
+;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -17436,3 +17437,32 @@ Project, or not such a gitlab instance when your upstream doesn't use any
dedicated platform. The tool proposes a unified interface for any format and
an upload option to send your work back to the platform.")
(license license:gpl3+)))
+
+(define-public python-pypng
+ (package
+ (name "python-pypng")
+ (version "0.0.20")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pypng" version))
+ (sha256
+ (base32
+ "02qpa22ls41vwsrzw9r9qhj1nhq05p03hb5473pay6y980s86chh"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/drj11/pypng")
+ (synopsis "Pure Python PNG image encoder/decoder")
+ (description
+ ;; Description adapted from Debian
+ "The PyPNG module implements support for PNG images. It reads and writes PNG files
+with all allowable bit depths (1/2/4/8/16/24/32/48/64 bits per pixel) and colour
+combinations: greyscale (1/2/4/8/16 bit); RGB, RGBA, LA (greyscale with alpha) with
+8/16 bits per channel; colour mapped images (1/2/4/8 bit). Adam7 interlacing is supported
+for reading and writing. A number of optional chunks can be specified (when writing) and
+understood (when reading): tRNS, bKGD, gAMA.
+
+PyPNG is not a high level toolkit for image processing (like PIL) and does not aim at
+being a replacement or competitor. Its strength lies in fine-grained extensive support of
+PNG features. It can also read and write Netpbm PAM files, with a focus on its use as an
+intermediate format for implementing custom PNG processing.")
+ (license license:expat)))
--
2.25.0
next reply other threads:[~2020-01-27 21:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-27 21:08 Jakub Kądziołka [this message]
2020-01-28 8:29 ` bug#39316: [PATCH] gnu: Add python-pypng Nicolas Goaziou
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=20200127210848.jpolkvrgllykncg7@zdrowyportier.kadziolka.net \
--to=kuba@kadziolka.net \
--cc=39316@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).