SHA256
8
0
forked from pool/NumCpp

18 Commits

Author SHA256 Message Date
792625097d Accepting request 1322798 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1322798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/NumCpp?expand=0&rev=9
2025-12-15 10:59:14 +00:00
26ced02809 Update to version 2.16.0.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/NumCpp?expand=0&rev=18
2025-12-13 19:31:24 +00:00
e5496d2e07 Accepting request 1306688 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1306688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/NumCpp?expand=0&rev=8
2025-09-23 14:08:02 +00:00
7e722c4098 - libboost_system was removed upstream (bsc#1249900)
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/NumCpp?expand=0&rev=16
2025-09-23 10:15:52 +00:00
3d3830ae22 Accepting request 1292530 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1292530
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/NumCpp?expand=0&rev=7
2025-07-14 08:54:51 +00:00
85d235800c Accepting request 1276280 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1276280
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/NumCpp?expand=0&rev=6
2025-05-09 16:52:19 +00:00
766312f10b Update to version 2.14.1.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/NumCpp?expand=0&rev=12
2025-05-09 13:37:45 +00:00
dca2d10627 Accepting request 1244763 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1244763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/NumCpp?expand=0&rev=5
2025-02-10 16:31:18 +00:00
f7ee698195 * Update to version 2.14.0.
* Drop upstreamed or otherwise no longer required patches: NumCpp-disable-pytest.patch NumCpp-add-tests.patch
* Add NumCpp-pytest-link-python.patch: Fix linking to python when building for openSUSE [gh#dpilger26/NumCpp#222].

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/NumCpp?expand=0&rev=10
2025-02-10 13:45:26 +00:00
3ebaafec9d Accepting request 1238691 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1238691
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/NumCpp?expand=0&rev=4
2025-01-19 20:49:05 +00:00
b93bd49076 * Update to version 2.13.0.
* Update NumCpp-disable-pytest.patch: In addition to disabling pytest tests (not yet resolved), uncomment to enable gtest based tests [gh#dpilger26/NumCpp#222].
* Add NumCpp-add-tests.patch: Add `multitest` and `cppcheck` tests to ctest to make testing during %check easy.
* Restore ninja for build, does not affect issues related to python linking errors during tests (disabled by NumCpp-disable-pytest.patch).

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/NumCpp?expand=0&rev=8
2025-01-18 14:46:47 +00:00
b0d66155ff Accepting request 1231631 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1231631
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/NumCpp?expand=0&rev=3
2024-12-17 18:24:15 +00:00
cd5408fa0f Accepting request 1231357 from home:badshah400:branches:devel:libraries:c_c++
Add NumCpp-disable-pytest.patch: Temporarily disable pytests that are incorrectly configured for pybind11; fixes build failures.

OBS-URL: https://build.opensuse.org/request/show/1231357
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/NumCpp?expand=0&rev=6
2024-12-17 07:15:01 +00:00
9ffcb37dc0 Accepting request 1120264 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1120264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/NumCpp?expand=0&rev=2
2023-10-25 16:04:51 +00:00
9d5b5a5824 Accepting request 1119121 from home:badshah400:branches:devel:libraries:c_c++
Update to version 2.12.1

OBS-URL: https://build.opensuse.org/request/show/1119121
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/NumCpp?expand=0&rev=4
2023-10-25 12:35:56 +00:00
ea159d9fde Accepting request 1116501 from devel:libraries:c_c++
A templatized header-only C++ implementation of the Python NumPy library

OBS-URL: https://build.opensuse.org/request/show/1116501
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/NumCpp?expand=0&rev=1
2023-10-10 19:00:07 +00:00
a561d72b11 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/NumCpp?expand=0&rev=2 2023-10-09 15:30:21 +00:00
53318a2e53 Accepting request 1116334 from home:badshah400:Staging
A C++ implementation of the Python Numpy library

OBS-URL: https://build.opensuse.org/request/show/1116334
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/NumCpp?expand=0&rev=1
2023-10-09 03:19:51 +00:00
10 changed files with 37 additions and 107 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:930c8c433c4cd4322ea4a3f42b06453e5c1586a4210aeff603eaae180b228457
size 3716401

View File

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

View File

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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9333115f7f8ec9394a1bc49fb6e07a9175e0efbad29c6eba1aff0dab22ba36de
size 3740217

3
NumCpp-2.16.0.tar.gz Normal file
View File

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

View File

@@ -1,27 +0,0 @@
---
test/cppcheck/CMakeLists.txt | 3 +++
test/multiple/CMakeLists.txt | 3 +++
2 files changed, 6 insertions(+)
Index: NumCpp-Version_2.13.0/test/multiple/CMakeLists.txt
===================================================================
--- NumCpp-Version_2.13.0.orig/test/multiple/CMakeLists.txt
+++ NumCpp-Version_2.13.0/test/multiple/CMakeLists.txt
@@ -18,3 +18,6 @@ target_include_directories(${TARGET_NAME
target_link_libraries(${TARGET_NAME} PRIVATE
${ALL_INTERFACE_TARGET}
)
+
+add_test(NAME ${TARGET_NAME}
+ COMMAND ${TARGET_NAME})
Index: NumCpp-Version_2.13.0/test/cppcheck/CMakeLists.txt
===================================================================
--- NumCpp-Version_2.13.0.orig/test/cppcheck/CMakeLists.txt
+++ NumCpp-Version_2.13.0/test/cppcheck/CMakeLists.txt
@@ -11,3 +11,6 @@ target_include_directories(${TARGET_NAME
target_link_libraries(${TARGET_NAME} PRIVATE
${ALL_INTERFACE_TARGET}
)
+
+add_test(NAME ${TARGET_NAME}
+ COMMAND ${TARGET_NAME})

View File

@@ -1,19 +0,0 @@
---
test/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: NumCpp-Version_2.13.0/test/CMakeLists.txt
===================================================================
--- NumCpp-Version_2.13.0.orig/test/CMakeLists.txt
+++ NumCpp-Version_2.13.0/test/CMakeLists.txt
@@ -1,7 +1,7 @@
if(BUILD_TESTS)
message(STATUS "Configuring Unit Tests")
- # add_subdirectory(gtest)
- add_subdirectory(pytest)
+ add_subdirectory(gtest)
+ # add_subdirectory(pytest)
endif()
if(BUILD_MULTIPLE_TEST)

View File

@@ -2,54 +2,11 @@
test/pytest/src/CMakeLists.txt | 37 +++++++++++++++++++------------------
1 file changed, 19 insertions(+), 18 deletions(-)
Index: NumCpp-Version_2.14.0/test/pytest/src/CMakeLists.txt
Index: NumCpp-Version_2.16.0/test/pytest/src/CMakeLists.txt
===================================================================
--- NumCpp-Version_2.14.0.orig/test/pytest/src/CMakeLists.txt
+++ NumCpp-Version_2.14.0/test/pytest/src/CMakeLists.txt
@@ -17,25 +17,25 @@ foreach(_source IN ITEMS ${_source_list}
source_group("${_group_path}" FILES "${_source}")
endforeach()
-add_library(${TARGET_NAME} SHARED
- Constants.cpp
- Coordinates.cpp
- Core.cpp
- DataCube.cpp
+add_library(${TARGET_NAME} SHARED
+ Constants.cpp
+ Coordinates.cpp
+ Core.cpp
+ DataCube.cpp
DateTime.cpp
- Filter.cpp
- Functions.cpp
- ImageProcessing.cpp
- Integrate.cpp
- Linalg.cpp
+ Filter.cpp
+ Functions.cpp
+ ImageProcessing.cpp
+ Integrate.cpp
+ Linalg.cpp
Logger.cpp
- NdArray.cpp
- Polynomial.cpp
- Random.cpp
- Roots.cpp
- Rotations.cpp
- Special.cpp
- Utils.cpp
+ NdArray.cpp
+ Polynomial.cpp
+ Random.cpp
+ Roots.cpp
+ Rotations.cpp
+ Special.cpp
+ Utils.cpp
Vector.cpp
NumCppPy.cpp
${_source_list}
@@ -56,11 +56,12 @@ find_package(Python 3.11 REQUIRED
--- NumCpp-Version_2.16.0.orig/test/pytest/src/CMakeLists.txt
+++ NumCpp-Version_2.16.0/test/pytest/src/CMakeLists.txt
@@ -57,11 +57,12 @@ find_package(Python 3.11 REQUIRED
if(UNIX)
execute_process(
COMMAND

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Thu Dec 11 10:06:29 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.16.0:
* Added:
- eig() [gh#dpilger26/NumCpp#143].
- eigvals() [gh#dpilger26/NumCpp#143].
- svdvals.
* Bug fixes:
- outer function now operates on arrays of different sizes
[gh#dpilger26/NumCpp#144].
- pinv function has been corrected [gh#dpilger26/NumCpp#215].
- Changes from version 2.15.0:
* Added:
- fft module [gh#dpilger26/NumCpp#137].
- divmod.
- find_duplicates.
- mode.
-------------------------------------------------------------------
Tue Sep 23 11:27:17 CEST 2025 - aschnell@suse.com
- libboost_system was removed upstream (bsc#1249900)
-------------------------------------------------------------------
Fri Jul 11 10:22:42 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package NumCpp
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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 @@
%define __builder ninja
Name: NumCpp
Version: 2.14.2
Version: 2.16.0
Release: 0
Summary: C++ implementation of the Python Numpy library
License: MIT
@@ -32,7 +32,9 @@ BuildRequires: doxygen
BuildRequires: gtest
BuildRequires: libboost_date_time-devel
BuildRequires: libboost_log-devel
%if 0%{?suse_version} < 1600
BuildRequires: libboost_system-devel
%endif
BuildRequires: libboost_thread-devel
BuildRequires: ninja
BuildRequires: pkgconfig
@@ -52,7 +54,9 @@ Requires: libboost_headers-devel
Requires: libboost_log-devel
Requires: libboost_numpy3-devel
Requires: libboost_python3-devel
%if 0%{?suse_version} < 1600
Requires: libboost_system-devel
%endif
Requires: libboost_thread-devel
Requires: python3-pybind11-devel
BuildArch: noarch