diff mbox

[3/5] gnu: Add python-sphinx-alabaster-theme-0.7.

Message ID 20161007103250.24046-4-dannym@scratchpost.org
State New
Headers show

Commit Message

Danny Milosavljevic Oct. 7, 2016, 10:32 a.m. UTC
* gnu/packages/python.scm (python-sphinx-alabaster-theme-0.7): New variable.
---
 gnu/packages/python.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

Comments

Hartmut Goebel Oct. 7, 2016, 11:01 a.m. UTC | #1
Am 07.10.2016 um 12:32 schrieb Danny Milosavljevic:
> +(define-public python-sphinx-alabaster-theme-0.7

Why do we need this exact version?

> +  (package
> +    (name "python-sphinx-alabaster-theme-0.7")

The version number is *never* put into the name.
Danny Milosavljevic Oct. 7, 2016, 2:51 p.m. UTC | #2
Hi,

On Fri, 7 Oct 2016 13:01:22 +0200
Hartmut Goebel <h.goebel@goebel-consult.de> wrote:

> Am 07.10.2016 um 12:32 schrieb Danny Milosavljevic:
> > +(define-public python-sphinx-alabaster-theme-0.7  

> Why do we need this exact version?

I don't know why - but we do, as you yourself wrote.

Hartmut Goebel wrote:
> These are required at run-time and thus need to be propagated-inputs:
> 
>     'alabaster>=0.7,<0.8',  

> > +  (package
> > +    (name "python-sphinx-alabaster-theme-0.7")  
> 
> The version number is *never* put into the name.

True, sorry.
diff mbox

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 73f0c05..088cdb0 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11040,3 +11040,23 @@  stemmer) generated from Snowball algorithms.")
     "This package contains the 'Cloud' theme for Sphinx and some
 related extensions.")
   (license license:bsd-3)))
+
+(define-public python-sphinx-alabaster-theme-0.7
+  (package
+    (name "python-sphinx-alabaster-theme-0.7")
+    (version "0.7.9")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "alabaster" version))
+        (sha256
+          (base32
+            "027anxzcb951gjlcc43y3rbn9qrw36d16vj9wd2smv5410xx9bs7"))))
+    (build-system python-build-system)
+    (home-page "https://alabaster.readthedocs.io")
+    (synopsis
+      "A configurable sidebar-enabled Sphinx theme")
+    (description
+      "Alabaster is a visually (c)lean, responsive, configurable theme for
+the Sphinx documentation system.  It's the default theme of Sphix.")
+    (license license:bsd-3)))