From patchwork Fri Apr 30 11:34:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 28998 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6610227BC7D; Fri, 30 Apr 2021 13:22:39 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3543A27BC7C for ; Fri, 30 Apr 2021 13:22:39 +0100 (BST) Received: from localhost ([::1]:35412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcSAI-0001TH-AS for patchwork@mira.cbaines.net; Fri, 30 Apr 2021 08:22:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcRRN-0000HC-2U for guix-patches@gnu.org; Fri, 30 Apr 2021 07:36:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46120) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcRRE-0001GG-F6 for guix-patches@gnu.org; Fri, 30 Apr 2021 07:36:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcRRE-0006Fh-Cb for guix-patches@gnu.org; Fri, 30 Apr 2021 07:36:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v2 07/11] gnu: Add python-lunr. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Apr 2021 11:36:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48091@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48091-submit@debbugs.gnu.org id=B48091.161978253523926 (code B ref 48091); Fri, 30 Apr 2021 11:36:04 +0000 Received: (at 48091) by debbugs.gnu.org; 30 Apr 2021 11:35:35 +0000 Received: from localhost ([127.0.0.1]:57652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcRQk-0006Dp-AO for submit@debbugs.gnu.org; Fri, 30 Apr 2021 07:35:34 -0400 Received: from out2.migadu.com ([188.165.223.204]:49387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcRQQ-0006CJ-RQ for 48091@debbugs.gnu.org; Fri, 30 Apr 2021 07:35:15 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1619782514; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Zf6DQYlLwZa35xhKbnWweYjGu/uYyhcqamDZpPEnNQ0=; b=oeY8wBZYT175eH2Af5UEWcMP6L5ja+AhwxM/jPF40PnhM2FPsAduV7s5+jUEAScy5iRzl7 C1jgqLUKyClRcC7oYXylrepmkoAFdTuuO4Ig5oRnGBE/zm7LwqSYSiibxzK8oX1F0goVBI Avc+GuD+UJOb2BN0ItK9EC29iLrVcGjrc8UzUa3Mg4X68ORZ6jycYXyc+ECwxVfLyWoCpi bBpoNPuinQrsD6kXOQdxSN+v8XIL61yWCsoar6Kw3CrFxJfalJaRL7BNxtozNW3rxBERwB pwwy2JHDgJpBgWD55TQ0HFddI/v2KYeQWsojN432ceE94HQU1FHqboqOFJlImQ== Date: Fri, 30 Apr 2021 07:34:34 -0400 Message-Id: <20210430113438.6379-7-rg@raghavgururajan.name> In-Reply-To: <20210430113438.6379-1-rg@raghavgururajan.name> References: <20210430113438.6379-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-lunr): New variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 16f2055339..776ada6cbe 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -265,6 +265,31 @@ in terminal.") progress during long-hanging operations.") (license license:expat))) +(define-public python-lunr + (package + (name "python-lunr") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "lunr" version)) + (sha256 + (base32 "106akalywfmnypzkdrhgz4n4740a8xayspybsw59kq06vz8i2qrc")))) + (build-system python-build-system) + (native-inputs + `(("python-mock" ,python-mock) + ("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-nltk" ,python-nltk-3.4))) + (home-page + "https://github.com/yeraydiazdiaz/lunr.py") + (synopsis "Python implementation of Lunr.js") + (description "Lunar.py aims to bring the simple and powerful full text +search capabilities into Python, guaranteeing results as close as the original +implementation as possible.") + (license license:expat))) + (define-public python-slixmpp (package (name "python-slixmpp")