From 69002b216e49d98a7caa183ffa36c546e75589c3 Mon Sep 17 00:00:00 2001 From: Josh Holland Date: Mon, 13 Jan 2020 14:41:00 +0000 Subject: gnu: python-pygments: Update to 2.5.2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-pygments): Update to 2.5.2. [home-page]: Follow redirect to https. Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 715a0109f7..89be80f7fc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2638,19 +2638,19 @@ reStructuredText.") (define-public python-pygments (package (name "python-pygments") - (version "2.4.2") + (version "2.5.2") (source (origin (method url-fetch) (uri (pypi-uri "Pygments" version)) (sha256 (base32 - "15v2sqm5g12bqa0c7wikfh9ck2nl97ayizy1hpqhmws5gqalq748")))) + "1zmhnswy0wxfn0xprs9aqsvx2c3kmzfn2wx14q8cv3vpkxdamj4q")))) (build-system python-build-system) (arguments ;; FIXME: Tests require sphinx, which depends on this. '(#:tests? #f)) - (home-page "http://pygments.org/") + (home-page "https://pygments.org/") (synopsis "Syntax highlighting") (description "Pygments is a syntax highlighting package written in Python.") -- cgit v1.2.3 From 8fe54fa806b61ebdab7073d8f50b3c316fc1a475 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 25 Jan 2020 14:55:04 +0100 Subject: gnu: Remove python2-debian. This trivial package fails to build and has no users in Guix. * gnu/packages/python-xyz.scm (python2-debian): Remove variable. --- gnu/packages/python-xyz.scm | 3 --- 1 file changed, 3 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 89be80f7fc..11e2a28df4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7599,9 +7599,6 @@ Debian-related files, such as: ;; Modules are either GPLv2+ or GPLv3+. (license license:gpl3+))) -(define-public python2-debian - (package-with-python2 python-debian)) - (define-public python-nbformat (package (name "python-nbformat") -- cgit v1.2.3 From 6469af6f89b74701daf17724a3ac4c295f27c08a Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 25 Jan 2020 14:55:34 +0100 Subject: gnu: python-pympler: Update to 0.8. * gnu/packages/python-xyz.scm (python-pympler): Update to 0.8. --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 11e2a28df4..9739953b13 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2244,13 +2244,13 @@ JavaScript-like message boxes. Types of dialog boxes include: (package (name "python-pympler") (home-page "https://pythonhosted.org/Pympler/") - (version "0.7") + (version "0.8") (source (origin (method url-fetch) (uri (pypi-uri "Pympler" version)) (sha256 (base32 - "0ki7bqp1h9l1xc2k1h4vjyzsgs20i8ingvcdhszyi72s28wyf4bs")))) + "08mrpnb6cv2nvfncvr8a9a8bpwhnasa924anapnjvnaw5jcd4k7p")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases -- cgit v1.2.3 From 170d5844dd9e565c6b28c774403cda21981643f8 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 25 Jan 2020 14:56:00 +0100 Subject: gnu: python-parso: Update to 0.5.2. * gnu/packages/python-xyz.scm (python-parso): Update to 0.5.2. --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9739953b13..231c380fb8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15145,14 +15145,14 @@ time-based (TOTP) passwords.") (define-public python-parso (package (name "python-parso") - (version "0.5.1") + (version "0.5.2") (source (origin (method url-fetch) (uri (pypi-uri "parso" version)) (sha256 (base32 - "171a9ivhxwsd52h1cgsz40zgzpgzscn7yqb7sdjhy8m1lzj0wsv6")))) + "1qgvrkpma7vylrk047mxxvqd66nwqk978n3ig2w8iz9m3bgjbksm")))) (native-inputs `(("python-pytest" ,python-pytest))) (build-system python-build-system) -- cgit v1.2.3 From 7261bdca4edf800a2e329369fefd3f2d43f0bf03 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sun, 12 Jan 2020 23:30:11 +0100 Subject: gnu: Add python-check-manifest. * gnu/packages/python-xyz.scm (python-check-manifest): New variable. --- gnu/packages/python-xyz.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 231c380fb8..f8d107d5c1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31,7 +31,7 @@ ;;; Copyright © 2016 Dylan Jeffers ;;; Copyright © 2016, 2017, 2019 Alex Vong ;;; Copyright © 2016, 2017, 2018 Arun Isaac -;;; Copyright © 2016, 2017, 2018 Julien Lepiller +;;; Copyright © 2016, 2017, 2018, 2020 Julien Lepiller ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2016, 2017 Thomas Danckaert ;;; Copyright © 2017 Carlo Zancanaro @@ -17312,3 +17312,25 @@ tests.") GSSAPI C libraries. While it focuses on the Kerberos mechanism, it should also be useable with other GSSAPI mechanisms.") (license license:isc))) + +(define-public python-check-manifest + (package + (name "python-check-manifest") + (version "0.37") + (source + (origin + (method url-fetch) + (uri (pypi-uri "check-manifest" version)) + (sha256 + (base32 + "0lk45ifdv2cpkl6ayfyix7jwmnxa1rha7xvb0ih5999k115wzqs4")))) + (build-system python-build-system) + (native-inputs + `(("python-mock" ,python-mock) + ("git" ,git))) + (home-page "https://github.com/mgedmin/check-manifest") + (synopsis "Check MANIFEST.in in a Python source package for completeness") + (description "Python package can include a MANIFEST.in file to help with +sending package files to the Python Package Index. This package checks that +file to ensure it completely and accurately describes your project.") + (license license:expat))) -- cgit v1.2.3 From b487b7b5bb7702209b719d155f6938c08bd2f1e3 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Mon, 13 Jan 2020 00:02:43 +0100 Subject: gnu: Add python-android-stringslib. * gnu/packages/python-xyz.scm (python-android-stringslib): New variable. --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f8d107d5c1..70b51af84b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17334,3 +17334,26 @@ also be useable with other GSSAPI mechanisms.") sending package files to the Python Package Index. This package checks that file to ensure it completely and accurately describes your project.") (license license:expat))) + +(define-public python-android-stringslib + (package + (name "python-android-stringslib") + (version "0.1.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://framagit.org/tyreunom/python-android-strings-lib") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0gij55qzzq1h83kfpvhai1vf78kkhyvxa6l17m2nl24454lhfin4")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (home-page "https://framagit.org/tyreunom/python-android-strings-lib") + (synopsis "Android strings.xml support") + (description "Android Strings Lib provides support for android's strings.xml +files. These files are used to translate strings in android apps.") + (license license:expat))) -- cgit v1.2.3 From 87435943d1cf082b64fd2ee581e9db85b373ddb9 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Mon, 13 Jan 2020 00:13:14 +0100 Subject: gnu: Add python-pathtools. * gnu/packages/python-xyz.scm (python-pathtools): New variable. --- gnu/packages/python-xyz.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 70b51af84b..6e9722c1fe 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17357,3 +17357,21 @@ file to ensure it completely and accurately describes your project.") (description "Android Strings Lib provides support for android's strings.xml files. These files are used to translate strings in android apps.") (license license:expat))) + +(define-public python-pathtools + (package + (name "python-pathtools") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pathtools" version)) + (sha256 + (base32 + "1h7iam33vwxk8bvslfj4qlsdprdnwf8bvzhqh3jq5frr391cadbw")))) + (build-system python-build-system) + (home-page "https://github.com/gorakhargosh/pathtools") + (synopsis "File system general utilities") + (description "This package provides pattern matching and various utilities +for file systems paths.") + (license license:expat))) -- cgit v1.2.3 From 2cb4ee2787281b0c155ab4794fa1251652251d3b Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Mon, 13 Jan 2020 00:14:21 +0100 Subject: gnu: Add python-iocapture. * gnu/packages/python-xyz.scm (python-iocapture): New variable. --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6e9722c1fe..cd68b49572 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17375,3 +17375,25 @@ files. These files are used to translate strings in android apps.") (description "This package provides pattern matching and various utilities for file systems paths.") (license license:expat))) + +(define-public python-iocapture + (package + (name "python-iocapture") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "iocapture" version)) + (sha256 + (base32 + "1s3ywdr0l3kfrrqi079iv16g0rp75akkvx0j07vx9p5w10c0wrw6")))) + (build-system python-build-system) + (native-inputs + `(("python-flexmock" ,python-flexmock) + ("python-pytest-cov" ,python-pytest-cov) + ("python-six" ,python-six))) + (home-page "https://github.com/oinume/iocapture") + (synopsis "stdout and stderr capture in Python") + (description "This package allows Python developpers to capture their standard +output and standard error.") + (license license:expat))) -- cgit v1.2.3 From fb4db07467fb764e7df64a4aacae13eaaf7f912c Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Mon, 13 Jan 2020 00:15:21 +0100 Subject: gnu: Add python-argh. * gnu/packages/python-xyz.scm (python-argh): New variable. --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cd68b49572..f8f2c95966 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17397,3 +17397,25 @@ for file systems paths.") (description "This package allows Python developpers to capture their standard output and standard error.") (license license:expat))) + +(define-public python-argh + (package + (name "python-argh") + (version "0.26.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "argh" version)) + (sha256 + (base32 + "0rdv0n2aa181mkrybwvl3czkrrikgzd4y2cri6j735fwhj65nlz9")))) + (build-system python-build-system) + (native-inputs + `(("python-iocapture" ,python-iocapture) + ("python-mock" ,python-mock) + ("python-pytest" ,python-pytest))) + (home-page "https://github.com/neithere/argh/") + (synopsis "Argparse wrapper with natural syntax") + (description "This package provides a parser for dealing with command-line +arguments in Python.") + (license license:lgpl3))) -- cgit v1.2.3 From 7dec888f4fc08c69720978c1dd239a0d0f9089ff Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Mon, 13 Jan 2020 00:21:53 +0100 Subject: gnu: Add python-watchdog. * gnu/packages/python-xyz.scm (python-watchdog): New variable. --- gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f8f2c95966..dbd95d9fca 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17419,3 +17419,37 @@ output and standard error.") (description "This package provides a parser for dealing with command-line arguments in Python.") (license license:lgpl3))) + +(define-public python-watchdog + (package + (name "python-watchdog") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "watchdog" version)) + (sha256 + (base32 + "07cnvvlpif7a6cg4rav39zq8fxa5pfqawchr46433pij0y6napwn")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'remove-failing + (lambda _ + (delete-file "tests/test_inotify_buffer.py") + (delete-file "tests/test_snapshot_diff.py") + #t))))) + (propagated-inputs + `(("python-argh" ,python-argh) + ("python-pathtools" ,python-pathtools) + ("python-pyyaml" ,python-pyyaml))) + (native-inputs + `(("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-timeout" ,python-pytest-timeout))) + (home-page "https://github.com/gorakhargosh/watchdog") + (synopsis "Filesystem events monitoring") + (description "This package provides a way to monitor filesystem events +such as a file modification and trigger an action. This is similar to inotify, +but portable.") + (license license:asl2.0))) -- cgit v1.2.3 From 2cbede5935eb6a40173bbdf30a9ad22bf7574c22 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Mon, 13 Jan 2020 00:22:13 +0100 Subject: gnu: Add offlate. * gnu/packages/python-xyz.scm (offlate): New variable. --- gnu/packages/python-xyz.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index dbd95d9fca..91f36bf3ee 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -97,6 +97,7 @@ #:use-module (gnu packages crypto) #:use-module (gnu packages databases) #:use-module (gnu packages dbm) + #:use-module (gnu packages enchant) #:use-module (gnu packages file) #:use-module (gnu packages fontutils) #:use-module (gnu packages gcc) @@ -17453,3 +17454,47 @@ arguments in Python.") such as a file modification and trigger an action. This is similar to inotify, but portable.") (license license:asl2.0))) + +(define-public offlate + (package + (name "offlate") + (version "0.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://framagit.org/tyreunom/offlate") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13pqnbl05wcyldfvl75fp89vjgwsvxyc69vhnb17kkha2rc2k1h7")))) + (build-system python-build-system) + (arguments + ;; No tests + `(#:tests? #f)) + (propagated-inputs + `(("python-android-stringslib" ,python-android-stringslib) + ("python-dateutil" ,python-dateutil) + ("python-gitlab" ,python-gitlab) + ("python-lxml" ,python-lxml) + ("python-polib" ,python-polib) + ("python-pyenchant" ,python-pyenchant) + ("python-pygit2" ,python-pygit2) + ("python-pygithub" ,python-pygithub) + ("python-pyqt" ,python-pyqt) + ("python-requests" ,python-requests) + ("python-ruamel.yaml" ,python-ruamel.yaml) + ("python-translation-finder" ,python-translation-finder) + ("python-watchdog" ,python-watchdog))) + (native-inputs + `(("qttools" ,qttools))) + (home-page "https://framagit.org/tyreunom/offlate") + (synopsis "Offline translation interface for online translation tools") + (description "Offlate offers a unified interface for different translation +file formats, as well as many different online translation platforms. You can +use it to get work from online platforms, specialized such as the Translation +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+))) -- cgit v1.2.3 From 3293b1bce9193b50e1ef15e52f4cbc2ac0875a49 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 26 Jan 2020 22:51:43 +0100 Subject: Revert "gnu: Add python-argh." This package was already in Guix since commit db6bd842aa4a6254b185740bda36f01c83cd9779. This reverts commit fb4db07467fb764e7df64a4aacae13eaaf7f912c. --- gnu/packages/python-xyz.scm | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 91f36bf3ee..e8caab2f01 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17399,28 +17399,6 @@ for file systems paths.") output and standard error.") (license license:expat))) -(define-public python-argh - (package - (name "python-argh") - (version "0.26.2") - (source - (origin - (method url-fetch) - (uri (pypi-uri "argh" version)) - (sha256 - (base32 - "0rdv0n2aa181mkrybwvl3czkrrikgzd4y2cri6j735fwhj65nlz9")))) - (build-system python-build-system) - (native-inputs - `(("python-iocapture" ,python-iocapture) - ("python-mock" ,python-mock) - ("python-pytest" ,python-pytest))) - (home-page "https://github.com/neithere/argh/") - (synopsis "Argparse wrapper with natural syntax") - (description "This package provides a parser for dealing with command-line -arguments in Python.") - (license license:lgpl3))) - (define-public python-watchdog (package (name "python-watchdog") -- cgit v1.2.3 From fed17bcad9b35dba73502048e1729b0b66d5694d Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 26 Jan 2020 22:53:43 +0100 Subject: Revert "gnu: Add python-iocapture." This package was already in Guix since commit dbcef44a0bdc5472cd49cd02d9d11a9c5ff037c9. This reverts commit 2cb4ee2787281b0c155ab4794fa1251652251d3b. --- gnu/packages/python-xyz.scm | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e8caab2f01..0f5b02c730 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17377,28 +17377,6 @@ files. These files are used to translate strings in android apps.") for file systems paths.") (license license:expat))) -(define-public python-iocapture - (package - (name "python-iocapture") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (pypi-uri "iocapture" version)) - (sha256 - (base32 - "1s3ywdr0l3kfrrqi079iv16g0rp75akkvx0j07vx9p5w10c0wrw6")))) - (build-system python-build-system) - (native-inputs - `(("python-flexmock" ,python-flexmock) - ("python-pytest-cov" ,python-pytest-cov) - ("python-six" ,python-six))) - (home-page "https://github.com/oinume/iocapture") - (synopsis "stdout and stderr capture in Python") - (description "This package allows Python developpers to capture their standard -output and standard error.") - (license license:expat))) - (define-public python-watchdog (package (name "python-watchdog") -- cgit v1.2.3 From 435c2c39aa364d43facc61967eba833165adc966 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 26 Jan 2020 22:56:04 +0100 Subject: Revert "gnu: Add python-pathtools." This package was already in Guix since commit dbcef44a0bdc5472cd49cd02d9d11a9c5ff037c9. This reverts commit 87435943d1cf082b64fd2ee581e9db85b373ddb9. --- gnu/packages/python-xyz.scm | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0f5b02c730..2af2b2011c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17359,24 +17359,6 @@ file to ensure it completely and accurately describes your project.") files. These files are used to translate strings in android apps.") (license license:expat))) -(define-public python-pathtools - (package - (name "python-pathtools") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pathtools" version)) - (sha256 - (base32 - "1h7iam33vwxk8bvslfj4qlsdprdnwf8bvzhqh3jq5frr391cadbw")))) - (build-system python-build-system) - (home-page "https://github.com/gorakhargosh/pathtools") - (synopsis "File system general utilities") - (description "This package provides pattern matching and various utilities -for file systems paths.") - (license license:expat))) - (define-public python-watchdog (package (name "python-watchdog") -- cgit v1.2.3 From 479f401361a5f7dc54c7fefdca211bd2452dea5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20K=C4=85dzio=C5=82ka?= Date: Mon, 27 Jan 2020 22:08:48 +0100 Subject: gnu: Add python-pypng. * gnu/packages/python-xyz.scm (python-pypng): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2af2b2011c..31aeffa161 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -68,6 +68,7 @@ ;;; Copyright © 2019 Wiktor Żelazny ;;; Copyright © 2019 Tanguy Le Carrour ;;; Copyright © 2019 Mădălin Ionel Patrașcu +;;; Copyright © 2020 Jakub Kądziołka ;;; ;;; 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 + "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))) -- cgit v1.2.3