From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 2/2] gnu: Add pip. Date: Wed, 12 Feb 2014 00:04:46 +0100 Message-ID: <1392159886-17521-3-git-send-email-tipecaml@gmail.com> References: <1392159886-17521-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDMPI-0000W1-8l for guix-devel@gnu.org; Tue, 11 Feb 2014 18:06:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDMPD-00020S-Hl for guix-devel@gnu.org; Tue, 11 Feb 2014 18:06:24 -0500 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:57034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDMPD-00020N-Ay for guix-devel@gnu.org; Tue, 11 Feb 2014 18:06:19 -0500 Received: by mail-wi0-f171.google.com with SMTP id cc10so5614098wib.16 for ; Tue, 11 Feb 2014 15:06:18 -0800 (PST) In-Reply-To: <1392159886-17521-1-git-send-email-tipecaml@gmail.com> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/python.scm (python-pip, python2-pip): New variables. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 7e28eda..6144925 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -198,6 +198,36 @@ data types.") "\n\nThis wrapper package provides symbolic links to the python binaries without version suffix.")))) +(define-public python-pip + (package + (name "python-pip") + (version "1.5.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/p/pip/pip-" + version ".tar.gz")) + (sha256 + (base32 + "0f7p6c2z78fcawri2y8aa8r3rzzq06zn94mkvc7a9lsjwq43x2ia")))) + (inputs + `(("python-setuptools" ,python-setuptools))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; The tests try to access the Internet. + (home-page "http://www.pip-installer.org") + (synopsis "A tool for installing and managing Python packages.") + (description + "pip is a replacement for easy_install, and is intended to be an improved +Python package installer. It integrates with virtualenv, doesn't do partial +installs, can save package state for replaying, can install from non-egg +sources, and can install from version control repositories.") + (license x11))) + +(define-public python2-pip + (package-with-python2 python-pip)) + (define-public python-virtualenv (package (name "python-virtualenv") -- 1.8.4.rc3