ports/122232: [MAINTAINER] japanese/py-mecab: update to 0.97

Junji NAKANISHI jun-g at daemonfreaks.com
Sat Mar 29 10:20:01 UTC 2008


>Number:         122232
>Category:       ports
>Synopsis:       [MAINTAINER] japanese/py-mecab: update to 0.97
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 29 10:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Junji NAKANISHI
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:


System: FreeBSD 7.0-STABLE #2: Fri Feb 29 09:19:03 JST 2008
    root at blackmagic.daemonfreaks.local:/usr/obj/usr/src/sys/BLACKMAGIC



>Description:


Update to 0.97.
Fix the wrong egg-info name when MeCab's version is different.



>How-To-Repeat:





>Fix:


diff -u py-mecab.orig/Makefile py-mecab/Makefile
--- py-mecab.orig/Makefile	2008-01-24 16:33:46.000000000 +0900
+++ py-mecab/Makefile	2008-03-29 17:03:49.000000000 +0900
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/japanese/py-mecab/Makefile,v 1.1 2008/01/24 07:33:46 clsung Exp $
 
 PORTNAME=	mecab
-PORTVERSION=	0.96
+PORTVERSION=	0.97
 CATEGORIES=	japanese python textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -21,6 +21,10 @@
 USE_PYDISTUTILS=yes
 PYDISTUTILS_EGGINFO=	${PORTNAME}_python-${PKGVERSION}-${PYTHON_VERSION:S/thon//}.egg-info
 
+pre-patch:
+	@${REINPLACE_CMD} -e 's|cmd1("mecab-config --version")|"${PKGVERSION}"|' \
+		${WRKSRC}/setup.py
+
 .include <bsd.port.pre.mk>
 
 PKGNAMEPREFIX:=	${PKGNAMEPREFIX}${PYTHON_PKGNAMEPREFIX}
diff -u py-mecab.orig/distinfo py-mecab/distinfo
--- py-mecab.orig/distinfo	2008-01-24 16:33:46.000000000 +0900
+++ py-mecab/distinfo	2008-03-29 17:03:49.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (mecab-python-0.96.tar.gz) = 5faa154aa8a95145d6a58befa42e6c40
-SHA256 (mecab-python-0.96.tar.gz) = afad397d45dd0dcebaffa8a3c8ba85e822113479f8aa61a4b84fb2d9e47fb636
-SIZE (mecab-python-0.96.tar.gz) = 51276
+MD5 (mecab-python-0.97.tar.gz) = f5b3545572d00b09c24a780dcfdf8bc8
+SHA256 (mecab-python-0.97.tar.gz) = cae83255b2842330e1a0806067b2fa272cc0443d5b2fc4f7636f11db91e82ede
+SIZE (mecab-python-0.97.tar.gz) = 53415


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



More information about the freebsd-ports-bugs mailing list