unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* We need to generalize 'package-with-python2'
@ 2015-02-03 23:42 Mark H Weaver
  2015-02-04  3:47 ` Eric Bavier
  0 siblings, 1 reply; 3+ messages in thread
From: Mark H Weaver @ 2015-02-03 23:42 UTC (permalink / raw)
  To: guix-devel

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?

      Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-07 23:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-03 23:42 We need to generalize 'package-with-python2' Mark H Weaver
2015-02-04  3:47 ` Eric Bavier
2015-02-07 23:12   ` Ludovic Courtès

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