Compare commits
8 Commits
Author | SHA256 | Date | |
---|---|---|---|
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.14.2.tar.gz
Normal file
3
NumCpp-2.14.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9333115f7f8ec9394a1bc49fb6e07a9175e0efbad29c6eba1aff0dab22ba36de
|
||||
size 3740217
|
@@ -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)
|
65
NumCpp-pytest-link-python.patch
Normal file
65
NumCpp-pytest-link-python.patch
Normal file
@@ -0,0 +1,65 @@
|
||||
---
|
||||
test/pytest/src/CMakeLists.txt | 37 +++++++++++++++++++------------------
|
||||
1 file changed, 19 insertions(+), 18 deletions(-)
|
||||
|
||||
Index: NumCpp-Version_2.14.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
|
||||
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,44 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
17
NumCpp.spec
17
NumCpp.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package NumCpp
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,16 +16,16 @@
|
||||
#
|
||||
|
||||
|
||||
# %%define __builder ninja
|
||||
%define __builder ninja
|
||||
Name: NumCpp
|
||||
Version: 2.12.1
|
||||
Version: 2.14.2
|
||||
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
|
||||
@@ -66,10 +66,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