forked from pool/python-pybind11
- Enable tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybind11?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
3565b58fb0
commit
578bd89fd2
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 8 10:18:52 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Enable tests
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 8 09:11:41 UTC 2019 - Christian Goll <cgoll@suse.com>
|
Tue Oct 8 09:11:41 UTC 2019 - Christian Goll <cgoll@suse.com>
|
||||||
|
|
||||||
|
@@ -22,8 +22,7 @@ Version: 2.4.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
|
||||||
Group: Development/Languages/Python
|
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 pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
@@ -33,7 +32,6 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -44,23 +42,20 @@ by inferring type information using compile-time introspection.
|
|||||||
|
|
||||||
%package -n %{name}-devel
|
%package -n %{name}-devel
|
||||||
Summary: Development files for pybind11
|
Summary: Development files for pybind11
|
||||||
Group: Development/Libraries/Python
|
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: python-devel
|
Requires: python-devel
|
||||||
|
Provides: %{python_module %{name}-devel}
|
||||||
|
|
||||||
%description -n %{name}-devel
|
%description -n %{name}-devel
|
||||||
This package contains files for developing applications using pybind11.
|
This package contains files for developing applications using pybind11.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pybind11-%{version}
|
%setup -q -n pybind11-%{version}
|
||||||
# calling cmake to install header to right location and
|
|
||||||
# generate cmake include files
|
|
||||||
|
|
||||||
echo "python_files devel = %{python_files devel}"
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
# calling cmake to install header to right location and
|
||||||
|
# generate cmake include files
|
||||||
%cmake
|
%cmake
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user