ports/83692: Update port: devel/py-tables to 1.1

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Jul 18 22:30:15 UTC 2005


>Number:         83692
>Category:       ports
>Synopsis:       Update port: devel/py-tables to 1.1
>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:   Mon Jul 18 22:30:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vsevolod Stakhov
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
>Description:
Update to 1.1
Support of bzip2 has been added.
Use PYTHONPREFIX_ instead of PYTHON_.
>How-To-Repeat:
>Fix:

--- py24-tables-1.1.patch begins here ---
diff -ruN --exclude=CVS py-tables.orig/Makefile py-tables/Makefile
--- py-tables.orig/Makefile	Tue Jul 19 01:33:52 2005
+++ py-tables/Makefile	Tue Jul 19 02:19:06 2005
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	tables
-PORTVERSION=	1.0
-PORTREVISION=	3
+PORTVERSION=	1.1
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	pytables
@@ -30,13 +29,17 @@
 
 PLIST_FILES=	bin/nctoh5 bin/ptdump bin/ptrepack
 
+.if !exists(/usr/bin/bzip2)
+LIB_DEPENDS+=	bzip2:${PORTSDIR}/archivers/bzip2
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/setup.py
 
 post-install:
-	@${FIND} ${PYTHON_SITELIBDIR}/tables ! -type d | \
+	@${FIND} ${PYTHONPREFIX_SITELIBDIR}/tables ! -type d | \
 		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
-	@${FIND} ${PYTHON_SITELIBDIR}/tables -type d | ${SORT} -r | \
+	@${FIND} ${PYTHONPREFIX_SITELIBDIR}/tables -type d | ${SORT} -r | \
 		${SED} 's,^${PREFIX}/, at dirrm ,' >> ${TMPPLIST}
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${EXAMPLESDIR}
diff -ruN --exclude=CVS py-tables.orig/distinfo py-tables/distinfo
--- py-tables.orig/distinfo	Tue Jul 19 01:33:52 2005
+++ py-tables/distinfo	Tue Jul 19 01:34:38 2005
@@ -1,2 +1,2 @@
-MD5 (pytables-1.0.tar.gz) = 776b3ef35b59a12c1617be919cd072d8
-SIZE (pytables-1.0.tar.gz) = 2388959
+MD5 (pytables-1.1.tar.gz) = 62be2271cab933b9c0712887d15522f2
+SIZE (pytables-1.1.tar.gz) = 2693924
--- py24-tables-1.1.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list