Backport PyBind11 3.x compatibility patch
Fix rhbz#2383231
This commit is contained in:
parent
2b7be5c327
commit
6f357d8cd6
3 changed files with 16 additions and 2 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -1,3 +1,8 @@
|
|||
/xtensor-python-0.23.1.tar.gz
|
||||
/xtensor-python-0.24.1.tar.gz
|
||||
/xtensor-python-0.26.0.tar.gz
|
||||
/324.diff
|
||||
/326.diff
|
||||
/325.diff
|
||||
/xtensor-python-0.28.0.tar.gz
|
||||
/327.diff
|
||||
|
|
|
|||
6
sources
6
sources
|
|
@ -1 +1,5 @@
|
|||
SHA512 (xtensor-python-0.26.0.tar.gz) = 7a7318fe212e354466175cda4bd264e56da3faf190aa34b6b086373fa08b7181a9356db4d396b8932d0be4738cb33fd4fb378c60bb94b3f8c858178b31acac89
|
||||
SHA512 (327.diff) = 028b1c4f01eb9cc5c6e3742f21a0afd890870afce2ab128abc765772fb269bd4ed882cf9a2c1e9900c9740ed5017dfe51ca0060d1ffc795332c83ff9f799369d
|
||||
SHA512 (325.diff) = 438fccb0dfd5a18a245678960edf07bb35187056e51fe1a1025032d3c96f25f88208fcb132c6f64df8dec590028e73e34effbd6c22f40cde6c358c6956c09d6a
|
||||
SHA512 (326.diff) = d2a6110f360ae68e3463d07fcbda5825ab7f41d23fee722216170f42a85c8b3236d3f6df2a4493e3a89ca9eee2bb796df0659d0a59028cc7f2c9d6f521a32493
|
||||
SHA512 (324.diff) = 379dd32dbe806a5c2b9351506030cf746950555fa2408401d3a901a1357321fd681cee169b2055e049d52a693a2d4fb743438d99883653aa64a33861330f0136
|
||||
SHA512 (xtensor-python-0.28.0.tar.gz) = 382b457663560db5c43ce8b111fd6bdb2aa2d679dd4ae04baa966e58117937f11c9a1e57847a6532017e6023e688876223d358652ad84a371d45c7b6802b3f73
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
%undefine __cmake_in_source_build
|
||||
|
||||
Name: xtensor-python
|
||||
Version: 0.26.0
|
||||
Version: 0.28.0
|
||||
Release: %autorelease
|
||||
Summary: Python bindings for xtensor
|
||||
# Automatically converted from old format: BSD - review is highly recommended.
|
||||
|
|
@ -10,6 +10,10 @@ 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
|
||||
Patch2: %{github}/pull/325.diff
|
||||
Patch3: %{github}/pull/327.diff
|
||||
|
||||
# because xtensor does so for armv7hl, ppc64le and s390x
|
||||
ExcludeArch: armv7hl ppc64le s390x
|
||||
|
|
@ -68,6 +72,7 @@ Requires: python3-numpy
|
|||
%license LICENSE
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/cmake/%{name}/
|
||||
%{_datadir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue