Hello community,

here is the log from the commit of package python-pybind11 for openSUSE:Factory 
checked in at 2019-10-10 11:53:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pybind11 (Old)
 and      /work/SRC/openSUSE:Factory/.python-pybind11.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pybind11"

Thu Oct 10 11:53:00 2019 rev:3 rq:736064 version:2.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pybind11/python-pybind11.changes  
2019-08-24 18:49:08.593741446 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pybind11.new.2352/python-pybind11.changes    
    2019-10-10 11:53:02.335385944 +0200
@@ -1,0 +2,7 @@
+Tue Oct  8 09:11:41 UTC 2019 - Christian Goll <[email protected]>
+
+- updated to 2.4.2
+ * made devel package python version independent
+ * added cmake run to install cmake include files
+
+-------------------------------------------------------------------

Old:
----
  pybind11-2.3.0.tar.gz

New:
----
  pybind11-2.4.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pybind11.spec ++++++
--- /var/tmp/diff_new_pack.iWZEBN/_old  2019-10-10 11:53:03.431383034 +0200
+++ /var/tmp/diff_new_pack.iWZEBN/_new  2019-10-10 11:53:03.475382918 +0200
@@ -18,19 +18,20 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pybind11
-Version:        2.3.0
+Version:        2.4.2
 Release:        0
 Summary:        Module for operability between C++11 and Python
 License:        BSD-3-Clause
-Group:          Development/Languages/Python
-Url:            https://github.com/pybind/pybind11
-Source:         
https://files.pythonhosted.org/packages/53/bc/0880e869d1a4bfd7954835d67e6d5e2c8a30c3fd6372134a4be79a842a4c/pybind11-%{version}.tar.gz
+URL:            https://github.com/pybind/pybind11
+Source:         
https://github.com/pybind/pybind11/archive/v%{version}.tar.gz#/pybind11-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  cmake
 BuildRequires:  fdupes
+BuildRequires:  gcc-c++
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -39,36 +40,41 @@
 code. It can reduce boilerplate code in traditional extension modules
 by inferring type information using compile-time introspection.
 
-%package devel
+%package -n %{name}-devel
 Summary:        Development files for pybind11
-Group:          Development/Libraries/Python
 Requires:       %{name} = %{version}
 Requires:       python-devel
+Provides:       %{python_module %{name}-devel}
 
-%description devel
+%description -n %{name}-devel
 This package contains files for developing applications using pybind11.
 
-
 %prep
 %setup -q -n pybind11-%{version}
 
-echo "python_files devel = %{python_files devel}"
-
 %build
 %python_build
+# calling cmake to install header to right location and
+# generate cmake include files
+%cmake
+%cmake_build
 
 %install
 %python_install
+%cmake_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+# removing duplciated header files
+rm -rv %{buildroot}%{_includedir}/python2.*/pybind11/
+rm -rv %{buildroot}%{_includedir}/python3.*/pybind11
 
 %files %{python_files}
 %doc README.md
 %license LICENSE
 %{python_sitelib}/*
 
-%files %{python_files devel}
-%defattr(-,root,root)
+%files -n %{name}-devel
+%{_includedir}/pybind11
 %license LICENSE
-%{python_sysconfig_path include}
+%{_datadir}/cmake/pybind11
 
 %changelog

++++++ pybind11-2.3.0.tar.gz -> pybind11-2.4.2.tar.gz ++++++
++++ 29142 lines of diff (skipped)


Reply via email to