[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/14: gnu: Add python-jellyfish.
From: |
Leo Famulari |
Subject: |
11/14: gnu: Add python-jellyfish. |
Date: |
Fri, 18 Mar 2016 18:28:18 +0000 |
lfam pushed a commit to branch master
in repository guix.
commit 25a7db0ad32d0863fbb648a93699b034bd9fce0b
Author: Leo Famulari <address@hidden>
Date: Mon Feb 15 04:36:37 2016 -0500
gnu: Add python-jellyfish.
* gnu/packages/python.scm (python-jellyfish, python2-jellyfish): New
variables.
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index cff82fa..4ea2064 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8383,3 +8383,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.3")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "jellyfish" version))
+ (sha256
+ (base32
+ "12bxh8cy9xmvyrjz7aw159nd5pyvb645rkvw4r6bvm4xbvs8gd07"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page "https://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))))))
- branch master updated (0e0fd3e -> 3bf429a), Leo Famulari, 2016/03/18
- 10/14: gnu: Add python-mpd2., Leo Famulari, 2016/03/18
- 12/14: gnu: Add python2-unicodecsv., Leo Famulari, 2016/03/18
- 04/14: gnu: Add python-flask., Leo Famulari, 2016/03/18
- 06/14: gnu: Add python-pylast., Leo Famulari, 2016/03/18
- 07/14: gnu: Add python-cookies., Leo Famulari, 2016/03/18
- 11/14: gnu: Add python-jellyfish.,
Leo Famulari <=
- 09/14: gnu: Add python2-pathlib., Leo Famulari, 2016/03/18
- 02/14: gnu: Add python-munkres., Leo Famulari, 2016/03/18
- 03/14: gnu: Add python-musicbrainzngs., Leo Famulari, 2016/03/18
- 14/14: gnu: Add beets., Leo Famulari, 2016/03/18
- 01/14: gnu: Add python-mutagen., Leo Famulari, 2016/03/18
- 13/14: gnu: Add python-rarfile., Leo Famulari, 2016/03/18
- 08/14: gnu: Add python-responses., Leo Famulari, 2016/03/18
- 05/14: gnu: Add python-pyechonest., Leo Famulari, 2016/03/18