From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: Guix-devel <guix-devel@gnu.org>
Subject: [PATCH 2/3]: Add pyyaml.
Date: Fri, 20 Feb 2015 17:48:04 +0100 [thread overview]
Message-ID: <idjfva0il6j.fsf@bimsb-sys02.mdc-berlin.net> (raw)
In-Reply-To: <idjioewil9f.fsf@bimsb-sys02.mdc-berlin.net>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0002-gnu-Add-pyyaml.patch --]
[-- Type: text/x-patch, Size: 2120 bytes --]
From 4b8d6f7a10bc4c20c267a4c26be4e5678ce96382 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
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
next prev parent reply other threads:[~2015-02-20 16:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-20 16:46 [PATCH 0/3]: Add libyaml, pyyaml, pybedtools Ricardo Wurmus
2015-02-20 16:47 ` [PATCH 1/3]: Add libyaml Ricardo Wurmus
2015-02-20 16:48 ` Ricardo Wurmus [this message]
2015-02-20 17:58 ` [PATCH 2/3]: Add pyyaml Andreas Enge
2015-02-26 13:40 ` Ricardo Wurmus
2015-02-26 14:15 ` Ricardo Wurmus
2015-02-28 14:21 ` Andreas Enge
2015-02-20 16:48 ` [PATCH 3/3]: Add pybedtools Ricardo Wurmus
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=idjfva0il6j.fsf@bimsb-sys02.mdc-berlin.net \
--to=ricardo.wurmus@mdc-berlin.de \
--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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.