From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MAESHBcJjGA+fgEAgWs5BA (envelope-from ) for ; Fri, 30 Apr 2021 15:41:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eBi8FxcJjGDMMAAAB5/wlQ (envelope-from ) for ; Fri, 30 Apr 2021 13:41:43 +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 3A09B1CF9E for ; Fri, 30 Apr 2021 15:41:43 +0200 (CEST) Received: from localhost ([::1]:42042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcTOo-0003VI-CJ for larch@yhetil.org; Fri, 30 Apr 2021 09:41:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcTGV-0002ca-Ok for guix-patches@gnu.org; Fri, 30 Apr 2021 09:33:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46369) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcTGR-0006ll-IS for guix-patches@gnu.org; Fri, 30 Apr 2021 09:33:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcTGR-0000pm-GA for guix-patches@gnu.org; Fri, 30 Apr 2021 09:33:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v4 06/11] gnu: Add python-nltk@3.4. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Apr 2021 13:33:03 +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.16197895713136 (code B ref 48091); Fri, 30 Apr 2021 13:33:03 +0000 Received: (at 48091) by debbugs.gnu.org; 30 Apr 2021 13:32:51 +0000 Received: from localhost ([127.0.0.1]:57904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcTGE-0000oI-SB for submit@debbugs.gnu.org; Fri, 30 Apr 2021 09:32:51 -0400 Received: from out0.migadu.com ([94.23.1.103]:60991) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcTG4-0000nL-0U for 48091@debbugs.gnu.org; Fri, 30 Apr 2021 09:32:40 -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=1619789559; 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=l6oQ9HdGKFZKkAPkxwxHGoAqOMNADAEx4Blr4Se4l/U=; b=FWZ8iLavEf1Yb73Z1+cA7y34QOIdEkkYStD0+VrKGK4vOvhXdb+LVbLWzyp0YyTB9ZLSfw 0Ol8KMgGZ3SoQhn5Y9eugJ42+3kF8i2HxM/nW42WGKeyHq9TsMFYox0n1xJT7LEJFvA8mT CvhDPJI9zVhZfLO6apjMkz1U0IT7XET2gWjdPUNV8t+oaVj8t3YnyywnQtFXcun5RzsktL zIZb+/CwcLKm8RlXmxLOTZL4JoLumir9t/qjjm75yb7VKjc0nhrBjIBNkbLcFU7CJ0Cg/3 RnEXaNn9Q2AXnzA3cIV6HE47rnImADkfRFCnNvKjQ4BJuIfnEt6t3v/mHW5U4A== Date: Fri, 30 Apr 2021 09:32:24 -0400 Message-Id: <20210430133229.8763-6-rg@raghavgururajan.name> In-Reply-To: <20210430133229.8763-1-rg@raghavgururajan.name> References: <20210430133229.8763-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: 3A09B1CF9E X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: tukldHPKX94E * gnu/packages/python-xyz.scm (python-nltk-3.4): New variable. --- gnu/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7e8f0c911c..7916e8ba3c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15061,6 +15061,25 @@ 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) + (name "python-nltk") + (version "3.4.5") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/nltk/nltk") + (commit version))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "1zh8ryzr203zq53nf1wb19gf3bd5y1nd7any56a7vxw4d7hq35nn")))))) + (define-public python2-nltk (package-with-python2 python-nltk)) -- 2.31.1