From 259fd01581f3d7dfe0bf15f10ee115903d7865ef Mon Sep 17 00:00:00 2001 From: icp Date: Sun, 4 Sep 2022 12:30:48 +0530 Subject: [PATCH 1/2] python3-numexpr: update to 2.8.3. --- srcpkgs/python3-numexpr/template | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python3-numexpr/template b/srcpkgs/python3-numexpr/template index 64be5908b161..79edf913658f 100644 --- a/srcpkgs/python3-numexpr/template +++ b/srcpkgs/python3-numexpr/template @@ -1,19 +1,24 @@ # Template file for 'python3-numexpr' pkgname=python3-numexpr -version=2.7.2 -revision=3 +version=2.8.3 +revision=1 wrksrc="numexpr-${version}" build_style=python3-module build_helper=numpy -hostmakedepends="python3-setuptools" +hostmakedepends="python3-wheel" makedepends="python3-devel python3-numpy" -depends="python3-numpy" +depends="python3-numpy python3-packaging" +checkdepends="${depends} python3-pytest-xdist" short_desc="Fast numerical expression evaluator for NumPy (Python3)" maintainer="Orphaned " license="MIT" homepage="https://github.com/pydata/numexpr" distfiles="https://github.com/pydata/numexpr/archive/v${version}.tar.gz" -checksum=7d1b3790103221feda07f4a93a4fa5c6654f46865197a677ca6f27eb5cb4e5ef +checksum=389ceefca74eff30ec3fd03fc4c3b7ab3df8f22d1f235117a392ce702ed208c0 + +pre_check() { + python3 setup.py build_ext --inplace +} post_install() { vlicense LICENSE.txt From b0167be25e5e8d43367e86118009296d03138685 Mon Sep 17 00:00:00 2001 From: icp Date: Sun, 4 Sep 2022 14:31:19 +0530 Subject: [PATCH 2/2] python3-tables: update to 3.7.0. --- srcpkgs/python3-tables/template | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python3-tables/template b/srcpkgs/python3-tables/template index 766b76fd5018..b7e9426dd8e9 100644 --- a/srcpkgs/python3-tables/template +++ b/srcpkgs/python3-tables/template @@ -1,26 +1,33 @@ # Template file for 'python3-tables' pkgname=python3-tables -version=3.6.1 -revision=3 +version=3.7.0 +revision=1 wrksrc="${pkgname#*-}-${version}" build_style=python3-module +build_helper=numpy # XXX: c-blosc (using internal for now) -hostmakedepends="python3-setuptools python3-numpy python3-Cython" +hostmakedepends="python3-wheel python3-Cython python3-packaging" makedepends="python3-devel hdf5-devel lzo-devel bzip2-devel" -depends="python3-numpy python3-numexpr" +depends="python3-numpy python3-numexpr python3-packaging" +checkdepends=$depends short_desc="Hierarchical datasets for Python3" maintainer="pulux " license="BSD-3-Clause" homepage="http://www.pytables.org/" changelog="http://www.pytables.org/release_notes.html" distfiles="${PYPI_SITE}/t/tables/tables-${version}.tar.gz" -checksum=49a972b8a7c27a8a173aeb05f67acb45fe608b64cd8e9fa667c0962a60b71b49 +checksum=e92a887ad6f2a983e564a69902de4a7645c30069fc01abd353ec5da255c5e1fe post_extract() { # Make sure Cython is run during build rm tables/*.c } +do_check() { + python3 setup.py build_ext --inplace + PYTHONPATH="$(cd build/lib* && pwd)" python3 -m tables.tests.test_all +} + post_install() { vlicense LICENSE.txt LICENSE }