diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-11-13 13:10:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-11-13 13:10:00 +0000 |
commit | e9d044d4b9b71200a96adfa280848858c0f468c9 (patch) | |
tree | 1bd8ef816043a8cd340f1d774e79553a1a7d31d8 /dev-python/scipy/files | |
parent | fc2f1018fc323ef2c6572734a9b130427cba76a6 (diff) |
gentoo resync : 13.11.2021
Diffstat (limited to 'dev-python/scipy/files')
-rw-r--r-- | dev-python/scipy/files/scipy-1.7.1-pythran-tests-32-bit.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/scipy/files/scipy-1.7.1-pythran-tests-32-bit.patch b/dev-python/scipy/files/scipy-1.7.1-pythran-tests-32-bit.patch new file mode 100644 index 000000000000..206d1d9fa3b2 --- /dev/null +++ b/dev-python/scipy/files/scipy-1.7.1-pythran-tests-32-bit.patch @@ -0,0 +1,31 @@ +https://github.com/scipy/scipy/commit/5b3a3b440525aa5038e2cead1f9b4f23a610cd9f + +From: serge-sans-paille <serge.guelton@telecom-bretagne.eu> +Date: Sun, 18 Jul 2021 11:14:29 +0200 +Subject: [PATCH] Extra pythran annotation for i686 support + +Bug spotted on Fedora, see https://src.fedoraproject.org/rpms/scipy/pull-request/22 + +The `int[::]` annotation is used to accept non-contiguous views. +--- a/scipy/optimize/_group_columns.py ++++ b/scipy/optimize/_group_columns.py +@@ -54,6 +54,8 @@ def group_dense(m, n, A): + + #pythran export group_sparse(int, int, intc[], intc[]) + #pythran export group_sparse(int, int, int[], int[]) ++#pythran export group_sparse(int, int, intc[::], intc[::]) ++#pythran export group_sparse(int, int, int[::], int[::]) + def group_sparse(m, n, indices, indptr): + groups = -np.ones(n, dtype=np.intp) + current_group = 0 +--- a/scipy/signal/_max_len_seq_inner.py ++++ b/scipy/signal/_max_len_seq_inner.py +@@ -4,6 +4,7 @@ + import numpy as np + + #pythran export _max_len_seq_inner(intp[], int8[], int, int, int8[]) ++#pythran export _max_len_seq_inner(int[], int8[], int, int, int8[]) + + # Fast inner loop of max_len_seq. + def _max_len_seq_inner(taps, state, nbits, length, seq): + |