all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH v4 0/3] Prepare for Sphinx update
@ 2017-01-04 20:43 Danny Milosavljevic
  2017-01-04 20:43 ` [PATCH v4 1/3] gnu: Add python-snowballstemmer Danny Milosavljevic
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Danny Milosavljevic @ 2017-01-04 20:43 UTC (permalink / raw)
  To: guix-devel

This adds new packages that will be required for an eventual Sphinx update.

Danny Milosavljevic (3):
  gnu: Add python-snowballstemmer.
  gnu: Add python-sphinx-cloud-sptheme.
  gnu: Add python-sphinx-alabaster-theme.

 gnu/packages/python.scm | 74 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v4 1/3] gnu: Add python-snowballstemmer.
  2017-01-04 20:43 [PATCH v4 0/3] Prepare for Sphinx update Danny Milosavljevic
@ 2017-01-04 20:43 ` Danny Milosavljevic
  2017-01-04 20:43 ` [PATCH v4 2/3] gnu: Add python-sphinx-cloud-sptheme Danny Milosavljevic
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Danny Milosavljevic @ 2017-01-04 20:43 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/python.scm (python-snowballstemmer,
  python2-snowballstemmer): New variables.
---
 gnu/packages/python.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 04cd3fa90..6589c59e3 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11695,6 +11695,31 @@ provide extendible implementations of common aspects of a cloud so that you can
 focus on building massively scalable web applications.")
     (license license:expat)))
 
+(define-public python-snowballstemmer
+  (package
+    (name "python-snowballstemmer")
+    (version "1.2.1")
+    (source (origin
+      (method url-fetch)
+      (uri (pypi-uri "snowballstemmer" version))
+      (sha256
+        (base32
+          "0a0idq4y5frv7qsg2x62jd7rd272749xk4x99misf5rcifk2d7wi"))))
+    (build-system python-build-system)
+    (arguments
+     `(;; No tests exist
+       #:tests? #f))
+    (home-page "https://github.com/shibukawa/snowball_py")
+    (synopsis "16 stemmer algorithms (15 + Poerter English stemmer)")
+    (description "This package provides 16 word stemmer algorithms generated
+from Snowball algorithms.  It includes the 15 original ones plus the Poerter
+English stemmer.")
+    (license license:bsd-3)
+    (properties `((python2-variant . ,(delay python2-snowballstemmer))))))
+
+(define-public python2-snowballstemmer
+  (package-with-python2 (strip-python2-variant python-snowballstemmer)))
+
 (define-public python-betamax
   (package
     (name "python-betamax")

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v4 2/3] gnu: Add python-sphinx-cloud-sptheme.
  2017-01-04 20:43 [PATCH v4 0/3] Prepare for Sphinx update Danny Milosavljevic
  2017-01-04 20:43 ` [PATCH v4 1/3] gnu: Add python-snowballstemmer Danny Milosavljevic
@ 2017-01-04 20:43 ` Danny Milosavljevic
  2017-01-04 20:43 ` [PATCH v4 3/3] gnu: Add python-sphinx-alabaster-theme Danny Milosavljevic
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Danny Milosavljevic @ 2017-01-04 20:43 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/python.scm (python-sphinx-cloud-sptheme,
  python2-sphinx-cloud-sptheme): New variables.
---
 gnu/packages/python.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 6589c59e3..e93e827de 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11720,6 +11720,29 @@ English stemmer.")
 (define-public python2-snowballstemmer
   (package-with-python2 (strip-python2-variant python-snowballstemmer)))
 
+(define-public python-sphinx-cloud-sptheme
+  (package
+    (name "python-sphinx-cloud-sptheme")
+    (version "1.7.1")
+    (source (origin
+      (method url-fetch)
+      (uri (pypi-uri "cloud_sptheme" version))
+      (sha256
+        (base32
+          "0zm9ap4p5dzln8f1m2immadaxv2xpg8jg4w53y52rhfl7pdb58vy"))))
+  (build-system python-build-system)
+  (native-inputs
+    `(("python-sphinx" ,python-sphinx)))
+  (home-page "https://bitbucket.org/ecollins/cloud_sptheme")
+  (synopsis "'Cloud' theme for Sphinx documenter")
+  (description "This package contains the 'Cloud' theme for Sphinx and some
+related extensions.")
+  (license license:bsd-3)
+  (properties `((python2-variant . ,(delay python2-sphinx-cloud-sptheme))))))
+
+(define-public python2-sphinx-cloud-sptheme
+  (package-with-python2 (strip-python2-variant python-sphinx-cloud-sptheme)))
+
 (define-public python-betamax
   (package
     (name "python-betamax")

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v4 3/3] gnu: Add python-sphinx-alabaster-theme.
  2017-01-04 20:43 [PATCH v4 0/3] Prepare for Sphinx update Danny Milosavljevic
  2017-01-04 20:43 ` [PATCH v4 1/3] gnu: Add python-snowballstemmer Danny Milosavljevic
  2017-01-04 20:43 ` [PATCH v4 2/3] gnu: Add python-sphinx-cloud-sptheme Danny Milosavljevic
@ 2017-01-04 20:43 ` Danny Milosavljevic
  2017-01-05 10:24 ` [PATCH v4 0/3] Prepare for Sphinx update Hartmut Goebel
  2017-01-05 15:20 ` Marius Bakke
  4 siblings, 0 replies; 6+ messages in thread
From: Danny Milosavljevic @ 2017-01-04 20:43 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/python.scm (python-sphinx-alabaster-theme,
  python2-sphinx-alabaster-theme): New variables.
---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e93e827de..d80296339 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11743,6 +11743,32 @@ related extensions.")
 (define-public python2-sphinx-cloud-sptheme
   (package-with-python2 (strip-python2-variant python-sphinx-cloud-sptheme)))
 
+(define-public python-sphinx-alabaster-theme
+  (package
+    (name "python-sphinx-alabaster-theme")
+    (version "0.7.9")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "alabaster" version))
+        (sha256
+          (base32
+            "027anxzcb951gjlcc43y3rbn9qrw36d16vj9wd2smv5410xx9bs7"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pygments" ,python-pygments)))
+    (home-page "https://alabaster.readthedocs.io/")
+    (synopsis "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 Sphinx.")
+    (license license:bsd-3)
+    (properties `((python2-variant .
+                   ,(delay python2-sphinx-alabaster-theme))))))
+
+(define-public python2-sphinx-alabaster-theme
+  (package-with-python2 (strip-python2-variant
+                                     python-sphinx-alabaster-theme)))
+
 (define-public python-betamax
   (package
     (name "python-betamax")

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v4 0/3] Prepare for Sphinx update
  2017-01-04 20:43 [PATCH v4 0/3] Prepare for Sphinx update Danny Milosavljevic
                   ` (2 preceding siblings ...)
  2017-01-04 20:43 ` [PATCH v4 3/3] gnu: Add python-sphinx-alabaster-theme Danny Milosavljevic
@ 2017-01-05 10:24 ` Hartmut Goebel
  2017-01-05 15:20 ` Marius Bakke
  4 siblings, 0 replies; 6+ messages in thread
From: Hartmut Goebel @ 2017-01-05 10:24 UTC (permalink / raw)
  To: Danny Milosavljevic, guix-devel

Am 04.01.2017 um 21:43 schrieb Danny Milosavljevic:
>   gnu: Add python-snowballstemmer.
>   gnu: Add python-sphinx-cloud-sptheme.
>   gnu: Add python-sphinx-alabaster-theme.

LGTM.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v4 0/3] Prepare for Sphinx update
  2017-01-04 20:43 [PATCH v4 0/3] Prepare for Sphinx update Danny Milosavljevic
                   ` (3 preceding siblings ...)
  2017-01-05 10:24 ` [PATCH v4 0/3] Prepare for Sphinx update Hartmut Goebel
@ 2017-01-05 15:20 ` Marius Bakke
  4 siblings, 0 replies; 6+ messages in thread
From: Marius Bakke @ 2017-01-05 15:20 UTC (permalink / raw)
  To: Danny Milosavljevic, guix-devel

[-- Attachment #1: Type: text/plain, Size: 799 bytes --]

Danny Milosavljevic <dannym@scratchpost.org> writes:

> This adds new packages that will be required for an eventual Sphinx update.
>
> Danny Milosavljevic (3):
>   gnu: Add python-snowballstemmer.
>   gnu: Add python-sphinx-cloud-sptheme.
>   gnu: Add python-sphinx-alabaster-theme.
>
>  gnu/packages/python.scm | 74 +++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 74 insertions(+)

Thanks, applied! I changed the description of cloud-sptheme to use
double quotes instead of single quotes to make "guix lint" happy, and
made the snowballstemmer synopsis more generic.

Also removed the delay properties, as AFAIK this is only needed when the
python2 variant requires changes to the expression.

Another low-hanging fruit for the pypi importer is to make it indent
properly ;-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-01-05 15:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-04 20:43 [PATCH v4 0/3] Prepare for Sphinx update Danny Milosavljevic
2017-01-04 20:43 ` [PATCH v4 1/3] gnu: Add python-snowballstemmer Danny Milosavljevic
2017-01-04 20:43 ` [PATCH v4 2/3] gnu: Add python-sphinx-cloud-sptheme Danny Milosavljevic
2017-01-04 20:43 ` [PATCH v4 3/3] gnu: Add python-sphinx-alabaster-theme Danny Milosavljevic
2017-01-05 10:24 ` [PATCH v4 0/3] Prepare for Sphinx update Hartmut Goebel
2017-01-05 15:20 ` Marius Bakke

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.