[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/13] gnu: Add python-jellyfish.
From: |
Leo Famulari |
Subject: |
[PATCH 10/13] gnu: Add python-jellyfish. |
Date: |
Thu, 3 Mar 2016 20:26:36 -0500 |
* gnu/packages/python.scm (python-jellyfish, python2-jellyfish): New variables.
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b148c7c..ac82a09 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8310,3 +8310,31 @@ ambiguities (forward vs. backward slashes, etc.).
(define-public python2-pathlib
(package-with-python2 python-pathlib))
+
+(define-public python-jellyfish
+ (package
+ (name "python-jellyfish")
+ (version "0.5.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "jellyfish" version))
+ (sha256
+ (base32
+ "15xk0kbr1gig9r1mp22lk9mk3jyi886h8ywn9diixhnyl4q6dacn"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page "http://github.com/jamesturk/jellyfish")
+ (synopsis "Approximate and phonetic matching of strings.")
+ (description "Jellyfish uses a variety of string comparison and phonetic
+encoding algorithms to do fuzzy string matching.")
+ (license bsd-2)
+ (properties `((python2-variant . ,(delay python2-jellyfish))))))
+
+(define-public python2-jellyfish
+ (let ((jellyfish (package-with-python2
+ (strip-python2-variant python-jellyfish))))
+ (package (inherit jellyfish)
+ (native-inputs `(("python2-setuptools" ,python2-setuptools)
+ ("python2-unicodecsv" ,python2-unicodecsv)
+ ,@(package-native-inputs jellyfish))))))
--
2.6.3
- Re: [PATCH 13/13] gnu: Add beets., (continued)
- Re: [PATCH 13/13] gnu: Add beets., Leo Famulari, 2016/03/25
- Re: [PATCH 13/13] gnu: Add beets., Alex Griffin, 2016/03/25
- Re: [PATCH 13/13] gnu: Add beets., Leo Famulari, 2016/03/25
- Re: [PATCH 13/13] gnu: Add beets., Leo Famulari, 2016/03/25
- Re: [PATCH 13/13] gnu: Add beets., Ludovic Courtès, 2016/03/26
- Re: [PATCH 13/13] gnu: Add beets., Alex Griffin, 2016/03/26
- Re: [PATCH 13/13] gnu: Add beets., Leo Famulari, 2016/03/27
- Re: [PATCH 13/13] gnu: Add beets., Leo Famulari, 2016/03/27
- Re: [PATCH 13/13] gnu: Add beets., Ludovic Courtès, 2016/03/28
[PATCH 04/13] gnu: Add python-flask., Leo Famulari, 2016/03/03
[PATCH 10/13] gnu: Add python-jellyfish.,
Leo Famulari <=
[PATCH 01/13] gnu: Add python-mutagen., Leo Famulari, 2016/03/03