From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH 2/3]: Add pyyaml. Date: Fri, 20 Feb 2015 17:48:04 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/x-patch Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOqkR-0007ny-E7 for guix-devel@gnu.org; Fri, 20 Feb 2015 11:48:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOqkN-0006xH-Ou for guix-devel@gnu.org; Fri, 20 Feb 2015 11:48:15 -0500 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:37998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOqkN-0006x1-Dr for guix-devel@gnu.org; Fri, 20 Feb 2015 11:48:11 -0500 Received: from localhost (localhost [127.0.0.1]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 7CA9D380F39 for ; Fri, 20 Feb 2015 17:48:10 +0100 (CET) Received: from pegasus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (pegasus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R-C0B3ZwjnD0 for ; Fri, 20 Feb 2015 17:48:04 +0100 (CET) Received: from HTCATWO.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP for ; Fri, 20 Feb 2015 17:48:04 +0100 (CET) In-Reply-To: Content-Disposition: inline; filename="0002-gnu-Add-pyyaml.patch" 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 >From 4b8d6f7a10bc4c20c267a4c26be4e5678ce96382 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 20 Feb 2015 17:38:17 +0100 Subject: [PATCH 2/3] gnu: Add pyyaml. * gnu/packages/python.scm (python-pyyaml, python2-pyyaml): 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 cb25419..e19d707 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -53,6 +53,7 @@ #:use-module (gnu packages readline) #:use-module (gnu packages texlive) #:use-module (gnu packages texinfo) + #:use-module (gnu packages web) #:use-module (gnu packages which) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -1730,6 +1731,37 @@ environments and back.") (define-public python2-itsdangerous (package-with-python2 python-itsdangerous)) +(define-public python-pyyaml + (package + (name "python-pyyaml") + (version "3.11") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/P/PyYAML/PyYAML-" + version ".tar.gz")) + (sha256 + (base32 + "1s26125vfnskng58ym37xhwv8v0mm95b2cwbjfag8prfhy596v63")))) + (build-system python-build-system) + (propagated-inputs + `(("libyaml" ,libyaml))) + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://pyyaml.org/wiki/PyYAML") + (synopsis "YAML parser and emitter for Python") + (description + " PyYAML is a YAML parser and emitter for Python. PyYAML features a +complete YAML 1.1 parser, Unicode support, pickle support, capable extension +API, and sensible error messages. PyYAML supports standard YAML tags and +provides Python-specific tags that allow to represent an arbitrary Python +object.") + (license license:expat))) + +(define-public python2-pyyaml + (package-with-python2 python-pyyaml)) + (define-public python-virtualenv (package (name "python-virtualenv") -- 2.1.0