[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 29/31] gnu: Add python-docutils.
From: |
David Thompson |
Subject: |
[PATCH 29/31] gnu: Add python-docutils. |
Date: |
Fri, 5 Sep 2014 11:18:35 -0400 |
* gnu/packages/python.scm (python-docutils, python2-docutils): New variables.
---
gnu/packages/python.scm | 33 +++++++++++++++++++++++++++++++--
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 6f7d474..b90d4d7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -22,8 +22,8 @@
(define-module (gnu packages python)
#:use-module ((guix licenses)
- #:select (asl2.0 bsd-3 bsd-style cc0 expat x11 x11-style
- gpl2 gpl2+ lgpl2.0+ lgpl2.1+
+ #:select (asl2.0 bsd-3 bsd-2 bsd-style cc0 expat x11 x11-style
+ gpl2 gpl3 gpl2+ lgpl2.0+ lgpl2.1+
psfl public-domain))
#:use-module ((guix licenses) #:select (zlib)
#:renamer (symbol-prefix-proc 'license:))
@@ -1813,3 +1813,32 @@ written in pure Python.")
(define-public python2-jinja2
(package-with-python2 python-jinja2))
+(define-public python-docutils
+ (package
+ (name "python-docutils")
+ (version "0.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/d/docutils/docutils-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1ylnjnw1x4b2y7blr6x35ncdzn69k253kw4cdkv6asdb21w73ny7"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (arguments
+ '(#:tests? #f)) ; no setup.py test command
+ (home-page "http://docutils.sourceforge.net/")
+ (synopsis "Python Documentation Utilities")
+ (description
+ "Docutils is a modular system for processing documentation into useful
+formats, such as HTML, XML, and LaTeX. For input Docutils supports
+reStructuredText.")
+ (license (list public-domain psfl bsd-2 gpl3))))
+
+(define-public python2-docutils
+ (package-with-python2 python-docutils))
+
--
2.0.1
- [PATCH 26/31] gnu: Add python-pip., (continued)
- [PATCH 26/31] gnu: Add python-pip., David Thompson, 2014/09/05
- [PATCH 12/31] gnu: Add python-pytest., David Thompson, 2014/09/05
- [PATCH 28/31] gnu: Add python-jinja2., David Thompson, 2014/09/05
- [PATCH 27/31] gnu: Add python-markupsafe., David Thompson, 2014/09/05
- [PATCH 29/31] gnu: Add python-docutils.,
David Thompson <=
- [PATCH 20/31] gnu: Add python-discover., David Thompson, 2014/09/05
- [PATCH 30/31] gnu: Add python-pygments., David Thompson, 2014/09/05
- [PATCH 31/31] gnu: Add python-sphinx., David Thompson, 2014/09/05
- Re: [PATCH 01/31] gnu: Add python-exif-read., Ludovic Courtès, 2014/09/05