Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-numexpr: update to 2.8.3; python3-tables: update to 3.7.0.
Date: Sun, 04 Sep 2022 11:12:13 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39094@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 566 bytes --]

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages python3-numexpr
https://github.com/void-linux/void-packages/pull/39094

python3-numexpr: update to 2.8.3; python3-tables: update to 3.7.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

#### Rev dep checks
- [x] python3-tables

A patch file from https://github.com/void-linux/void-packages/pull/39094.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-numexpr-39094.patch --]
[-- Type: text/x-diff, Size: 3207 bytes --]

From 259fd01581f3d7dfe0bf15f10ee115903d7865ef Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
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 <orphan@voidlinux.org>"
 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 <pangolin@vivaldi.net>
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 <pulux@pf4sh.de>"
 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
 }

             reply	other threads:[~2022-09-04  9:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-04  9:12 icp1994 [this message]
2022-09-04  9:25 ` icp1994
2022-09-05 15:58 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39094@inbox.vuxu.org \
    --to=icp1994@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).