ports/157964: [UPDATE] textproc/nltk: update to 2.0.1rc1

Ruslan Mahmatkhanov cvs-src at yandex.ru
Fri Jun 17 22:00:25 UTC 2011


>Number:         157964
>Category:       ports
>Synopsis:       [UPDATE] textproc/nltk: update to 2.0.1rc1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 17 22:00:24 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Mahmatkhanov
>Release:        9.0-CURRENT
>Organization:
>Environment:
9.0-CURRENT i386
>Description:
- update to 2.0.1rc1
- use DISTVERSION instead PORTVERION to avoid bumping of PORTEPOCH in future updates
- bump PORTEPOCH
- ${MASTER_SITES_GOOGLE_CODE} -> GOOGLE_CODE
- define RUN_DEPENDS exactly (portlint warning)
- fix egginfo after switching to DISTVERSION
- whitespace fixes in pkg-descr

tinderbox buildlog (8.2-RELEASE):
http://happy-nation.by.ru/ports/tb/nltk-2.0.1.r1,2.log
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruNa nltk.orig/Makefile nltk/Makefile
--- nltk.orig/Makefile	2011-02-25 06:19:28.000000000 +0300
+++ nltk/Makefile	2011-06-18 01:41:49.000000000 +0400
@@ -6,11 +6,10 @@
 #
 
 PORTNAME=	nltk
-PORTVERSION=	2.0b9
-PORTREVISION=	1
-PORTEPOCH=	1
+DISTVERSION=	2.0.1rc1
+PORTEPOCH=	2
 CATEGORIES=	textproc python
-MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES=	GOOGLE_CODE
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	clsung at FreeBSD.org
@@ -18,11 +17,13 @@
 
 BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
 		${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml
-RUN_DEPENDS=	${BUILD_DEPENDS}
+RUN_DEPENDS=	${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
+		${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml
 
 LICENSE=	ASL
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+PYDISTUTILS_EGGINFO=	${PORTNAME}-${DISTVERSION}-py${PYTHON_VER}.egg-info
 USE_PYTHON=	2.5+
 USE_PYDISTUTILS=	yes
 USE_PYTHON_PREFIX=	yes
diff -ruNa nltk.orig/distinfo nltk/distinfo
--- nltk.orig/distinfo	2010-12-17 10:15:29.000000000 +0300
+++ nltk/distinfo	2011-06-18 00:53:16.000000000 +0400
@@ -1,2 +1,2 @@
-SHA256 (nltk-2.0b9.tar.gz) = 26cb8f7cda352847ac656995ed4a225189b85985e2c1b759c3ad9e41608b384b
-SIZE (nltk-2.0b9.tar.gz) = 1849595
+SHA256 (nltk-2.0.1rc1.tar.gz) = 2c9a5164bfa370d5b549e45f1568cc33a93a7648c8a171ec30c1b35f12778267
+SIZE (nltk-2.0.1rc1.tar.gz) = 961720
diff -ruNa nltk.orig/pkg-descr nltk/pkg-descr
--- nltk.orig/pkg-descr	2010-07-28 11:19:25.000000000 +0400
+++ nltk/pkg-descr	2011-06-18 00:52:18.000000000 +0400
@@ -1,14 +1,14 @@
-NLTK, the Natural Language Toolkit, is a suite of Python libraries and 
-programs for symbolic and statistical natural language processing. 
-NLTK includes graphical demonstrations and sample data. It is accompanied 
-by extensive documentation, including tutorials that explain the underlying 
+NLTK, the Natural Language Toolkit, is a suite of Python libraries and
+programs for symbolic and statistical natural language processing.
+NLTK includes graphical demonstrations and sample data. It is accompanied
+by extensive documentation, including tutorials that explain the underlying
 concepts behind the language processing tasks supported by the toolkit.
 
-NLTK is ideally suited to students who are learning NLP (natural language 
-processing) or conducting research in NLP or closely related areas, 
-including empirical linguistics, cognitive science, artificial intelligence, 
-information retrieval, and machine learning. NLTK has been used successfully 
-as a teaching tool, as an individual study tool, and as a platform for 
-prototyping and building research systems. 
+NLTK is ideally suited to students who are learning NLP (natural language
+processing) or conducting research in NLP or closely related areas,
+including empirical linguistics, cognitive science, artificial intelligence,
+information retrieval, and machine learning. NLTK has been used successfully
+as a teaching tool, as an individual study tool, and as a platform for
+prototyping and building research systems.
 
 WWW: http://www.nltk.org/


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list