From: Cyril Roelandt <tipecaml@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 2/2] gnu: Add pip.
Date: Wed, 12 Feb 2014 00:04:46 +0100 [thread overview]
Message-ID: <1392159886-17521-3-git-send-email-tipecaml@gmail.com> (raw)
In-Reply-To: <1392159886-17521-1-git-send-email-tipecaml@gmail.com>
* 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
next prev parent reply other threads:[~2014-02-11 23:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-11 23:04 [PATCH 0/2] Add Python tools Cyril Roelandt
2014-02-11 23:04 ` [PATCH 1/2] gnu: Add virtualenv Cyril Roelandt
2014-02-12 13:04 ` Ludovic Courtès
2014-02-11 23:04 ` Cyril Roelandt [this message]
2014-02-12 13:06 ` [PATCH 2/2] gnu: Add pip Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1392159886-17521-3-git-send-email-tipecaml@gmail.com \
--to=tipecaml@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).