Date: Friday, March 18, 2022 @ 10:58:48 Author: archange Revision: 1158349
Removed now unneeded sed and properly reenable tests Modified: python-pytables/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-03-18 10:45:37 UTC (rev 1158348) +++ PKGBUILD 2022-03-18 10:58:48 UTC (rev 1158349) @@ -4,7 +4,7 @@ pkgname=python-pytables pkgver=3.7.0 -pkgrel=1 +pkgrel=2 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" @@ -14,11 +14,6 @@ source=(https://github.com/PyTables/PyTables/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=('41065fc11b958dde09bd5b9c069d88e40ca07ad10687dd597835fcc8199e81ea') -prepare() { - cd PyTables-${pkgver} - sed -i "s|Atom.from_sctype('Float64')|Atom.from_sctype('float64')|" tables/atom.py -} - build() { cd PyTables-${pkgver} python setup.py build --blosc=/usr --lzo=/usr --hdf5=/usr --bzip2=/usr @@ -27,8 +22,7 @@ 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} - # Currently 12 errors in VLArray https://github.com/PyTables/PyTables/issues/845 - PYTHONPATH="." python -m tables.tests.test_all || echo "Tests failed" + PYTHONPATH="." python -m tables.tests.test_all } package() {