Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2008 03:00:30 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/122764: Update port: textproc/py-asv to 0.5
Message-ID:  <20080415030030.3cfd67d9.tkato432@yahoo.com>
Resent-Message-ID: <200804141810.m3EIA5Tw017230@freefall.freebsd.org>

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

>Number:         122764
>Category:       ports
>Synopsis:       Update port: textproc/py-asv to 0.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 14 18:10:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 6.3-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update to version 0.5

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/textproc/py-asv/Makefile textproc/py-asv/Makefile
--- /usr/ports/textproc/py-asv/Makefile	2003-04-12 23:29:15.000000000 +0900
+++ textproc/py-asv/Makefile	2008-03-15 00:03:50.000000000 +0900
@@ -6,10 +6,9 @@
 #
 
 PORTNAME=	asv
-PORTVERSION=	0.4
-PORTREVISION=	4
+PORTVERSION=	0.5
 CATEGORIES=	textproc python
-MASTER_SITES=	http://tratt.net/laurie/python/asv/releases/
+MASTER_SITES=	http://tratt.net/laurie/computing/python/asv/releases/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	ports@FreeBSD.org
@@ -17,7 +16,12 @@
 
 USE_PYTHON=	yes
 
-ASV_BASEDIR=	${PREFIX}/lib/${PYTHON_VERSION}/site-packages
+PORTDOCS=	INSTALL README THANKS
+PORTEXAMPLES=	asv_example.py example_data.csv
+PLIST_FILES=	bin/asv \
+		%%PYTHON_SITELIBDIR%%/ASV.py \
+		%%PYTHON_SITELIBDIR%%/ASV.pyc \
+		%%PYTHON_SITELIBDIR%%/ASV.pyo
 
 do-build:
 	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
@@ -27,18 +31,20 @@
 	@ ${SH} ${PKGREQ} INSTALL
 
 do-install:
-	@printf '#!/bin/sh\n${PYTHON_CMD} ${ASV_BASEDIR}/ASV.py "$$@"\n' \
+	@printf '#!/bin/sh\n${PYTHON_CMD} ${PYTHONPREFIX_SITELIBDIR}/ASV.py "$$@"\n' \
 		> ${WRKDIR}/asv.sh
-	@${INSTALL_SCRIPT} ${WRKDIR}/asv.sh ${PREFIX}/bin/asv
-	@${INSTALL_DATA} ${WRKSRC}/ASV.* ${ASV_BASEDIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/asv.sh ${PREFIX}/bin/asv
+	${INSTALL_DATA} ${WRKSRC}/ASV.* ${PYTHONPREFIX_SITELIBDIR}
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-.for docfile in INSTALL README THANKS
-	@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
+.for docfile in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
 .endfor
+.endif
+.if !defined(NOPORTEXAMPLES)
 	@${MKDIR} ${EXAMPLESDIR}
-.for egfile in asv_example.* example_data.csv
-	@${INSTALL_DATA} ${WRKSRC}/${egfile} ${EXAMPLESDIR}
+.for egfile in ${PORTEXAMPLES}
+	${INSTALL_DATA} ${WRKSRC}/${egfile} ${EXAMPLESDIR}
 .endfor
 .endif
 
diff -urN /usr/ports/textproc/py-asv/distinfo textproc/py-asv/distinfo
--- /usr/ports/textproc/py-asv/distinfo	2005-11-26 19:32:24.000000000 +0900
+++ textproc/py-asv/distinfo	2008-03-14 23:49:44.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (asv-0.4.tar.gz) = 420c54e3be366edb913aa2df3328cc4e
-SHA256 (asv-0.4.tar.gz) = 7d0a03a66ff2e02a1e3ba5260eebf616754c4555594ad20dd648a58d939a73aa
-SIZE (asv-0.4.tar.gz) = 10246
+MD5 (asv-0.5.tar.gz) = 3eea6260a0d3a72caf49d729b611ff0b
+SHA256 (asv-0.5.tar.gz) = 9f8ce90711cc740aeb324ce3f7ad578e281b88dc8266c5f7f18b77ed7322cbbb
+SIZE (asv-0.5.tar.gz) = 10358
diff -urN /usr/ports/textproc/py-asv/pkg-plist textproc/py-asv/pkg-plist
--- /usr/ports/textproc/py-asv/pkg-plist	2002-04-12 18:29:24.000000000 +0900
+++ textproc/py-asv/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,13 +0,0 @@
-bin/asv
-lib/%%PYTHON_VERSION%%/site-packages/ASV.py
-lib/%%PYTHON_VERSION%%/site-packages/ASV.pyc
-lib/%%PYTHON_VERSION%%/site-packages/ASV.pyo
-%%PORTDOCS%%share/doc/asv/INSTALL
-%%PORTDOCS%%share/doc/asv/README
-%%PORTDOCS%%share/doc/asv/THANKS
-%%PORTDOCS%%share/examples/asv/asv_example.py
-%%PORTDOCS%%share/examples/asv/asv_example.pyc
-%%PORTDOCS%%share/examples/asv/asv_example.pyo
-%%PORTDOCS%%share/examples/asv/example_data.csv
-%%PORTDOCS%%@dirrm share/examples/asv
-%%PORTDOCS%%@dirrm share/doc/asv
>Release-Note:
>Audit-Trail:
>Unformatted:



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