Hi, this is a patch-series fixing bug 20765.
Bug 20765 is about problems caused by python packages being installed as "zipped eggs" (basically these are zip-files). This series implements what I proposed in <http://lists.gnu.org/archive/html/guix-devel/2016-09/msg02021.html>. A) For python2 include python2-setuptools as a native-input by default. B) Install Python packages using --single-version-externally-managed C) Strip python-setuptools and python2-setuptools from all native-inputs defined in packages. Since the first of these changes already make *all* Python packages to be rebuild, i took the chance to complete points B) and C), too. Step C) is split into several patches to ease review. I'll happily merge them if requested. Furhter I did not complete the commit message for these patches. Please instruct me how these should be written. IMHO there is less use for listing every singel change liek I did in part 5b. TODO: by somebody more skilled than me: Take the change and * integrate strip-python2-variant into package-with-python2. * update Python to 2.7.12 and 3.4.5. Hartmut Goebel (14): gnu: ensure pip and setuptools are installed even for Python 2 guix: build all Python packages with --single-version-externally-managed. guix: Add lint-checker for packages which should be no inputs at all. gnu: python-setuptools: remove pre-built binaries. gnu: Remove python-setuptools and python2-setuptools from inputs (part 1) gnu: Remove python-setuptools and python2-setuptools from inputs (part 2) gnu: Remove python-setuptools and python2-setuptools from inputs (part 3) gnu: Remove python-setuptools and python2-setuptools from inputs (part 4) gnu: Remove python-setuptools and python2-setuptools from inputs (part 5a) gnu: Remove python-setuptools and python2-setuptools from inputs (part 5b) gnu: Remove needless inputs python-pip and python2-pip. lint: 'check-inputs-should-not-be-an-input-at-all' checks for python-pip gnu: python-h5py: Remove needless "python2-variant" property. gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs) gnu/packages/admin.scm | 7 +- gnu/packages/backup.scm | 5 +- gnu/packages/bioinformatics.scm | 123 +---- gnu/packages/django.scm | 22 +- gnu/packages/docbook.scm | 3 +- gnu/packages/docker.scm | 2 - gnu/packages/freedesktop.scm | 3 +- gnu/packages/game-development.scm | 2 - gnu/packages/gnupg.scm | 7 +- gnu/packages/key-mon.scm | 2 - gnu/packages/lirc.scm | 3 +- gnu/packages/mail.scm | 2 - gnu/packages/mp3.scm | 3 +- gnu/packages/mpd.scm | 9 +- gnu/packages/music.scm | 18 +- gnu/packages/nutrition.scm | 6 +- gnu/packages/openstack.scm | 46 +- gnu/packages/password-utils.scm | 9 +- gnu/packages/pdf.scm | 13 +- gnu/packages/protobuf.scm | 7 +- gnu/packages/python.scm | 1072 ++++++++---------------------------- gnu/packages/rdf.scm | 3 +- gnu/packages/statistics.scm | 22 +- gnu/packages/terminals.scm | 3 +- gnu/packages/tls.scm | 10 - gnu/packages/tor.scm | 6 +- gnu/packages/version-control.scm | 3 +- gnu/packages/xdisorg.scm | 3 +- guix/build/python-build-system.scm | 17 +- guix/scripts/lint.scm | 63 ++- tests/lint.scm | 34 ++ 31 files changed, 366 insertions(+), 1162 deletions(-) -- 2.7.4