unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39604] [PATCH] gnu: Add python-fuzzywuzzy.
@ 2020-02-14 18:53 sirgazil via Guix-patches via
  2020-02-14 22:41 ` bug#39604: " Jakub Kądziołka
  0 siblings, 1 reply; 2+ messages in thread
From: sirgazil via Guix-patches via @ 2020-02-14 18:53 UTC (permalink / raw)
  To: 39604; +Cc: sirgazil

* gnu/packages/python-xyz.scm (python-fuzzywuzzy, python2-fuzzywuzzy):
  New variables.
---
 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ca559ca00a..aeea4df12a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -69,6 +69,7 @@
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;; Copyright © 2019 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
+;;; Copyright © 2020 sirgazil <sirgazil@zoho.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -17541,3 +17542,31 @@ extensive support of PNG features.  It can also read and write Netpbm PAM
 files, with a focus on its use as an intermediate format for implementing
 custom PNG processing.")
     (license license:expat)))
+
+(define-public python-fuzzywuzzy
+  (package
+    (name "python-fuzzywuzzy")
+    (version "0.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "fuzzywuzzy" version))
+       (sha256
+        (base32
+         "1s00zn75y2dkxgnbw8kl8dw4p1mc77cv78fwfa4yb0274s96w0a5"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-hypothesis" ,python-hypothesis)
+       ("python-pycodestyle" ,python-pycodestyle)
+       ("python-pytest" ,python-pytest)))
+    (propagated-inputs
+     `(("python-levenshtein" ,python-levenshtein)))
+    (home-page "https://github.com/seatgeek/fuzzywuzzy")
+    (synopsis "Fuzzy string matching in python")
+    (description "Approximate string matching using
+@emph{Levenshtein Distance} to calculate the differences between
+sequences.")
+    (license license:gpl2)))
+
+(define-public python2-fuzzywuzzy
+  (package-with-python2 python-fuzzywuzzy))
-- 
2.25.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#39604: [PATCH] gnu: Add python-fuzzywuzzy.
  2020-02-14 18:53 [bug#39604] [PATCH] gnu: Add python-fuzzywuzzy sirgazil via Guix-patches via
@ 2020-02-14 22:41 ` Jakub Kądziołka
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kądziołka @ 2020-02-14 22:41 UTC (permalink / raw)
  To: sirgazil; +Cc: 39604-done

[-- Attachment #1: Type: text/plain, Size: 1928 bytes --]

On Fri, Feb 14, 2020 at 01:53:23PM -0500, sirgazil wrote:
> * gnu/packages/python-xyz.scm (python-fuzzywuzzy, python2-fuzzywuzzy):
>   New variables.
> ---
>  gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
> 
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index ca559ca00a..aeea4df12a 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -69,6 +69,7 @@
>  ;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
>  ;;; Copyright © 2019 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
>  ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
> +;;; Copyright © 2020 sirgazil <sirgazil@zoho.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -17541,3 +17542,31 @@ extensive support of PNG features.  It can also read and write Netpbm PAM
>  files, with a focus on its use as an intermediate format for implementing
>  custom PNG processing.")
>      (license license:expat)))
> +
> +(define-public python-fuzzywuzzy
> +  (package
> +    (name "python-fuzzywuzzy")
> +    (version "0.18.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "fuzzywuzzy" version))
> +       (sha256
> +        (base32
> +         "1s00zn75y2dkxgnbw8kl8dw4p1mc77cv78fwfa4yb0274s96w0a5"))))
> +    (build-system python-build-system)
> +    (native-inputs
> +     `(("python-hypothesis" ,python-hypothesis)
> +       ("python-pycodestyle" ,python-pycodestyle)
> +       ("python-pytest" ,python-pytest)))
> +    (propagated-inputs
> +     `(("python-levenshtein" ,python-levenshtein)))
> +    (home-page "https://github.com/seatgeek/fuzzywuzzy")
> +    (synopsis "Fuzzy string matching in python")
This should be "Python" with a capital P. Apart from that, LGTM - pushed
as da8ca4c3fc2ac36977e3190bb05802c487619e8c.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-14 22:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-14 18:53 [bug#39604] [PATCH] gnu: Add python-fuzzywuzzy sirgazil via Guix-patches via
2020-02-14 22:41 ` bug#39604: " Jakub Kądziołka

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).