forked from pool/python-pybind11
Accepting request 870296 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/870296 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybind11?expand=0&rev=11
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:97504db65640570f32d3fdf701c25a340c8643037c3b69aec469c10c93dc8504
|
||||
size 573769
|
3
pybind11-2.6.2.tar.gz
Normal file
3
pybind11-2.6.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8ff2fff22df038f5cd02cea8af56622bc67f5b64534f1b83b9f133b8366acff2
|
||||
size 647954
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 7 13:15:06 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Add docs/changelog.rst to package contents
|
||||
- Update to v2.6.2
|
||||
* See changelog for changes since 2.5.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 17 01:00:06 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pybind11
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pybind11
|
||||
Version: 2.5.0
|
||||
Version: 2.6.2
|
||||
Release: 0
|
||||
Summary: Module for operability between C++11 and Python
|
||||
License: BSD-3-Clause
|
||||
@@ -76,6 +76,7 @@ popd
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/pybind11-config
|
||||
%python_expand %cmake_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
# removing duplicated header files
|
||||
@@ -85,11 +86,19 @@ rm -rfv %{buildroot}%{_includedir}/python3.*/pybind11
|
||||
%check
|
||||
# test fails as python3-widget is not in distribuion
|
||||
rm tests/test_embed/test_interpreter.py
|
||||
%pytest
|
||||
export PYTHONPATH=${PWD}/build/tests/
|
||||
%pytest -k 'not (tests_build_wheel or tests_build_global_wheel)'
|
||||
|
||||
%post
|
||||
%python_install_alternative pybind11-config
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative pybind11-config
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%doc README.rst docs/changelog.rst
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/pybind11-config
|
||||
%{python_sitelib}/pybind11*
|
||||
%exclude %{python_sitelib}/pybind11/include
|
||||
|
||||
|
Reference in New Issue
Block a user