From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:40482) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2g7D-0008Ed-57 for guix-patches@gnu.org; Fri, 14 Feb 2020 13:55:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2g7B-0002at-Ul for guix-patches@gnu.org; Fri, 14 Feb 2020 13:55:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56953) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2g7B-0002ap-RY for guix-patches@gnu.org; Fri, 14 Feb 2020 13:55:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j2g7B-0007tV-RS for guix-patches@gnu.org; Fri, 14 Feb 2020 13:55:01 -0500 Subject: [bug#39604] [PATCH] gnu: Add python-fuzzywuzzy. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:40251) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2g68-0007YU-1L for guix-patches@gnu.org; Fri, 14 Feb 2020 13:53:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2g66-0001hK-Rc for guix-patches@gnu.org; Fri, 14 Feb 2020 13:53:55 -0500 Received: from sender4-pp-o91.zoho.com ([136.143.188.91]:25153) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j2g66-0001fg-HQ for guix-patches@gnu.org; Fri, 14 Feb 2020 13:53:54 -0500 Message-ID: <20200214185323.6778-1-sirgazil@zoho.com> Date: Fri, 14 Feb 2020 13:53:23 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" Reply-to: sirgazil , sirgazil via Guix-patches From: sirgazil via Guix-patches via To: 39604@debbugs.gnu.org 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 =C2=A9 2019 Tanguy Le Carrour ;;; Copyright =C2=A9 2019 M=C4=83d=C4=83lin Ionel Patra=C8=99cu ;;; Copyright =C2=A9 2020 Jakub K=C4=85dzio=C5=82ka +;;; Copyright =C2=A9 2020 sirgazil ;;; ;;; This file is part of GNU Guix. ;;; @@ -17541,3 +17542,31 @@ extensive support of PNG features. It can also re= ad 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)) --=20 2.25.0