unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Christopher Allan Webber <cwebber@dustycloud.org>
Cc: guix-devel@gnu.org
Subject: Re: Inherit inputs when unnecessary in these python2 packages?
Date: Sat, 13 Feb 2016 22:19:41 -0500	[thread overview]
Message-ID: <20160214031941.GA17916@jasmine> (raw)
In-Reply-To: <87twlct53f.fsf@dustycloud.org>

On Sat, Feb 13, 2016 at 06:10:17PM -0800, Christopher Allan Webber wrote:
> I'm doing a lot of packaging for Python packages right now.  A lot of
> the code looks like this:

[...]

> > (define-public python2-execnet
> >   (package
> >     (inherit (package-with-python2
> >               (strip-python2-variant python-execnet)))
> >     (inputs
> >      `(("python2-setuptools" ,python2-setuptools)))))
> 
> As you can see, there is no inputs on python-execnet, so it's not
> necessary to include the inputs.  However, if (inputs) were added in the
> future, this could lead to a developer mistakenly forgetting to change
> the python2 variant.
> 
> What's the better approach?

Take a look at python2-wheel, as in 8ad4ae204f.

  reply	other threads:[~2016-02-14  3:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-14  2:10 Inherit inputs when unnecessary in these python2 packages? Christopher Allan Webber
2016-02-14  3:19 ` Leo Famulari [this message]
2016-02-14 14:48 ` Andreas Enge
2016-02-14 19:09   ` 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=20160214031941.GA17916@jasmine \
    --to=leo@famulari.name \
    --cc=cwebber@dustycloud.org \
    --cc=guix-devel@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).