guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/11: gnu: python-nltk: Update to 3.6.2.


From: guix-commits
Subject: 04/11: gnu: python-nltk: Update to 3.6.2.
Date: Sun, 2 May 2021 09:06:40 -0400 (EDT)

raghavgururajan pushed a commit to branch master
in repository guix.

commit e0f74524a1caf0bdf2f797023237630091e3b02a
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Wed Apr 28 17:26:14 2021 -0400

    gnu: python-nltk: Update to 3.6.2.
    
    This version is only available in zip format.
    
    * gnu/packages/python-xyz.scm (python-nltk)[version]: Update to 3.6.2.
    [uri]: Use zip extension.
    [native-inputs]: Add unzip.
---
 gnu/packages/python-xyz.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index aab53bd..a17a2b1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15053,18 +15053,20 @@ extracting firmware images")
 (define-public python-nltk
   (package
     (name "python-nltk")
-    (version "3.2.1")
+    (version "3.6.2")
     (source (origin
               (method url-fetch)
-              (uri (pypi-uri "nltk" version))
+              (uri (pypi-uri "nltk" version ".zip"))
               (sha256
                (base32
-                "0skxbhnymwlspjkzga0f7x1hg3y50fwpfghs8g8k7fh6f4nknlym"))))
+                "1sq32lwgij9h8rsksymnxxr7bqfw3vgx5ijw4azbj6k2xnmmdmap"))))
     (build-system python-build-system)
     (arguments
      '(;; The tests require some extra resources to be downloaded.
        ;; TODO Try packaging these resources.
        #:tests? #f))
+    (native-inputs
+     `(("unzip" ,unzip)))
     (home-page "http://nltk.org/";)
     (synopsis "Natural Language Toolkit")
     (description "It provides interfaces to over 50 corpora and lexical



reply via email to

[Prev in Thread] Current Thread [Next in Thread]