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)
This commit is contained in:
Ruslan Makhmatkhanov 2019-03-12 20:36:49 +00:00
parent a169ea5c35
commit b9c05fdbf0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495522
2 changed files with 16 additions and 7 deletions

View file

@ -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>

View file

@ -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