Compare commits
12 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 792625097d | |||
| 26ced02809 | |||
| e5496d2e07 | |||
| 7e722c4098 | |||
| 3d3830ae22 | |||
| 6e130ceaee | |||
| 85d235800c | |||
| 766312f10b | |||
| dca2d10627 | |||
| f7ee698195 | |||
| 3ebaafec9d | |||
| b93bd49076 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f462ecd27126e6057b31fa38f1f72cef2c4223c9d848515412970714a5bb6d16
|
||||
size 3442619
|
||||
3
NumCpp-2.16.0.tar.gz
Normal file
3
NumCpp-2.16.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a63cf216a1cb5a33c89053a01b1e761fe8e005d2b8e0dcf47cdebd01c4fba9ba
|
||||
size 3815068
|
||||
@@ -1,18 +0,0 @@
|
||||
|
||||
---
|
||||
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)
|
||||
22
NumCpp-pytest-link-python.patch
Normal file
22
NumCpp-pytest-link-python.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
test/pytest/src/CMakeLists.txt | 37 +++++++++++++++++++------------------
|
||||
1 file changed, 19 insertions(+), 18 deletions(-)
|
||||
|
||||
Index: NumCpp-Version_2.16.0/test/pytest/src/CMakeLists.txt
|
||||
===================================================================
|
||||
--- 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
|
||||
- python3-config --ldflags
|
||||
+ python3-config --embed --ldflags
|
||||
OUTPUT_VARIABLE
|
||||
PYTHON_LD_FLAGS
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
+ string(STRIP ${PYTHON_LD_FLAGS} PYTHON_LD_FLAGS)
|
||||
endif()
|
||||
|
||||
target_link_libraries(${TARGET_NAME} PRIVATE
|
||||
@@ -1,3 +1,68 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update to version 2.14.2:
|
||||
* Fix error in ENURollPitchYawToECEFEuler() function.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 6 12:19:45 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 2.14.1:
|
||||
* Make behavior of linalg::lstsq match NumPy when inputting a
|
||||
multidimensional b array [gh#dpilger26/NumCpp#229].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 9 15:05:23 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 2.14.0:
|
||||
* added argpartition() for gh#dpilger26/NumCpp#225.
|
||||
- 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].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 12:39:50 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 2.13.0:
|
||||
* Added putAlongAxis() [gh#dpilger26/NumCpp#217].
|
||||
* Fixed random seeding [gh#dpilger26/NumCpp#218].
|
||||
* Fixed error in fromfile() that limited filesize to 4GB
|
||||
[gh#dpilger26/NumCpp#219].
|
||||
- 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).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 16 09:31:06 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
|
||||
21
NumCpp.spec
21
NumCpp.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package NumCpp
|
||||
#
|
||||
# Copyright (c) 2024 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
|
||||
@@ -16,23 +16,25 @@
|
||||
#
|
||||
|
||||
|
||||
# %%define __builder ninja
|
||||
%define __builder ninja
|
||||
Name: NumCpp
|
||||
Version: 2.12.1
|
||||
Version: 2.16.0
|
||||
Release: 0
|
||||
Summary: C++ implementation of the Python Numpy library
|
||||
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 badshah400@gmail.com -- Disable pytests that are incorrectly setup for pybind11
|
||||
Patch0: NumCpp-disable-pytest.patch
|
||||
# PATCH-FEATURE-OPENSUSE NumCpp-pytest-link-python.patch gh#dpilger26/NumCpp#222 badshah400@gmail.com -- Fix python linking on openSUSE for pytest based tests
|
||||
Patch0: NumCpp-pytest-link-python.patch
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: cmake
|
||||
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
|
||||
@@ -66,10 +70,11 @@ This package provides the header files for compiling code using NumCpp.
|
||||
%build
|
||||
%cmake \
|
||||
-DNUMCPP_USE_MULTITHREAD:BOOL=ON \
|
||||
-DBUILD_TESTS:BOOL=ON \
|
||||
-DBUILD_DOCS:BOOL=ON \
|
||||
-DNUMCPP_INCLUDE_PYBIND_PYTHON_INTERFACE:BOOL=ON \
|
||||
-DNUMCPP_INCLUDE_BOOST_PYTHON_INTERFACE:BOOL=ON \
|
||||
-DBUILD_TESTS:BOOL=ON \
|
||||
-DBUILD_MULTIPLE_TEST:BOOL=ON \
|
||||
-DBUILD_CPPCHECK_TEST:BOOL=ON \
|
||||
-Wno-dev \
|
||||
%{nil}
|
||||
%cmake_build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user