summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-03-20 16:08:06 +0000
committeradam <adam@pkgsrc.org>2019-03-20 16:08:06 +0000
commit4973767c1751aa19bdf382a0744062e18410e00a (patch)
tree5e7571898520d0644c46354e2f9367c64c9767aa /math
parent40b307f9d81886c21795ec745e4089fb66cb6daf (diff)
downloadpkgsrc-4973767c1751aa19bdf382a0744062e18410e00a.tar.gz
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.
Diffstat (limited to 'math')
-rw-r--r--math/py-tables/ALTERNATIVES4
-rw-r--r--math/py-tables/Makefile17
-rw-r--r--math/py-tables/PLIST10
-rw-r--r--math/py-tables/distinfo10
4 files changed, 23 insertions, 18 deletions
diff --git a/math/py-tables/ALTERNATIVES b/math/py-tables/ALTERNATIVES
new file mode 100644
index 00000000000..387614891f3
--- /dev/null
+++ b/math/py-tables/ALTERNATIVES
@@ -0,0 +1,4 @@
+bin/pt2to3 @PREFIX@/bin/pt2to3-@PYVERSSUFFIX@
+bin/ptdump @PREFIX@/bin/ptdump-@PYVERSSUFFIX@
+bin/ptrepack @PREFIX@/bin/ptrepack-@PYVERSSUFFIX@
+bin/pttree @PREFIX@/bin/pttree-@PYVERSSUFFIX@
diff --git a/math/py-tables/Makefile b/math/py-tables/Makefile
index 08b27840550..9bd9618f248 100644
--- a/math/py-tables/Makefile
+++ b/math/py-tables/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2018/07/04 06:46:49 adam Exp $
+# $NetBSD: Makefile,v 1.2 2019/03/20 16:08:06 adam Exp $
-DISTNAME= tables-3.4.4
+DISTNAME= tables-3.5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tables/}
@@ -16,17 +16,18 @@ PYSETUPBUILDARGS+= --hdf5=${BUILDLINK_PREFIX.hdf5}
PYSETUPBUILDARGS+= --lzo=${BUILDLINK_PREFIX.lzo}
DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
-DEPENDS+= ${PYPKGPREFIX}-numexpr>=2.5.2:../../math/py-numexpr
+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++
+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}
+ ${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
diff --git a/math/py-tables/PLIST b/math/py-tables/PLIST
index 487f7a649bc..e5c80823120 100644
--- a/math/py-tables/PLIST
+++ b/math/py-tables/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2018/07/04 06:46:49 adam Exp $
-bin/pt2to3${PYVERSSUFFIX}
-bin/ptdump${PYVERSSUFFIX}
-bin/ptrepack${PYVERSSUFFIX}
-bin/pttree${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.2 2019/03/20 16:08:06 adam Exp $
+bin/pt2to3-${PYVERSSUFFIX}
+bin/ptdump-${PYVERSSUFFIX}
+bin/ptrepack-${PYVERSSUFFIX}
+bin/pttree-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
diff --git a/math/py-tables/distinfo b/math/py-tables/distinfo
index 2b1da330e83..6b1609a1a4a 100644
--- a/math/py-tables/distinfo
+++ b/math/py-tables/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/07/04 06:46:49 adam Exp $
+$NetBSD: distinfo,v 1.2 2019/03/20 16:08:06 adam Exp $
-SHA1 (tables-3.4.4.tar.gz) = 79fa344fa7a2e3ad0a5b154810a72976841ca864
-RMD160 (tables-3.4.4.tar.gz) = da09f5344098d9ed904d6a408f4fa450392b9928
-SHA512 (tables-3.4.4.tar.gz) = 2d0cdd36a6f14702f424773b64187d1980d73a72525ead43b272776bb32b2ebc4c6ea0b7e3343c8600d7f62c42d008b5e835439af30e76ea11c7504666631ddf
-Size (tables-3.4.4.tar.gz) = 4626053 bytes
+SHA1 (tables-3.5.1.tar.gz) = cb2183df7032dfe48ee69546c24ed35533b2516a
+RMD160 (tables-3.5.1.tar.gz) = f42e8d5d1d3dcf4e6a7111d65921ac477671b229
+SHA512 (tables-3.5.1.tar.gz) = a3064951fd3f91156c539279aed9ac13a8f07de6e0f0dbdaf7941fcb6b812b903ac28b98281b3e1dd3f0e685714c4ae0471ffbd1dda80402212a466dd8f25843
+Size (tables-3.5.1.tar.gz) = 8306669 bytes