pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-nltk py-nltk: updated to 3.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6350f8793d9c
branches:  trunk
changeset: 389058:6350f8793d9c
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 29 17:09:45 2022 +0000

description:
py-nltk: updated to 3.7

NLTK 3.7 release: February 2022:

improve and update the NLTK team page on nltk.org

drop support for Python 3.6

add support for Python 3.10

diffstat:

 textproc/py-nltk/Makefile |  12 +++++++-----
 textproc/py-nltk/PLIST    |  35 +++++++++++++++++++++++++++++++----
 textproc/py-nltk/distinfo |   8 ++++----
 3 files changed, 42 insertions(+), 13 deletions(-)

diffs (105 lines):

diff -r ea049298d0d4 -r 6350f8793d9c textproc/py-nltk/Makefile
--- a/textproc/py-nltk/Makefile Tue Nov 29 17:02:24 2022 +0000
+++ b/textproc/py-nltk/Makefile Tue Nov 29 17:09:45 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2022/05/15 10:05:15 nia Exp $
+# $NetBSD: Makefile,v 1.8 2022/11/29 17:09:45 adam Exp $
 
-DISTNAME=      nltk-3.6.5
+DISTNAME=      nltk-3.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/nltk/}
 EXTRACT_SUFX=  .zip
@@ -54,9 +53,12 @@
 
 REPLACE_PYTHON=                nltk/corpus/reader/knbc.py
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 37 # matplotlib
+USE_PKG_RESOURCES=     yes
 
-USE_PKG_RESOURCES=     yes
+PYTHON_VERSIONS_INCOMPATIBLE=  27 37 # py-matplotlib
+
+post-extract:
+       ${FIND} ${WRKSRC} -type f -exec ${CHMOD} g-w,o-w {} +
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
diff -r ea049298d0d4 -r 6350f8793d9c textproc/py-nltk/PLIST
--- a/textproc/py-nltk/PLIST    Tue Nov 29 17:02:24 2022 +0000
+++ b/textproc/py-nltk/PLIST    Tue Nov 29 17:09:45 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2021/11/24 16:00:18 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/11/29 17:09:45 adam Exp $
 bin/nltk-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -810,6 +810,9 @@
 ${PYSITELIB}/nltk/test/unit/test_aline.py
 ${PYSITELIB}/nltk/test/unit/test_aline.pyc
 ${PYSITELIB}/nltk/test/unit/test_aline.pyo
+${PYSITELIB}/nltk/test/unit/test_bllip.py
+${PYSITELIB}/nltk/test/unit/test_bllip.pyc
+${PYSITELIB}/nltk/test/unit/test_bllip.pyo
 ${PYSITELIB}/nltk/test/unit/test_brill.py
 ${PYSITELIB}/nltk/test/unit/test_brill.pyc
 ${PYSITELIB}/nltk/test/unit/test_brill.pyo
@@ -849,6 +852,9 @@
 ${PYSITELIB}/nltk/test/unit/test_distance.py
 ${PYSITELIB}/nltk/test/unit/test_distance.pyc
 ${PYSITELIB}/nltk/test/unit/test_distance.pyo
+${PYSITELIB}/nltk/test/unit/test_downloader.py
+${PYSITELIB}/nltk/test/unit/test_downloader.pyc
+${PYSITELIB}/nltk/test/unit/test_downloader.pyo
 ${PYSITELIB}/nltk/test/unit/test_freqdist.py
 ${PYSITELIB}/nltk/test/unit/test_freqdist.pyc
 ${PYSITELIB}/nltk/test/unit/test_freqdist.pyo
@@ -1072,9 +1078,30 @@
 ${PYSITELIB}/nltk/translate/stack_decoder.py
 ${PYSITELIB}/nltk/translate/stack_decoder.pyc
 ${PYSITELIB}/nltk/translate/stack_decoder.pyo
-${PYSITELIB}/nltk/tree.py
-${PYSITELIB}/nltk/tree.pyc
-${PYSITELIB}/nltk/tree.pyo
+${PYSITELIB}/nltk/tree/__init__.py
+${PYSITELIB}/nltk/tree/__init__.pyc
+${PYSITELIB}/nltk/tree/__init__.pyo
+${PYSITELIB}/nltk/tree/immutable.py
+${PYSITELIB}/nltk/tree/immutable.pyc
+${PYSITELIB}/nltk/tree/immutable.pyo
+${PYSITELIB}/nltk/tree/parented.py
+${PYSITELIB}/nltk/tree/parented.pyc
+${PYSITELIB}/nltk/tree/parented.pyo
+${PYSITELIB}/nltk/tree/parsing.py
+${PYSITELIB}/nltk/tree/parsing.pyc
+${PYSITELIB}/nltk/tree/parsing.pyo
+${PYSITELIB}/nltk/tree/prettyprinter.py
+${PYSITELIB}/nltk/tree/prettyprinter.pyc
+${PYSITELIB}/nltk/tree/prettyprinter.pyo
+${PYSITELIB}/nltk/tree/probabilistic.py
+${PYSITELIB}/nltk/tree/probabilistic.pyc
+${PYSITELIB}/nltk/tree/probabilistic.pyo
+${PYSITELIB}/nltk/tree/transforms.py
+${PYSITELIB}/nltk/tree/transforms.pyc
+${PYSITELIB}/nltk/tree/transforms.pyo
+${PYSITELIB}/nltk/tree/tree.py
+${PYSITELIB}/nltk/tree/tree.pyc
+${PYSITELIB}/nltk/tree/tree.pyo
 ${PYSITELIB}/nltk/treeprettyprinter.py
 ${PYSITELIB}/nltk/treeprettyprinter.pyc
 ${PYSITELIB}/nltk/treeprettyprinter.pyo
diff -r ea049298d0d4 -r 6350f8793d9c textproc/py-nltk/distinfo
--- a/textproc/py-nltk/distinfo Tue Nov 29 17:02:24 2022 +0000
+++ b/textproc/py-nltk/distinfo Tue Nov 29 17:09:45 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/11/24 16:00:18 wiz Exp $
+$NetBSD: distinfo,v 1.6 2022/11/29 17:09:45 adam Exp $
 
-BLAKE2s (nltk-3.6.5.zip) = e339313c2e05f3fdd0c8706346202f1e7dcd010587dbdc3552c4a9a4f1c4facb
-SHA512 (nltk-3.6.5.zip) = afddea56f092bd6e6ee119c769958afbce3f76159d94e8da28da1946e8ab63fa568762ead39e8a6fb6cbe55a548a1056e8b457c50a54e8f8ef6da610ea3bcf4b
-Size (nltk-3.6.5.zip) = 6392760 bytes
+BLAKE2s (nltk-3.7.zip) = 28c8e1bb3b834d1460e41e967473b89641fddc6db6b890e292a1ba8aa60519ee
+SHA512 (nltk-3.7.zip) = 8abe2d11875f769a4d23190b8da5807ee6a924fd5e07bfeb545f1a6e191eb1f49d02cbd80330f4261330598dd0936430c68513291f6e49fc275047c93e7f430a
+Size (nltk-3.7.zip) = 3293449 bytes



Home | Main Index | Thread Index | Old Index