pkgsrc/math/py-tables/Makefile
adam d4433e7998 py-tables: updated to 3.5.1
Changes from 3.5.0 to 3.5.1
- Maintenance release to fix how PyPi repo is handling wheel versions.

Changes from 3.4.4 to 3.5.0
Improvements
- When copying data from native HDF5 files with padding in compound types,
  the padding is not removed now by default.  This allows for better
  compatibility with existing HDF5 applications that expect the padding
  to stay there.
  Also, when the description is a NumPy struct array with padding, this
  is honored now.  The previous behaviour (i.e. getting rid of paddings) can
  be replicated by passing the new allow_padding parameter when opening
  a file.  For some examples, see the new examples/tables-with-padding.py
  and examples/attrs-with-padding.py.
- Added a new flag --dont-allow-padding in ptrepack utility so as to
  replicate the previous behaviour of removing padding during file copies.
  The default is to honor the original padding in copies.
- Improve compatibility with numpy 1.16.
- Improve detection of the LZO2 library at build time.
- Suppress several warnings.
- Add AVX2 support for Windows.
2019-03-20 16:08:06 +00:00

42 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2019/03/20 16:08:06 adam Exp $
DISTNAME= tables-3.5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tables/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pytables.org/
COMMENT= Database package for large amounts of data
LICENSE= modified-bsd
PYSETUPBUILDARGS+= --blosc=${BUILDLINK_PREFIX.blosc}
PYSETUPBUILDARGS+= --bzip2=${BUILDLINK_PREFIX.bzip2}
PYSETUPBUILDARGS+= --hdf5=${BUILDLINK_PREFIX.hdf5}
PYSETUPBUILDARGS+= --lzo=${BUILDLINK_PREFIX.lzo}
DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
DEPENDS+= ${PYPKGPREFIX}-numexpr>=2.6.2:../../math/py-numexpr
DEPENDS+= ${PYPKGPREFIX}-mock>=2.0:../../devel/py-mock
DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
USE_LANGUAGES= c c++
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pt2to3 pt2to3-${PYVERSSUFFIX} && \
${MV} ptdump ptdump-${PYVERSSUFFIX} && \
${MV} ptrepack ptrepack-${PYVERSSUFFIX} && \
${MV} pttree pttree-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC}/tables/tests && ${PYTHONBIN} test_all.py
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/lzo/buildlink3.mk"
.include "../../devel/blosc/buildlink3.mk"
.include "../../devel/hdf5/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"