2012-09-12 01:04:15 +02:00
|
|
|
# $NetBSD: Makefile,v 1.25 2012/09/11 23:04:32 asau Exp $
|
2004-04-22 17:17:08 +02:00
|
|
|
#
|
|
|
|
|
2010-11-24 19:06:01 +01:00
|
|
|
DISTNAME= tables-2.2.1
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-pytables-2.2.1
|
2011-10-07 12:45:16 +02:00
|
|
|
PKGREVISION= 1
|
2004-07-22 11:15:59 +02:00
|
|
|
CATEGORIES= math python
|
2010-11-24 19:06:01 +01:00
|
|
|
MASTER_SITES= http://www.pytables.org/download/pytables-2.2.1/
|
2004-04-22 17:17:08 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2009-11-15 16:56:55 +01:00
|
|
|
HOMEPAGE= http://www.pytables.org/
|
2004-04-22 17:17:08 +02:00
|
|
|
COMMENT= Database package for large amounts of data
|
|
|
|
|
2006-02-15 17:56:09 +01:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.pytables
|
2009-11-15 16:56:55 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= lzo
|
2006-02-15 17:56:09 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS=
|
|
|
|
.include "../../mk/bsd.options.mk"
|
2004-04-22 17:17:08 +02:00
|
|
|
|
2012-06-16 07:40:05 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 25
|
|
|
|
|
2004-04-22 17:17:08 +02:00
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
PYSETUPBUILDARGS= --hdf5=${BUILDLINK_PREFIX.hdf5}
|
2006-02-15 17:56:09 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mlzo)
|
|
|
|
PYSETUPBUILDARGS+= --lzo=${BUILDLINK_PREFIX.lzo}
|
|
|
|
.include "../../archivers/lzo/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
PYSETUPINSTALLARGS= ${PYSETUPBUILDARGS}
|
2005-12-05 21:49:47 +01:00
|
|
|
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
|
2004-04-22 17:17:08 +02:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
cd ${WRKSRC}/utils; \
|
|
|
|
${MV} ptdump ptdump${PYVERSSUFFIX}; \
|
2005-02-09 13:29:10 +01:00
|
|
|
${MV} ptrepack ptrepack${PYVERSSUFFIX}; \
|
|
|
|
${MV} nctoh5 nctoh5${PYVERSSUFFIX}
|
2004-04-22 17:17:08 +02:00
|
|
|
|
2006-10-17 16:32:32 +02:00
|
|
|
do-test:
|
|
|
|
(cd ${WRKSRC}/tables/tests && ${PYTHONBIN} test_all.py)
|
|
|
|
|
2004-04-22 17:17:08 +02:00
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.include "../../devel/hdf5/buildlink3.mk"
|
2006-02-15 17:56:09 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
2009-11-15 16:56:55 +01:00
|
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
2010-11-24 19:06:01 +01:00
|
|
|
BUILDLINK_API_DEPENDS.pycython+= ${PYPKGPREFIX}-cython>=0.13
|
2010-07-16 14:17:59 +02:00
|
|
|
.include "../../devel/py-cython/buildlink3.mk"
|
|
|
|
.include "../../math/py-numexpr/buildlink3.mk"
|
2004-04-22 17:17:08 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|