From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 1/2] gnu: Add virtualenv. Date: Wed, 12 Feb 2014 00:04:45 +0100 Message-ID: <1392159886-17521-2-git-send-email-tipecaml@gmail.com> References: <1392159886-17521-1-git-send-email-tipecaml@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDMPG-0000W0-M3 for guix-devel@gnu.org; Tue, 11 Feb 2014 18:06:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDMPA-00020E-17 for guix-devel@gnu.org; Tue, 11 Feb 2014 18:06:22 -0500 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:44333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDMP9-000207-QP for guix-devel@gnu.org; Tue, 11 Feb 2014 18:06:15 -0500 Received: by mail-wi0-f176.google.com with SMTP id hi5so5621985wib.15 for ; Tue, 11 Feb 2014 15:06:15 -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-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