forked from pool/python-pybind11
Accepting request 819015 from home:mslacken:ml
- updated to version 2.5.0 and running the internal unit tests now OBS-URL: https://build.opensuse.org/request/show/819015 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybind11?expand=0&rev=19
This commit is contained in:
committed by
Git OBS Bridge
parent
85a30ca739
commit
95885b80b7
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1eed57bc6863190e35637290f97a20c81cfe4d9090ac0a24f3bbf08f265eb71d
|
|
||||||
size 571127
|
|
3
pybind11-2.5.0.tar.gz
Normal file
3
pybind11-2.5.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:97504db65640570f32d3fdf701c25a340c8643037c3b69aec469c10c93dc8504
|
||||||
|
size 573769
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 6 14:56:54 UTC 2020 - Christian Goll <cgoll@suse.com>
|
||||||
|
|
||||||
|
- updated to version 2.5.0 and running the internal unit tests now
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 23 10:05:00 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
Thu Apr 23 10:05:00 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -18,13 +18,14 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pybind11
|
Name: python-pybind11
|
||||||
Version: 2.4.3
|
Version: 2.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Module for operability between C++11 and Python
|
Summary: Module for operability between C++11 and Python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/pybind/pybind11
|
URL: https://github.com/pybind/pybind11
|
||||||
Source: https://github.com/pybind/pybind11/archive/v%{version}.tar.gz#/pybind11-%{version}.tar.gz
|
Source: https://github.com/pybind/pybind11/archive/v%{version}.tar.gz#/pybind11-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module numpy}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@@ -63,7 +64,10 @@ This package contains files for developing applications using pybind11.
|
|||||||
%python_build
|
%python_build
|
||||||
# calling cmake to install header to right location and
|
# calling cmake to install header to right location and
|
||||||
# generate cmake include files
|
# generate cmake include files
|
||||||
%cmake
|
%cmake \
|
||||||
|
-DPYBIND11_INSTALL=ON \
|
||||||
|
-DPYBIND11_TEST=ON \
|
||||||
|
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@@ -74,10 +78,16 @@ This package contains files for developing applications using pybind11.
|
|||||||
rm -rfv %{buildroot}%{_includedir}/python2.*/pybind11/
|
rm -rfv %{buildroot}%{_includedir}/python2.*/pybind11/
|
||||||
rm -rfv %{buildroot}%{_includedir}/python3.*/pybind11
|
rm -rfv %{buildroot}%{_includedir}/python3.*/pybind11
|
||||||
|
|
||||||
|
#%%check
|
||||||
|
# test fails as python3-widget is not in distribuion
|
||||||
|
rm tests/test_embed/test_interpreter.py
|
||||||
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pybind11*
|
||||||
|
%exclude %{python_sitelib}/pybind11/include
|
||||||
|
|
||||||
%files -n %{name}-common-devel
|
%files -n %{name}-common-devel
|
||||||
%{_includedir}/pybind11
|
%{_includedir}/pybind11
|
||||||
|
Reference in New Issue
Block a user