all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Ryan Prior <rprior@protonmail.com>, 50836@debbugs.gnu.org
Subject: [bug#50836] [PATCH 1/5] gnu: Add python-multipledispatch.
Date: Mon, 27 Sep 2021 12:28:23 +0200	[thread overview]
Message-ID: <a7efb45960a63c7c5dbaac0a2c7458d2e4ba9e41.camel@telenet.be> (raw)
In-Reply-To: <20210927022011.30839-1-rprior@protonmail.com>

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

Ryan Prior via Guix-patches via schreef op ma 27-09-2021 om 02:20 [+0000]:
> * gnu/packages/python-xyz.scm (python-multipledispatch): New variable.
> ---
>  gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index a34c444a87..c833c95b5a 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -26584,6 +26584,26 @@ objects in the combined source, and how they define or use each other.  The
>  graph can be output for rendering by GraphViz or yEd.")
>      (license license:gpl2)))
> 
> +(define-public python-multipledispatch
> +  (package
> +    (name "python-multipledispatch")
> +    (version "0.6.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "multipledispatch" version))
> +       (sha256
> +        (base32
> +         "1slblghfjg9fdi9zpd7gmrkvfbv20nrdgnrymcnbky8bzm8i9ax7"))))
> +    (build-system python-build-system)
> +    (propagated-inputs `(("six" ,python-six)))

The convention is to use the package name of the input package as input
label ("python-six" instead of "six" in this case).  This is important for
the "guix style" in <https://issues.guix.gnu.org/49169>, which, when it will
be in master, allows writing this package definition as

(define-public python-multipledispatch
  (package
    (name "python-multipledispatch")
    ...
    (propagated-inputs (list python-six))
    ...))

(The long-term goal appears to be to remove input labels completely.)

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  parent reply	other threads:[~2021-09-27 10:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-27  2:17 [bug#50836] [PATCH 0/5] Python logic programming packages Ryan Prior via Guix-patches via
2021-09-27  2:20 ` [bug#50836] [PATCH 1/5] gnu: Add python-multipledispatch Ryan Prior via Guix-patches via
2021-09-27  2:20   ` [bug#50836] [PATCH 2/5] gnu: Add python-logical-unification Ryan Prior via Guix-patches via
2021-09-27  2:20   ` [bug#50836] [PATCH 3/5] gnu: Add python-cons Ryan Prior via Guix-patches via
2021-09-27  2:20   ` [bug#50836] [PATCH 4/5] gnu: Add python-etuples Ryan Prior via Guix-patches via
2021-09-27  2:20   ` [bug#50836] [PATCH 5/5] gnu: Add python-minikanren Ryan Prior via Guix-patches via
2021-09-27 10:28   ` Maxime Devos [this message]
2021-11-15 13:42 ` bug#50836: [PATCH 0/5] Python logic programming packages Ludovic Courtès

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

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

  git send-email \
    --in-reply-to=a7efb45960a63c7c5dbaac0a2c7458d2e4ba9e41.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=50836@debbugs.gnu.org \
    --cc=rprior@protonmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.