bug#22808: Add a function to simplify many of the new python2-foo definitions

2016-04-26 Thread Ludovic Courtès
Efraim Flashner skribis: > On Tue, Apr 26, 2016 at 11:54:28AM +0200, Ludovic Courtès wrote: >> l...@gnu.org (Ludovic Courtès) skribis: [...] >> What about this: >> > >> --- a/gnu/packages/python.scm >> +++ b/gnu/packages/python.scm >> @@ -345,6 +345,14 @@ instead of @command{python3}."))) >>

bug#22808: Add a function to simplify many of the new python2-foo definitions

2016-04-26 Thread Efraim Flashner
On Tue, Apr 26, 2016 at 11:54:28AM +0200, Ludovic Courtès wrote: > l...@gnu.org (Ludovic Courtès) skribis: > > > Christopher Allan Webber skribis: > > > >> Right now we have a lot of these that look very similar: > >> > >> (define-public python2-chardet > >> (package > >> (inherit (pa

bug#22808: Add a function to simplify many of the new python2-foo definitions

2016-04-26 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > Christopher Allan Webber skribis: > >> Right now we have a lot of these that look very similar: >> >> (define-public python2-chardet >> (package >> (inherit (package-with-python2 >> (strip-python2-variant python-chardet))) >>

bug#22808: Add a function to simplify many of the new python2-foo definitions

2016-02-26 Thread Ludovic Courtès
Christopher Allan Webber skribis: > Right now we have a lot of these that look very similar: > > (define-public python2-chardet > (package > (inherit (package-with-python2 > (strip-python2-variant python-chardet))) > (native-inputs `(("python2-setuptools" ,python

bug#22808: Add a function to simplify many of the new python2-foo definitions

2016-02-25 Thread Christopher Allan Webber
Right now we have a lot of these that look very similar: (define-public python2-chardet (package (inherit (package-with-python2 (strip-python2-variant python-chardet))) (native-inputs `(("python2-setuptools" ,python2-setuptools) (define-public python2-trans