Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2010 20:57:01 GMT
From:      Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/148877: [PATCH] update textproc/nltk to 2.0b8
Message-ID:  <201007232057.o6NKv1M8009538@www.freebsd.org>
Resent-Message-ID: <201007232100.o6NL0IQ0028044@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         148877
>Category:       ports
>Synopsis:       [PATCH] update textproc/nltk to 2.0b8
>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 Jul 23 21:00:18 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Mahmatkhanov
>Release:        8.1-PRERELEASE
>Organization:
>Environment:
8.1-PRERELEASE i386
>Description:
- update to 2.0b8
- add dependency on devel/py-yaml
- add LICENSE stuff
- change project url
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -uN nltk/Makefile nltk/Makefile
--- nltk/Makefile	2009-11-24 16:02:54.000000000 +0300
+++ nltk/Makefile	2010-07-24 00:47:25.000000000 +0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	nltk
-PORTVERSION=	2.0b7
+PORTVERSION=	2.0b8
 PORTEPOCH=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
@@ -15,9 +15,13 @@
 MAINTAINER=	clsung@FreeBSD.org
 COMMENT=	Natural language toolkit written in python
 
-BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
+BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
+		${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
+LICENSE=	ASL
+LICENSE_FILE_ASL=	${WRKSRC}/LICENSE.txt
+
 USE_PYTHON=	2.4+
 USE_PYDISTUTILS=	yes
 USE_PYTHON_PREFIX=	yes
@@ -27,13 +31,5 @@
 		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
 	@${FIND} ${PYTHON_SITELIBDIR}/nltk -type d | ${SORT} -r | \
 		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
-	@${FIND} ${PYTHON_SITELIBDIR}/nltk_contrib ! -type d | \
-		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
-	@${FIND} ${PYTHON_SITELIBDIR}/nltk_contrib -type d | ${SORT} -r | \
-		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
-	@${FIND} ${PYTHON_SITELIBDIR}/yaml ! -type d | \
-		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
-	@${FIND} ${PYTHON_SITELIBDIR}/yaml -type d | ${SORT} -r | \
-		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
 
 .include <bsd.port.mk>
diff -uN nltk/distinfo nltk/distinfo
--- nltk/distinfo	2009-11-24 16:02:54.000000000 +0300
+++ nltk/distinfo	2010-07-24 00:34:00.000000000 +0400
@@ -1,3 +1,3 @@
-MD5 (nltk-2.0b7.tar.gz) = 94ffa5b266183d2802b6cab11cb4db4f
-SHA256 (nltk-2.0b7.tar.gz) = 8f4b3e7c8506f4c61c3f9188796f8f1c26435f78379bbfd1c144c082bfab0ac0
-SIZE (nltk-2.0b7.tar.gz) = 878591
+MD5 (nltk-2.0b8.tar.gz) = d9e94beced346268e4d3d1b314d6f57f
+SHA256 (nltk-2.0b8.tar.gz) = b5e9e955b3bc3943ff102d58e5513e6e8119d924feabf7d6086c6cc05733d2bc
+SIZE (nltk-2.0b8.tar.gz) = 856561
diff -uN nltk/pkg-descr nltk/pkg-descr
--- nltk/pkg-descr	2003-11-03 18:42:33.000000000 +0300
+++ nltk/pkg-descr	2010-07-24 00:26:55.000000000 +0400
@@ -11,4 +11,4 @@
 as a teaching tool, as an individual study tool, and as a platform for 
 prototyping and building research systems. 
 
-WWW: http://nltk.sourceforge.net/
+WWW: http://www.nltk.org/


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007232057.o6NKv1M8009538>