unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 39292@debbugs.gnu.org
Cc: sschott@mailbox.org
Subject: [bug#39292] [PATCH 03/10] gnu: Add python-rawkit
Date: Mon, 27 Jan 2020 08:39:56 +0000	[thread overview]
Message-ID: <87lfpti97n.fsf@cbaines.net> (raw)
In-Reply-To: <20200126172437.1644-3-sschott@mailbox.org>

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


Sebastian Schott <sschott@mailbox.org> writes:

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

This might need to be an input, rather than a native-input. The
distinction is important for cross-compilation, as at that point, the
architecture for native-inputs matches where the build is taking place,
but the architecture for inputs matches the target architecture.

The distinction is also just useful to track what's needed at runtime,
rather than just build time, and I'm guessing libraw is required at
runtime.

> +       ("python-pytest" ,python-pytest)
> +       ("python-mock" ,python-mock)))
> +    (home-page "https://rawkit.readthedocs.io/en/v0.6.0/")

Maybe tweak this to not be version dependent (if possible).

> +    (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.")

This line is too long, could you split the description across multiple
lines.

> +    (license license:expat)))
> +
>  (define-public python-easygui
>    (package
>      (name "python-easygui")

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

  reply	other threads:[~2020-01-27  8:41 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-26 10:07 [bug#39292] [PATCH 0/10] gnu: Add rapid-photo-downloader sschott
2020-01-26 17:24 ` [bug#39292] [PATCH 01/10] gnu: Add python-pymediainfo Sebastian Schott
2020-01-26 17:24   ` [bug#39292] [PATCH 02/10] gnu: Add python-easygui Sebastian Schott
2020-01-26 17:24   ` [bug#39292] [PATCH 03/10] gnu: Add python-rawkit Sebastian Schott
2020-01-27  8:39     ` Christopher Baines [this message]
2020-01-26 17:24   ` [bug#39292] [PATCH 04/10] gnu: Add python-d2to1 Sebastian Schott
2020-01-26 17:24   ` [bug#39292] [PATCH 05/10] gnu: Add python-colour Sebastian Schott
2020-01-26 17:24   ` [bug#39292] [PATCH 06/10] gnu: Add python-gphoto2 Sebastian Schott
2020-01-27  8:40     ` Christopher Baines
2020-01-26 17:24   ` [bug#39292] [PATCH 07/10] gnu: Add python-pyprind Sebastian Schott
2020-01-26 17:24   ` [bug#39292] [PATCH 08/10] gnu: Add python-colorlog Sebastian Schott
2020-01-26 17:24   ` [bug#39292] [PATCH 09/10] gnu: Add python-tenacity Sebastian Schott
2020-01-26 17:24   ` [bug#39292] [PATCH 10/10] gnu: Add rapid-photo-downloader Sebastian Schott
2020-01-27  8:49     ` Christopher Baines
2020-01-27  8:35   ` [bug#39292] [PATCH 01/10] gnu: Add python-pymediainfo Christopher Baines
2020-02-02  9:36 ` [bug#39292] Re: [bug#39292] [PATCH 10/10] gnu: Add rapid-photo-downloader Sebastian Schott
2020-02-02 10:11   ` Christopher Baines
2020-03-07 15:11 ` [bug#39292] [PATCH 01/10] gnu: Add python-pymediainfo Sebastian Schott
2020-03-07 15:11   ` [bug#39292] [PATCH 02/10] gnu: Add python-easygui Sebastian Schott
2020-03-07 15:11   ` [bug#39292] [PATCH 03/10] gnu: Add python-rawkit Sebastian Schott
2020-03-07 15:11   ` [bug#39292] [PATCH 04/10] gnu: Add python-d2to1 Sebastian Schott
2020-03-07 15:11   ` [bug#39292] [PATCH 05/10] gnu: Add python-colour Sebastian Schott
2020-03-07 15:11   ` [bug#39292] [PATCH 06/10] gnu: Add python-gphoto2 Sebastian Schott
2020-03-07 15:11   ` [bug#39292] [PATCH 07/10] gnu: Add python-pyprind Sebastian Schott
2020-03-07 15:11   ` [bug#39292] [PATCH 08/10] gnu: Add python-colorlog Sebastian Schott
2020-03-07 15:11   ` [bug#39292] [PATCH 09/10] gnu: Add python-tenacity Sebastian Schott
2020-03-07 15:11   ` [bug#39292] [PATCH 10/10] gnu: Add rapid-photo-downloader Sebastian Schott
2020-03-15 18:47   ` [bug#39292] [PATCH 01/10] gnu: Add python-pymediainfo Leo Famulari
2020-03-15 21:26     ` Christopher Baines
2020-03-15 21:39       ` Leo Famulari

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=87lfpti97n.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=39292@debbugs.gnu.org \
    --cc=sschott@mailbox.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).