guix-commits
[Top][All Lists]
Advanced

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

05/11: gnu: Add python-pylev and python2-pylev.


From: ???
Subject: 05/11: gnu: Add python-pylev and python2-pylev.
Date: Sat, 25 Jun 2016 12:50:10 +0000 (UTC)

iyzsong pushed a commit to branch master
in repository guix.

commit 1899556655dda2dbffcf5e76f8f2796d64e37a20
Author: 宋文武 <address@hidden>
Date:   Thu Jun 23 23:09:03 2016 +0800

    gnu: Add python-pylev and python2-pylev.
    
    * gnu/packages/python.scm (python-pylev, python2-pylev): 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 ced8232..1dc5212 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9368,3 +9368,26 @@ underscored string.")
 (define-public python2-inflection
   (package-with-python2 python-inflection))
 
+(define-public python-pylev
+  (package
+    (name "python-pylev")
+    (version "1.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pylev" version))
+              (sha256
+               (base32
+                "1hz1x9blsbxya1y9nnhnwwdnqmakxi9mc0jkwj0rn6b1h44i0f86"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (home-page "http://github.com/toastdriven/pylev";)
+    (synopsis "Levenshtein distance implementation in Python")
+    (description "Pure Python Levenshtein implementation, based off the
+Wikipedia code samples at
address@hidden://en.wikipedia.org/wiki/Levenshtein_distance}.")
+    (license bsd-3)))
+
+(define-public python2-pylev
+  (package-with-python2 python-pylev))
+



reply via email to

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