- Update to 1.3.2 (stable)

- Take maintainership

Submitted by:	Shin CHAO <quakelee cn.freebsd.org>
PR:		ports/100922
This commit is contained in:
Xin LI 2006-07-27 16:24:12 +00:00
parent 7344b58d22
commit c6df86859d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168891
3 changed files with 21 additions and 12 deletions

View file

@ -7,14 +7,14 @@
# #
PORTNAME= tables PORTNAME= tables
PORTVERSION= 1.1 PORTVERSION= 1.3.2
CATEGORIES= devel python CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pytables MASTER_SITE_SUBDIR= pytables
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pytables-${PORTVERSION} DISTNAME= pytables-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org MAINTAINER= quakelee@cn.freebsd.org
COMMENT= A hierarchical database for Python COMMENT= A hierarchical database for Python
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numarray/__init__.py:${PORTSDIR}/math/py-numarray BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numarray/__init__.py:${PORTSDIR}/math/py-numarray
@ -28,6 +28,15 @@ USE_PYDISTUTILS= yes
PLIST_FILES= bin/nctoh5 bin/ptdump bin/ptrepack 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
post-patch: post-patch:
@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/setup.py @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/setup.py
@ -45,4 +54,4 @@ post-install:
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endif .endif
.include <bsd.port.mk> .include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
MD5 (pytables-1.1.tar.gz) = 62be2271cab933b9c0712887d15522f2 MD5 (pytables-1.3.2.tar.gz) = ba4df36a1b0702eb0314c24c49992fec
SHA256 (pytables-1.1.tar.gz) = b021642e9cb69ea13d2637411005f6b9073e820b87c8914391fcb18f69155245 SHA256 (pytables-1.3.2.tar.gz) = b67e524a71c74407c2c3184a2807f847fa374f0b8990dad5fac37d9bced1a06b
SIZE (pytables-1.1.tar.gz) = 2693924 SIZE (pytables-1.3.2.tar.gz) = 3834747

View file

@ -1,13 +1,13 @@
--- setup.py.orig Wed May 11 11:04:04 2005 --- setup.py.orig Wed Jul 26 23:43:50 2006
+++ setup.py Wed May 11 11:04:38 2005 +++ setup.py Wed Jul 26 23:44:46 2006
@@ -30,8 +30,8 @@ @@ -72,8 +72,8 @@
debug = '--debug' in sys.argv
# Global variables # Global variables
lflags_arg = []
-lib_dirs = [] -lib_dirs = []
-inc_dirs = [] -inc_dirs = []
+lib_dirs = ['%%LOCALBASE%%/lib'] +lib_dirs = ['%%LOCALBASE%%/lib']
+inc_dirs = ['%%LOCALBASE%%/include'] +inc_dirs = ['%%LOCALBASE%%/include']
optional_libs = []
# Some useful functions default_header_dirs = None
def check_lib_unix(where, libname, headername, compulsory):