From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH] gnu: Add Python 3. Date: Wed, 28 Aug 2013 01:03:46 +0200 Message-ID: <1377644626-17292-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VESd8-0002DE-Ia for guix-devel@gnu.org; Tue, 27 Aug 2013 19:25:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VESd2-00030D-OC for guix-devel@gnu.org; Tue, 27 Aug 2013 19:24:58 -0400 Received: from mail-we0-f181.google.com ([74.125.82.181]:45243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VESd2-000306-Hm for guix-devel@gnu.org; Tue, 27 Aug 2013 19:24:52 -0400 Received: by mail-we0-f181.google.com with SMTP id q57so4648017wes.12 for ; Tue, 27 Aug 2013 16:24:16 -0700 (PDT) List-Id: 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 (python3): New variable. --- gnu/packages/python.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 35d5b51..592c8a5 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -151,6 +151,18 @@ packages; exception-based error handling; and very high level dynamic data types.") (license psfl))) +(define-public python3 + (package (inherit python) + (version "3.3.2") + (source + (origin + (method url-fetch) + (uri (string-append "http://www.python.org/ftp/python/" + version "/Python-" version ".tar.xz")) + (sha256 + (base32 + "0hsbwqjnhr85a2w252c8d3yj8d9i5sy8s6a6cfk6zqqhp3234nvl")))))) + (define-public pytz (package (name "pytz") -- 1.8.3.1