From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 29/31] gnu: Add python-docutils. Date: Fri, 5 Sep 2014 11:18:35 -0400 Message-ID: <1409930317-13220-29-git-send-email-dthompson2@worcester.edu> References: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvIQ-0001q8-Uc for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvIJ-0003pH-U4 for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:30 -0400 Received: from na3sys009aog138.obsmtp.com ([74.125.149.19]:60846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvIJ-0003oz-Nn for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:23 -0400 Received: by mail-yh0-f46.google.com with SMTP id t59so7429192yho.5 for ; Fri, 05 Sep 2014 08:19:22 -0700 (PDT) In-Reply-To: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> 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-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