From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 1/3] gnu: Add python-pip. Date: Tue, 22 Sep 2015 00:31:13 +0200 Message-ID: <1442874675-31473-2-git-send-email-tipecaml@gmail.com> References: <1442874675-31473-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze9cN-0002p5-84 for guix-devel@gnu.org; Mon, 21 Sep 2015 18:31:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ze9cL-0007sE-Bb for guix-devel@gnu.org; Mon, 21 Sep 2015 18:31:27 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:36119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze9cL-0007ri-6D for guix-devel@gnu.org; Mon, 21 Sep 2015 18:31:25 -0400 Received: by wicgb1 with SMTP id gb1so135188197wic.1 for ; Mon, 21 Sep 2015 15:31:24 -0700 (PDT) In-Reply-To: <1442874675-31473-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 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 798a22f..a8d811e 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4916,3 +4916,35 @@ printing of sub-tables by specifying a row range.") (define-public python2-prettytable (package-with-python2 python-prettytable)) + +(define-public python-pip + (package + (name "python-pip") + (version "7.1.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/p/pip/pip-" + version ".tar.gz")) + (sha256 + (base32 + "0xx4aypfgchxdknxq7gyqghd8wb221zrzyqlbabzm32jy237j16a")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-virtualenv" ,python-virtualenv) + ;; Tests + ("python-mock" ,python-mock) + ("python-pytest" ,python-pytest) + ("python-scripttest" ,python-scripttest))) + (home-page "https://pip.pypa.io/") + (synopsis + "The PyPA recommended tool for installing Python packages") + (description + "Pip is a package manager for Python software, that finds packages on the +Python Package Index (PyPI).") + (license license:expat))) + +(define-public python2-pip + (package-with-python2 python-pip)) -- 2.1.4