- Update to 3.0.0

This commit is contained in:
Wen Heping 2013-08-20 06:49:44 +00:00
parent cdfb44e67d
commit ec5e9104a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=325032
3 changed files with 19 additions and 20 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tables
PORTVERSION= 2.4.0
PORTVERSION= 3.0.0
CATEGORIES= devel python
MASTER_SITES= SF/py${PORTNAME:L}/py${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -15,15 +15,15 @@ COMMENT= Hierarchical database for Python
BUILD_DEPENDS= ${PYNUMPY} \
${LOCALBASE}/bin/cython:${PORTSDIR}/lang/cython \
${PYTHON_PKGNAMEPREFIX}numexpr>=1.4.1:${PORTSDIR}/math/py-numexpr
LIB_DEPENDS= hdf5.7:${PORTSDIR}/science/hdf5-18 \
lzo2.2:${PORTSDIR}/archivers/lzo2 \
ucl.1:${PORTSDIR}/archivers/ucl
LIB_DEPENDS= hdf5:${PORTSDIR}/science/hdf5-18 \
lzo2:${PORTSDIR}/archivers/lzo2 \
ucl:${PORTSDIR}/archivers/ucl
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PLIST_FILES= bin/nctoh5 bin/ptdump bin/ptrepack
PLIST_FILES= bin/pt2to3 bin/ptdump bin/ptrepack
OPTIONS_DEFINE= PYREX
PYREX_DESC= Use code generated by Pyrex to build
@ -31,7 +31,6 @@ PYREX_DESC= Use code generated by Pyrex to build
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MPYREX}
BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/Pyrex/__init__.py:${PORTSDIR}/devel/pyrex
@ -64,4 +63,4 @@ post-install:
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,4 +1,4 @@
SHA256 (tables-2.4.0.tar.gz) = 6a2ab6037ccde0636ce47e4475e671c45505029ebded333d403d7252cde18d57
SIZE (tables-2.4.0.tar.gz) = 8947724
SHA256 (pytablesmanual-2.4.0.pdf) = 49bf7261250e0e7efe0d561da7c9fd94eeec0dee346c6b47c6b886a9ea4765de
SIZE (pytablesmanual-2.4.0.pdf) = 3084689
SHA256 (tables-3.0.0.tar.gz) = 53532a59c8f03c3c5ef3c73c04f5bfd8384d6a3d508683cb87fc17af4c71dfe1
SIZE (tables-3.0.0.tar.gz) = 6191726
SHA256 (pytablesmanual-3.0.0.pdf) = 623cf4d64884c0c34996ac8d4208dd899450a96ddd64d1267c733da0a59a6ed6
SIZE (pytablesmanual-3.0.0.pdf) = 2515096

View file

@ -1,6 +1,6 @@
--- setup.py.orig 2012-03-25 19:20:35.000000000 +0900
+++ setup.py 2012-03-25 19:22:53.000000000 +0900
@@ -96,8 +96,8 @@
--- setup.py.orig 2013-08-20 10:38:37.000000000 +0800
+++ setup.py 2013-08-20 10:40:44.000000000 +0800
@@ -133,8 +133,8 @@
debug = '--debug' in sys.argv
# Global variables
@ -11,19 +11,19 @@
optional_libs = []
data_files = [] # list of data files to add to packages (mainly for DLL's)
@@ -121,13 +121,12 @@
@@ -160,13 +160,13 @@
add_from_path("CPATH", default_header_dirs)
add_from_path("C_INCLUDE_PATH", default_header_dirs)
add_from_flags("CPPFLAGS", "-I", default_header_dirs)
- default_header_dirs.extend(['/usr/include', '/usr/local/include'])
-
+ default_header_dirs = ['/usr/include', '/usr/local/include','%%LOCALBASE%%/include']
+ default_header_dirs.extend(['/usr/include', '/usr/local/include','%%LOCALBASE%%/include'])
default_library_dirs = []
add_from_flags("LDFLAGS", "-L", default_library_dirs)
default_library_dirs.extend(
os.path.join(_tree, _arch)
- for _tree in ('/', '/usr', '/usr/local')
+ for _tree in ('/', '/usr', '/usr/local','%%LOCALBASE%%')
for _arch in ('lib64', 'lib') )
- for _tree in ('/usr/local', '/sw', '/opt', '/opt/local', '/usr', '/')
+ for _tree in ('/usr/local', '/sw', '/opt', '/opt/local', '/usr', '/','%%LOCALBASE%%')
for _arch in ('lib64', 'lib'))
default_runtime_dirs = default_library_dirs