Date: Sunday, April 12, 2020 @ 14:43:44 Author: archange Revision: 613412
hdf5 1.12.0 rebuild + tests enabling Modified: python-pytables/trunk/PKGBUILD ----------+ PKGBUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-04-12 14:32:09 UTC (rev 613411) +++ PKGBUILD 2020-04-12 14:43:44 UTC (rev 613412) @@ -4,7 +4,7 @@ pkgname=python-pytables pkgver=3.6.1 -pkgrel=2 +pkgrel=3 pkgdesc="A package for managing hierarchical datasets and designed to efficiently and easily cope with extremely large amounts of data" arch=(x86_64) url="https://www.pytables.org" @@ -19,6 +19,12 @@ python setup.py build --blosc=/usr --lzo=/usr --hdf5=/usr --bzip2=/usr } +check() { + local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') + cd PyTables-${pkgver}/build/lib.linux-${CARCH}-${python_version} + PYTHONPATH="." python -m tables.tests.test_all +} + package() { cd PyTables-${pkgver} python setup.py install --skip-build --prefix=/usr --root="${pkgdir}" --optimize=1