Federico Beffa <be...@ieee.org> skribis: > On Sat, Nov 29, 2014 at 10:05 PM, Ludovic Courtès <l...@gnu.org> wrote: >> What happens is that ‘package-with-python2’ automatically generates >> python2 variants of the dependencies of the package you give it. So >> (package-with-python2 python-matplotlib) generates a package with an >> input that is exactly (package-with-python2 python-numpydoc), hence with >> #:tests? #t. > > Oh, I see. Wouldn't it be better if, for each input, > 'pyckage-with-python2' would check if in (gnu packages python) a > variable with prefix 'python2-' is defined and, in case it is, use > that variable instead of constructing new package?
No, I think this is not desirable. Variable names are for us humans, and programs shouldn’t try to guess what’s meant by browsing module name spaces. Thanks, Ludo’.