From: Eric Bavier <bavier@member.fsf.org>
To: Mark H Weaver <mhw@netris.org>
Cc: guix-devel@gnu.org
Subject: Re: We need to generalize 'package-with-python2'
Date: Tue, 3 Feb 2015 21:47:13 -0600 [thread overview]
Message-ID: <20150203214713.47d2fd1b@PocketWee> (raw)
In-Reply-To: <87siembm0k.fsf@netris.org>
On Tue, 03 Feb 2015 18:42:03 -0500
Mark H Weaver <mhw@netris.org> wrote:
> The 'python-dbus' package (called 'dbus-python' upsteam) uses the
> 'gnu-build-system', and like most other python libraries, there will
> be two variants: 'python-dbus' and 'python2-dbus'. Unfortunately,
> 'package-with-python2' only works on packages that use
> 'python-build-system'. This is a problem.
>
> It wouldn't be so bad to use 'inherit' to create 'python2-dbus' from
> 'python-dbus', but the more serious problem is that unless we
> generalize 'package-with-python2', it won't work properly on any
> package that uses 'python-dbus' as an input.
>
> On the other hand, I realize that 'package-with-explicit-python'
> intentionally avoids traversing into packages unless they use
> 'python-build-system', and that this is important for efficiency.
>
> Any thoughts on how best to solve this?
Would it be enough to stop recursion when the bag inputs no longer
contain a python?
`~Eric
next prev parent reply other threads:[~2015-02-04 3:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-03 23:42 We need to generalize 'package-with-python2' Mark H Weaver
2015-02-04 3:47 ` Eric Bavier [this message]
2015-02-07 23:12 ` 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
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=20150203214713.47d2fd1b@PocketWee \
--to=bavier@member.fsf.org \
--cc=guix-devel@gnu.org \
--cc=mhw@netris.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).