guix-commits
[Top][All Lists]
Advanced

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

09/11: gnu: Add python-snowballstemmer.


From: Leo Famulari
Subject: 09/11: gnu: Add python-snowballstemmer.
Date: Tue, 12 Jul 2016 22:27:09 +0000 (UTC)

lfam pushed a commit to branch python-updates
in repository guix.

commit 88126d1a6ede7d252c637522cc3d1b4481b381f0
Author: Leo Famulari <address@hidden>
Date:   Fri Jul 1 17:40:02 2016 -0400

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index cf0efa7..19c0e5b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9796,3 +9796,25 @@ the default Sphinx theme.")
       (native-inputs
        `(("python2-setuptools" ,python2-setuptools)
          ,@(package-native-inputs base))))))
+
+(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
+     `(#:tests? #f)) ; no test suite
+    (synopsis "Snowball stemming library collection for Python")
+    (description "This package provides 16 stemmer algorithms generated from
+Snowball algorithms.")
+    (home-page "https://github.com/shibukawa/snowball_py";)
+    (license bsd-2)))
+
+(define-public python2-snowballstemmer
+  (package-with-python2 python-snowballstemmer))



reply via email to

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