guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

73/97: gnu: Add python-rst.linker, python2-rst.linker.


From: Hartmut Goebel
Subject: 73/97: gnu: Add python-rst.linker, python2-rst.linker.
Date: Tue, 18 Oct 2016 20:13:21 +0000 (UTC)

htgoebel pushed a commit to branch wip-python-build-system
in repository guix.

commit bf4c68d1ad557159964076110171be0a1f9aa1dc
Author: Hartmut Goebel <address@hidden>
Date:   Sun Oct 16 21:49:55 2016 +0200

    gnu: Add python-rst.linker, python2-rst.linker.
    
    * gnu/packages/python.scm (python-rst.linker, python2-rst.linker): New
      variables.
---
 gnu/packages/python.scm |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2f6b8f5..91d657a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2707,6 +2707,36 @@ sources.")
 (define-public python2-sphinx-rtd-theme
   (package-with-python2 python-sphinx-rtd-theme))
 
+(define-public python-rst.linker
+  (package
+    (name "python-rst.linker")
+    (version "1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "rst.linker" version))
+       (sha256
+        (base32
+         "0bh4lnj2p1nh0wf5pgxgfbrp27xhb1rinahkb5j7s3qprq6qn0sr"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-dateutil" ,python-dateutil-2)
+       ("python-six" ,python-six)))
+    (native-inputs
+     `(("python-setuptools-scm" ,python-setuptools-scm)))
+    ;; Test would require path.py, which would introduce a cyclic dependence.
+    (arguments `(#:tests? #f))
+    ;; Note: As of version 1.7 the documentation is not worth building.
+    (home-page "https://github.com/jaraco/rst.linker";)
+    (synopsis "Sphinx plugin to add links and timestamps")
+    (description "rst.linker allows to automatically replace text by a
+reStructuredText external reference or timestamps.  It's primary purpose is to
+augment the changelog, but it can be used for other documents, too.")
+    (license license:expat)))
+
+(define-public python2-rst.linker
+  (package-with-python2 python-rst.linker))
+
 (define-public python-feedgenerator
   (package
     (name "python-feedgenerator")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]