unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Cyril Roelandt <tipecaml@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 1/2] gnu: Add virtualenv.
Date: Wed, 12 Feb 2014 00:04:45 +0100	[thread overview]
Message-ID: <1392159886-17521-2-git-send-email-tipecaml@gmail.com> (raw)
In-Reply-To: <1392159886-17521-1-git-send-email-tipecaml@gmail.com>

* gnu/packages/python.scm (python-virtualenv, python2-virtualenv): New variables.
---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 44e3c14..7e28eda 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -198,6 +198,32 @@ data types.")
      "\n\nThis wrapper package provides symbolic links to the python binaries
       without version suffix."))))
 
+(define-public python-virtualenv
+  (package
+    (name "python-virtualenv")
+    (version "1.11.2")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append
+            "https://pypi.python.org/packages/source/v/virtualenv/"
+            "virtualenv-" version ".tar.gz"))
+      (sha256
+       (base32
+        "1pxn5g445xcp3vhcg67dnf67vrnpjrfcl1w700ispi581xhs301h"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ; See https://github.com/pypa/virtualenv/pull/561
+    (home-page "http://www.virtualenv.org/")
+    (synopsis "A tool to create isolated Python environments.")
+    (description "
+Virtualenv creates an environment that has its own installation directories,
+that doesn’t share libraries with other virtualenv environments (and optionally
+doesn’t access the globally installed libraries either.")
+    (license x11)))
+
+(define-public python2-virtualenv
+  (package-with-python2 python-virtualenv))
 
 (define-public python-pytz
   (package
-- 
1.8.4.rc3

  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 ` Cyril Roelandt [this message]
2014-02-12 13:04   ` [PATCH 1/2] gnu: Add virtualenv Ludovic Courtès
2014-02-11 23:04 ` [PATCH 2/2] gnu: Add pip Cyril Roelandt
2014-02-12 13:06   ` 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-2-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).