ports/123797: Update port: devel/py-tables to 2.0.3
TAOKA Fumiyoshi
fmysh at iijmio-mail.jp
Sun May 18 16:00:06 UTC 2008
>Number: 123797
>Category: ports
>Synopsis: Update port: devel/py-tables to 2.0.3
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun May 18 16:00:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: TAOKA Fumiyoshi
>Release:
>Organization:
>Environment:
>Description:
Update PyTables to 2.0.3.
There is a migration notes to 1.x users in MIGRATING_TO_2.x.txt.
Some modifications to the port:
-PORTNAME is changed to pytables because it's the name of the project.
-The dependency on Pyrex is unconditional.
-The dependency on numarray is changed to NumPy.
-Documents and examples are intstalled, being controled by NOPORTDOCS and NOPORTEXAMPLES.
-pkg-plist.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/py-tables/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile 14 Feb 2007 09:12:11 -0000 1.12
+++ Makefile 18 May 2008 15:21:48 -0000
@@ -6,52 +6,38 @@
# $FreeBSD: ports/devel/py-tables/Makefile,v 1.12 2007/02/14 09:12:11 miwi Exp $
#
-PORTNAME= tables
-PORTVERSION= 1.4
+PORTNAME= pytables
+PORTVERSION= 2.0.3
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= pytables
+MASTER_SITES= http://www.pytables.org/download/stable/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= pytables-${PORTVERSION}
MAINTAINER= quakelee at cn.freebsd.org
COMMENT= A hierarchical database for Python
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numarray/__init__.py:${PORTSDIR}/math/py-numarray
+BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex \
+ ${PYNUMPY}
LIB_DEPENDS= hdf5.0:${PORTSDIR}/science/hdf5 \
- lzo.1:${PORTSDIR}/archivers/lzo \
- ucl.1:${PORTSDIR}/archivers/ucl
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/numarray/__init__.py:${PORTSDIR}/math/py-numarray
+ lzo.1:${PORTSDIR}/archivers/lzo
+RUN_DEPENDS= ${PYNUMPY}
-USE_PYTHON= yes
+USE_PYTHON= 2.4+
USE_PYDISTUTILS= yes
-
-PLIST_FILES= bin/nctoh5 bin/ptdump bin/ptrepack
-
-OPTIONS= PYREX "Use code generated by Pyrex to build" off
-OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
-
-.include <bsd.port.pre.mk>
-
-.if !defined(WITHOUT_PYREX)
-BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/Pyrex/__init__.py:${PORTSDIR}/devel/pyrex
-.endif
+PYDISTUTILS_PKGNAME= tables
post-patch:
@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/setup.py
post-install:
- @${FIND} ${PYTHONPREFIX_SITELIBDIR}/tables ! -type d | \
- ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
- @${FIND} ${PYTHONPREFIX_SITELIBDIR}/tables -type d | ${SORT} -r | \
- ${SED} 's,^${PREFIX}/, at dirrm ,' >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/doc/html ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/doc/usersguide.pdf ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/*.txt ${DOCSDIR}
+.endif
+.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
- @${FIND} ${EXAMPLESDIR} ! -type d | \
- ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
- @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
- ${SED} 's,^${PREFIX}/, at dirrm ,' >> ${TMPPLIST}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/py-tables/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo 14 Feb 2007 09:12:11 -0000 1.7
+++ distinfo 18 May 2008 14:37:35 -0000
@@ -1,3 +1,3 @@
-MD5 (pytables-1.4.tar.gz) = f6c50a9c2c18286a284e3a50d111ed3d
-SHA256 (pytables-1.4.tar.gz) = 04a68f8f53eac65cb1caaf98f85e4984a193f0366c3bf9faf0f5d13ca6f54675
-SIZE (pytables-1.4.tar.gz) = 4051791
+MD5 (pytables-2.0.3.tar.gz) = 0afe29dd420bfdfbd2a4380b4ac7fbee
+SHA256 (pytables-2.0.3.tar.gz) = 08e9b1fce3d746054316d896a230bb69b779b07bd53237cea2589f79d7f247d8
+SIZE (pytables-2.0.3.tar.gz) = 3452137
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list