From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: [PATCH 00/14] Change python-build-system (fixes bug 20765) Date: Wed, 28 Sep 2016 15:58:13 +0200 Message-ID: <1475071107-10765-1-git-send-email-h.goebel@crazy-compilers.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpFNd-00021H-Kc for guix-devel@gnu.org; Wed, 28 Sep 2016 09:58:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpFNY-0006Dk-LF for guix-devel@gnu.org; Wed, 28 Sep 2016 09:58:36 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:49885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpFNY-0006DG-B8 for guix-devel@gnu.org; Wed, 28 Sep 2016 09:58:32 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3skfS65x4cz3hjVd for ; Wed, 28 Sep 2016 15:58:30 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3skfS65q9pzvl3G for ; Wed, 28 Sep 2016 15:58:30 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id KGVg4_J0a8Sm for ; Wed, 28 Sep 2016 15:58:28 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-146-208.dynamic.mnet-online.de [188.174.146.208]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Wed, 28 Sep 2016 15:58:28 +0200 (CEST) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id B053360560 for ; Wed, 28 Sep 2016 15:58:27 +0200 (CEST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org 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 . 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