From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42451) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ivlfg-0002Kl-8N for guix-patches@gnu.org; Sun, 26 Jan 2020 12:26:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ivlff-0001du-2A for guix-patches@gnu.org; Sun, 26 Jan 2020 12:26:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51443) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ivlfe-0001dI-Ua for guix-patches@gnu.org; Sun, 26 Jan 2020 12:26:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ivlfe-00018y-Rm for guix-patches@gnu.org; Sun, 26 Jan 2020 12:26:02 -0500 Subject: [bug#39292] [PATCH 03/10] gnu: Add python-rawkit Resent-Message-ID: From: Sebastian Schott Date: Sun, 26 Jan 2020 18:24:30 +0100 Message-Id: <20200126172437.1644-3-sschott@mailbox.org> In-Reply-To: <20200126172437.1644-1-sschott@mailbox.org> References: <20200126172437.1644-1-sschott@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39292@debbugs.gnu.org Cc: Sebastian Schott * gnu/packages/python-xyz.scm (python-rawkit): New variable. --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1592c6b511..7c4b0495fa 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -126,6 +126,7 @@ #:use-module (gnu packages openstack) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) + #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-check) @@ -167,6 +168,26 @@ #:use-module (srfi srfi-1) #:use-module (srfi srfi-26)) +(define-public python-rawkit + (package + (name "python-rawkit") + (version "0.6.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "rawkit" version)) + (sha256 + (base32 + "0vrhrpr70i61y5q5ysk341x1539ff1q1k82g59zq69lv16s0f76s")))) + (build-system python-build-system) + (native-inputs + `(("libraw" ,libraw) + ("python-pytest" ,python-pytest) + ("python-mock" ,python-mock))) + (home-page "https://rawkit.readthedocs.io/en/v0.6.0/") + (synopsis "Ctypes-based LibRaw binding for Python") + (description "The rawkit package provides two modules: rawkit and libraw. The rawkit module provides a high-level Pythonic interface for developing raw photos, while the libraw module provides a CTypes based interface for interacting with the low-level LibRaw C APIs.") + (license license:expat))) + (define-public python-easygui (package (name "python-easygui") -- 2.24.0