From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8HexJ06OjWCEvQAAgWs5BA (envelope-from ) for ; Sat, 01 May 2021 19:22:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KDNPI06OjWBSXwAAbx9fmQ (envelope-from ) for ; Sat, 01 May 2021 17:22:22 +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 69DD11F242 for ; Sat, 1 May 2021 19:22:22 +0200 (CEST) Received: from localhost ([::1]:44086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lctJt-0003H2-EH for larch@yhetil.org; Sat, 01 May 2021 13:22:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lctJc-0002sv-QN for guix-patches@gnu.org; Sat, 01 May 2021 13:22:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54145) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lctJc-0004JB-If for guix-patches@gnu.org; Sat, 01 May 2021 13:22:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lctJc-0003ko-F3 for guix-patches@gnu.org; Sat, 01 May 2021 13:22:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v7 05/10] gnu: Add python-nltk@3.4. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 May 2021 17:22: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.161988970414361 (code B ref 48091); Sat, 01 May 2021 17:22:04 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 17:21:44 +0000 Received: from localhost ([127.0.0.1]:37443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJI-0003jT-At for submit@debbugs.gnu.org; Sat, 01 May 2021 13:21:44 -0400 Received: from out0.migadu.com ([94.23.1.103]:42422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJC-0003iP-FY for 48091@debbugs.gnu.org; Sat, 01 May 2021 13:21:39 -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=1619889697; 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=HZsQdxFVYN0gYfFhAxy1x2C54GccmUPe+QmoELHftnA=; b=USdOM/rK2Nbo+OydAe3EP5+X/VBP7fcK9neYQBQsut2HGs/OzI0LiKyZg9iIPXcnbC3xC+ 6xRlMQygsKL8Tu81GFPokzwFrDw40GtNqsWG+Kg9BPZBZntV/lBlz89PLoB1k9lu+JiQ8T 1X8Ui6U2wiPjDzbgCv8jqmkGEEhYPL3DBhmLCgQ4Y/ccMy9+br0sH25eZ2bvUA48Uwq1R0 ZEXs1s8IUW4htG6FcbEhgQvfGooSk60nb3+8q4FcOYN4Z3UH/B/1DFIWYoY/zBehxHoN1G nsnmxmp/iTxv3gqgDexW1A+bjd8/6P8Bt7D1JPx8KORiAfA/xjF1hBbro3MZLg== Date: Sat, 1 May 2021 13:21:21 -0400 Message-Id: <20210501172126.28033-5-rg@raghavgururajan.name> In-Reply-To: <20210501172126.28033-1-rg@raghavgururajan.name> References: <20210501172126.28033-1-rg@raghavgururajan.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches From: Raghav Gururajan via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 69DD11F242 X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ifupgz7XK0O9 * gnu/packages/python-xyz.scm (python-nltk-3.4): New variable. --- gnu/packages/python-xyz.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a17a2b11b1..9dc191dcb5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15075,6 +15075,19 @@ for classification, tokenization, stemming, tagging, parsing, and semantic reasoning, wrappers for natural language processing libraries.") (license license:asl2.0))) +;; Versions >=3.5 breaks backward-compatibility, +;; so we keep version 3.4.x around for a while. +(define-public python-nltk-3.4 + (package + (inherit python-nltk) + (version "3.4.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "nltk" version ".zip")) + (sha256 + (base32 "153x2clrnigs74jdgnn3qmljdjj4gprmvpdvh49i18ls4m8mbm5y")))))) + (define-public python2-nltk (package-with-python2 python-nltk)) -- 2.31.1