From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id INZeMrplfmBvEwAAgWs5BA (envelope-from ) for ; Tue, 20 Apr 2021 07:25:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oAtALbplfmDXKQAA1q6Kng (envelope-from ) for ; Tue, 20 Apr 2021 05:25:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7F8A71A192 for ; Tue, 20 Apr 2021 07:25:14 +0200 (CEST) Received: from localhost ([::1]:38450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYisr-0002De-IV for larch@yhetil.org; Tue, 20 Apr 2021 01:25:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYisg-0002DD-Sy for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41119) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYisg-0003Yc-Lr for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYisg-0007e8-J1 for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47906] [PATCH 02/22] gnu: Add python-textdistance. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Apr 2021 05:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47906 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47906@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 47906-submit@debbugs.gnu.org id=B47906.161889624429186 (code B ref 47906); Tue, 20 Apr 2021 05:25:02 +0000 Received: (at 47906) by debbugs.gnu.org; 20 Apr 2021 05:24:04 +0000 Received: from localhost ([127.0.0.1]:52635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYirj-0007ae-Uv for submit@debbugs.gnu.org; Tue, 20 Apr 2021 01:24:04 -0400 Received: from mout01.posteo.de ([185.67.36.65]:46571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYirf-0007Zu-2D for 47906@debbugs.gnu.org; Tue, 20 Apr 2021 01:24:02 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 2F792240027 for <47906@debbugs.gnu.org>; Tue, 20 Apr 2021 07:23:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1618896233; bh=H4i/ohIt+24/mqiOp8HDITl0HM4ByehO/qn2953yPLk=; h=From:To:Cc:Subject:Date:From; b=P6551mLLMrN2DSPrd28XsBTw+xeq2PPKpPQPhI7LTqC9zUYvIjTXbPyK6QCJ/o+Q7 h4SumTnnYhx91/APGAq2MmNcHLONVlZmumT59kJiRNfOLGmX+31AGIOyN2+RamaICD WMm6pkBblXQtae32hxHGil9Ul0JVxqHn5wogWRXwGPX8ZdHT5rbCphrkOJwmL/kWLO Vw9lzo29yLDR5i3mD3EKIEvM7Dt3bvgByWN9kxbpvkqAP9IamueEd7/LX8sUaC9+W4 rqxcamWIPhAX7voeUdYVWWEbsvsfPtS8JTx8F55dkQi7UdqUc7+yvkNdvKGusvS+fM /LZhanOlMM+6A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FPXCq4Qfzz6tmK; Tue, 20 Apr 2021 07:23:51 +0200 (CEST) From: Vinicius Monego Date: Tue, 20 Apr 2021 05:22:26 +0000 Message-Id: <20210420052246.470690-2-monego@posteo.net> In-Reply-To: <20210420052246.470690-1-monego@posteo.net> References: <20210420052246.470690-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618896314; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iziSkOLqYEZrjs4gaPqxtZveZlbYFFJ0m1eoUxmJeak=; b=HROtL8M477nTNHWWUsc/EE81C2V25NjPQmCJc0bIcPK+M/HY6RnGIThOM8UJFqUCjpmNbI dA2paH7+1S7zFC8X8KhlbE17XY0r53itH5aIx2LCEVKDmVNvgjY25JfD+9lDh0pzieU3NL T54IMKJ931SgO4oPBmn/dNkZJQzxLhTslRxcbgbsZLFuFwsGyXJVrPxb525REvXUeZYIDA xP0huql8TY5/J//BZvS8b/vIGrxVHRRyrT+aAJxDPYIfhrmAs/NFodwOj0zFLJJHg4AklO EWfHP4HS+1gO4pHp4naXjXAIs2Yakz+mZ1DnjJNz4kC0xB13WYzfHOiJnuSD/g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618896314; a=rsa-sha256; cv=none; b=PVeJLLR/2yqG5zhSR6xiOTfNqTUe+7BxO/q69x69xZxC60o7GC/xFBMyCeO/C88ClDwblC AFmDFzu9V8/iZp/UJVtdn48Bt0ZY7A/wDTbMg0gDtKzJpkwFrHpLmg5SXgJlg3lhy1Hz9w YjwbOLPDyLb5MHorzR2z9JLAVqUgxJ1SDitDZ8BY8B6sfH2Geq3IU1LXhsmxbpcxSgRH0s d9hSE0IM/gOxTZG936qSTRrknPFzty/JYXNTkhdqJdku+lgtpIVGX4mk4ztEstfItEk0S1 4U7rDIeQSlh3dLY12J/OGC6y1bveRHmNjmoSvRQqHjAISZOVeK25D/0Uq0lTLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=P6551mLL; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=P6551mLL; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7F8A71A192 X-Spam-Score: 3.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3UfwI9tJs1lk * gnu/packages/python-xyz.scm (python-textdistance): New variable. --- gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c01993ecd7..e908070a62 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7667,6 +7667,43 @@ features useful for text console applications.") supports @code{readline} shortcuts.") (license license:expat))) +(define-public python-textdistance + (package + (name "python-textdistance") + (version "4.2.1") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/life4/textdistance") + (commit (string-append "v." version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1g17i356fnny4k6hjr2ayy9k77jbvd6zzmngws2kbrnvhss1wgwf")))) + (build-system python-build-system) + (arguments + `(#:test-target "pytest" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'delete-external-test + (lambda _ + ;; All tests in this file require external libraries. + (delete-file "tests/test_external.py") + #t))))) + (native-inputs + `(("python-hypothesis" ,python-hypothesis) + ("python-isort" ,python-isort) + ("python-numpy" ,python-numpy) + ("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner) + ("python-tabulate" ,python-tabulate))) + (home-page "https://github.com/life4/textdistance") + (synopsis "Compute distance between the two texts") + (description "@code{textdistance} is a pure Python library for comparing +distance between two or more sequences by many algorithms.") + (license license:expat))) + (define-public python-urwidtrees (package (name "python-urwidtrees") -- 2.31.1