Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package NumCpp for openSUSE:Factory checked in at 2024-12-17 19:24:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/NumCpp (Old) and /work/SRC/openSUSE:Factory/.NumCpp.new.29675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "NumCpp" Tue Dec 17 19:24:15 2024 rev:3 rq:1231631 version:2.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/NumCpp/NumCpp.changes 2023-10-25 18:05:41.000215509 +0200 +++ /work/SRC/openSUSE:Factory/.NumCpp.new.29675/NumCpp.changes 2024-12-17 19:25:06.685791203 +0100 @@ -1,0 +2,7 @@ +Mon Dec 16 09:31:06 UTC 2024 - Atri Bhattacharya <badshah...@gmail.com> + +- Add NumCpp-disable-pytest.patch: Temporarily disable pytests + that are incorrectly configured for pybind11; fixes build + failures. + +------------------------------------------------------------------- New: ---- NumCpp-disable-pytest.patch BETA DEBUG BEGIN: New: - Add NumCpp-disable-pytest.patch: Temporarily disable pytests that are incorrectly configured for pybind11; fixes build BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ NumCpp.spec ++++++ --- /var/tmp/diff_new_pack.IZfYzs/_old 2024-12-17 19:25:07.773836485 +0100 +++ /var/tmp/diff_new_pack.IZfYzs/_new 2024-12-17 19:25:07.773836485 +0100 @@ -1,7 +1,7 @@ # # spec file for package NumCpp # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,7 @@ # -%define __builder ninja +# %%define __builder ninja Name: NumCpp Version: 2.12.1 Release: 0 @@ -24,8 +24,11 @@ License: MIT URL: https://github.com/dpilger26/NumCpp Source: %{url}/archive/refs/tags/Version_%{version}.tar.gz#/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM NumCpp-disable-pytest.patch badshah...@gmail.com -- Disable pytests that are incorrectly setup for pybind11 +Patch0: NumCpp-disable-pytest.patch BuildRequires: c++_compiler BuildRequires: cmake +BuildRequires: doxygen BuildRequires: gtest BuildRequires: libboost_date_time-devel BuildRequires: libboost_log-devel @@ -33,7 +36,9 @@ BuildRequires: libboost_thread-devel BuildRequires: ninja BuildRequires: pkgconfig +BuildRequires: python3 BuildRequires: python3-devel +BuildRequires: python3-pybind11-devel BuildRequires: pkgconfig(eigen3) BuildRequires: pkgconfig(tbb) @@ -56,7 +61,7 @@ This package provides the header files for compiling code using NumCpp. %prep -%autosetup -n %{name}-Version_%{version} +%autosetup -p1 -n %{name}-Version_%{version} %build %cmake \ ++++++ NumCpp-disable-pytest.patch ++++++ --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: NumCpp-Version_2.12.1/test/CMakeLists.txt =================================================================== --- NumCpp-Version_2.12.1.orig/test/CMakeLists.txt +++ NumCpp-Version_2.12.1/test/CMakeLists.txt @@ -1,7 +1,7 @@ if(BUILD_TESTS) message(STATUS "Configuring Unit Tests") add_subdirectory(gtest) - add_subdirectory(pytest) + # add_subdirectory(pytest) endif() if(BUILD_MULTIPLE_TEST)