14
0

Accepting request 870090 from home:jayvdb:branches:devel:languages:python

- Add docs/changelog.rst to package contents
- Update to v2.6.2
  * See changelog for changes since 2.5.0

OBS-URL: https://build.opensuse.org/request/show/870090
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybind11?expand=0&rev=23
This commit is contained in:
2021-02-08 14:50:35 +00:00
committed by Git OBS Bridge
parent 48e7fe4181
commit e1953f555d
4 changed files with 23 additions and 7 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ff2fff22df038f5cd02cea8af56622bc67f5b64534f1b83b9f133b8366acff2
size 647954

View File

@@ -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> Fri Jul 17 01:00:06 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pybind11 # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pybind11 Name: python-pybind11
Version: 2.5.0 Version: 2.6.2
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
@@ -76,6 +76,7 @@ popd
%install %install
%python_install %python_install
%python_clone -a %{buildroot}%{_bindir}/pybind11-config
%python_expand %cmake_install %python_expand %cmake_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
# removing duplicated header files # removing duplicated header files
@@ -85,11 +86,19 @@ rm -rfv %{buildroot}%{_includedir}/python3.*/pybind11
%check %check
# test fails as python3-widget is not in distribuion # test fails as python3-widget is not in distribuion
rm tests/test_embed/test_interpreter.py 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} %files %{python_files}
%doc README.md %doc README.rst docs/changelog.rst
%license LICENSE %license LICENSE
%python_alternative %{_bindir}/pybind11-config
%{python_sitelib}/pybind11* %{python_sitelib}/pybind11*
%exclude %{python_sitelib}/pybind11/include %exclude %{python_sitelib}/pybind11/include