aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2006-07-28 00:24:12 +0800
committerdelphij <delphij@FreeBSD.org>2006-07-28 00:24:12 +0800
commit5920ae168c8cd83220029cc68694e1ff2b119dd2 (patch)
treec5f193e88c147dd1a300393f9301d1174060041b /devel
parent2d8f4afe11343de45e985810c177be49913a9548 (diff)
downloadfreebsd-ports-gnome-5920ae168c8cd83220029cc68694e1ff2b119dd2.tar.gz
freebsd-ports-gnome-5920ae168c8cd83220029cc68694e1ff2b119dd2.tar.zst
freebsd-ports-gnome-5920ae168c8cd83220029cc68694e1ff2b119dd2.zip
- Update to 1.3.2 (stable)
- Take maintainership Submitted by: Shin CHAO <quakelee cn.freebsd.org> PR: ports/100922
Diffstat (limited to 'devel')
-rw-r--r--devel/py-tables/Makefile15
-rw-r--r--devel/py-tables/distinfo6
-rw-r--r--devel/py-tables/files/patch-setup.py12
3 files changed, 21 insertions, 12 deletions
diff --git a/devel/py-tables/Makefile b/devel/py-tables/Makefile
index 7b48429ca092..60f5814e0e91 100644
--- a/devel/py-tables/Makefile
+++ b/devel/py-tables/Makefile
@@ -7,14 +7,14 @@
#
PORTNAME= tables
-PORTVERSION= 1.1
+PORTVERSION= 1.3.2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pytables
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pytables-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= quakelee@cn.freebsd.org
COMMENT= A hierarchical database for Python
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
+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:
@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/setup.py
@@ -45,4 +54,4 @@ post-install:
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/py-tables/distinfo b/devel/py-tables/distinfo
index 34da0aa3bd82..4855e0d9f74a 100644
--- a/devel/py-tables/distinfo
+++ b/devel/py-tables/distinfo
@@ -1,3 +1,3 @@
-MD5 (pytables-1.1.tar.gz) = 62be2271cab933b9c0712887d15522f2
-SHA256 (pytables-1.1.tar.gz) = b021642e9cb69ea13d2637411005f6b9073e820b87c8914391fcb18f69155245
-SIZE (pytables-1.1.tar.gz) = 2693924
+MD5 (pytables-1.3.2.tar.gz) = ba4df36a1b0702eb0314c24c49992fec
+SHA256 (pytables-1.3.2.tar.gz) = b67e524a71c74407c2c3184a2807f847fa374f0b8990dad5fac37d9bced1a06b
+SIZE (pytables-1.3.2.tar.gz) = 3834747
diff --git a/devel/py-tables/files/patch-setup.py b/devel/py-tables/files/patch-setup.py
index d53d1b3aec63..2fd91c8c8b84 100644
--- a/devel/py-tables/files/patch-setup.py
+++ b/devel/py-tables/files/patch-setup.py
@@ -1,13 +1,13 @@
---- setup.py.orig Wed May 11 11:04:04 2005
-+++ setup.py Wed May 11 11:04:38 2005
-@@ -30,8 +30,8 @@
+--- setup.py.orig Wed Jul 26 23:43:50 2006
++++ setup.py Wed Jul 26 23:44:46 2006
+@@ -72,8 +72,8 @@
+ debug = '--debug' in sys.argv
# Global variables
- lflags_arg = []
-lib_dirs = []
-inc_dirs = []
+lib_dirs = ['%%LOCALBASE%%/lib']
+inc_dirs = ['%%LOCALBASE%%/include']
+ optional_libs = []
- # Some useful functions
- def check_lib_unix(where, libname, headername, compulsory):
+ default_header_dirs = None