pkgsrc/math/py-pytables/Makefile
wiz 490710b08f Update to 3.1.1 and fix build with py-cython-0.20+.
We are happy to announce PyTables 3.1.1.

This is a bug-fix release that addresses a critical bug that make PyTables
unusable on some platforms.


What's new
==========

- Fixed a critical bug that caused an exception at import time.
  The error was triggered when a bug in long-double detection is detected
  in the HDF5 library (see :issue:`275`) and numpy_ does not expose
  `float96` or `float128`. Closes :issue:`344`.
- The internal Blosc_ library has been updated to version 1.3.5.
  This fixes a false buffer overrun condition that made c-blosc to fail,
  even if the problem was not real.

As always, a large amount of bugs have been addressed and squashed as well.
2014-09-20 17:56:36 +00:00

39 lines
1.2 KiB
Makefile

# $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"