Backport PyBind11 3.x compatibility patch

again
This commit is contained in:
sergesanspaille 2025-07-31 16:53:16 +02:00
commit b91c5e3d0f
3 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
/xtensor-python-0.24.1.tar.gz
/xtensor-python-0.26.0.tar.gz
/324.diff
/326.diff

View file

@ -1,2 +1,3 @@
SHA512 (326.diff) = d2a6110f360ae68e3463d07fcbda5825ab7f41d23fee722216170f42a85c8b3236d3f6df2a4493e3a89ca9eee2bb796df0659d0a59028cc7f2c9d6f521a32493
SHA512 (324.diff) = 379dd32dbe806a5c2b9351506030cf746950555fa2408401d3a901a1357321fd681cee169b2055e049d52a693a2d4fb743438d99883653aa64a33861330f0136
SHA512 (xtensor-python-0.26.0.tar.gz) = 7a7318fe212e354466175cda4bd264e56da3faf190aa34b6b086373fa08b7181a9356db4d396b8932d0be4738cb33fd4fb378c60bb94b3f8c858178b31acac89

View file

@ -11,6 +11,7 @@ URL: https://xtensor-python.readthedocs.io/
%global github https://github.com/QuantStack/xtensor-python
Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: %{github}/pull/324.diff
Patch1: %{github}/pull/326.diff
# because xtensor does so for armv7hl, ppc64le and s390x
ExcludeArch: armv7hl ppc64le s390x