svn commit: r495522 - head/textproc/py-nltk
Ruslan Makhmatkhanov
rm at FreeBSD.org
Tue Mar 12 20:36:50 UTC 2019
Author: rm
Date: Tue Mar 12 20:36:49 2019
New Revision: 495522
URL: https://svnweb.freebsd.org/changeset/ports/495522
Log:
textproc/py-nltk: update to 3.4
- update to latest release
- add NO_ARCH
This release includes multiple improvements and adds py37 support.
Full changelog: https://www.nltk.org/news.html
PR: 236497
Approved by: demon (maintainer)
Modified:
head/textproc/py-nltk/Makefile
head/textproc/py-nltk/distinfo
Modified: head/textproc/py-nltk/Makefile
==============================================================================
--- head/textproc/py-nltk/Makefile Tue Mar 12 19:47:48 2019 (r495521)
+++ head/textproc/py-nltk/Makefile Tue Mar 12 20:36:49 2019 (r495522)
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= nltk
-PORTVERSION= 3.2.1
-PORTREVISION= 1
+PORTVERSION= 3.4
PORTEPOCH= 2
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
@@ -13,11 +12,20 @@ COMMENT= Natural language toolkit written in python
LICENSE= APACHE20
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=3.09:devel/py-yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
-USES= python
+USES= python zip
USE_PYTHON= distutils autoplist
-.include <bsd.port.mk>
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3400
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>0:devel/py-singledispatch@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
Modified: head/textproc/py-nltk/distinfo
==============================================================================
--- head/textproc/py-nltk/distinfo Tue Mar 12 19:47:48 2019 (r495521)
+++ head/textproc/py-nltk/distinfo Tue Mar 12 20:36:49 2019 (r495522)
@@ -1,2 +1,3 @@
-SHA256 (nltk-3.2.1.tar.gz) = d5533b2d7106ba33d1431a3e77b903c58f07433f0ea8f7a7bc9af2ea2d5c7d6a
-SIZE (nltk-3.2.1.tar.gz) = 1121639
+TIMESTAMP = 1552416797
+SHA256 (nltk-3.4.zip) = 286f6797204ffdb52525a1d21ec0a221ec68b8e3fa4f2d25f412ac8e63c70e8d
+SIZE (nltk-3.4.zip) = 1432008
More information about the svn-ports-all
mailing list