diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2021-09-03 10:56:20 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2021-09-04 14:53:36 +0200 |
commit | 26fe4d77bf4cdbe03bf379f53362ad11394a0cb0 (patch) | |
tree | cf138b9ee8c29bfaca3a6953517a0f626f1bba80 | |
parent | ddb8852a9beab231e2bbf4e51f8f62a644ff6ad0 (diff) | |
download | guix-26fe4d77bf4cdbe03bf379f53362ad11394a0cb0.tar.gz |
gnu: python-jellyfish: Update to 0.8.8.
* gnu/packages/python-xyz.scm (python-jellyfish)[version]: Update to 0.8.8. [arguments]: Use pytest. [properties]: Remove python2-variant. (python2-jellyfish): Remove, unsupported by upstream.
-rw-r--r-- | gnu/packages/python-xyz.scm | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3bb75bdadc..830c18dd49 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13807,29 +13807,30 @@ ambiguities (forward vs. backward slashes, etc.). (define-public python-jellyfish (package (name "python-jellyfish") - (version "0.5.6") + (version "0.8.8") (source (origin (method url-fetch) (uri (pypi-uri "jellyfish" version)) (sha256 (base32 - "1j9rplb16ba2prjj6mip46z0w9pnhnqpwgiwi0x93vnas14rlyl8")))) + "0p2s6b30sfffx8sya2i8kz0i0riw9fq1fi0k89s8kdgrmjf0h1h5")))) (build-system python-build-system) + (arguments + `(#:tests? #f ; XXX: Tests cannot find C coded version. + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "jellyfish/test.py"))))))) (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 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-unicodecsv" ,python2-unicodecsv) - ,@(package-native-inputs jellyfish)))))) + (license license:bsd-2))) (define-public python2-unicodecsv (package |