blob: 9482ac7e6dc5ada74b00392fcc2e5fa3b567749b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.31 2014/09/20 17:56:36 wiz Exp $
DISTNAME= tables-3.1.1
PKGNAME= ${PYPKGPREFIX}-py${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pytables/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pytables.org/
COMMENT= Database package for large amounts of data
LICENSE= modified-bsd
PYSETUPBUILDARGS+= --hdf5=${BUILDLINK_PREFIX.hdf5}
PYSETUPINSTALLARGS= ${PYSETUPBUILDARGS}
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
USE_LANGUAGES= c c++
.include "options.mk"
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
mv pt2to3 pt2to3${PYVERSSUFFIX} && \
mv ptdump ptdump${PYVERSSUFFIX} && \
mv ptrepack ptrepack${PYVERSSUFFIX}
do-test:
(cd ${WRKSRC}/tables/tests && ${PYTHONBIN} test_all.py)
.include "../../lang/python/distutils.mk"
.include "../../devel/hdf5/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../math/py-numpy/buildlink3.mk"
BUILDLINK_API_DEPENDS.pycython+= ${PYPKGPREFIX}-cython>=0.13
.include "../../devel/py-cython/buildlink3.mk"
BUILDLINK_API_DEPENDS.pynumexpr+= ${PYPKGPREFIX}-numexpr>=2.0
.include "../../math/py-numexpr/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|