File: Remove-numpy-detection-by-CMake.patch

package info (click to toggle)
casacore 3.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 51,836 kB
  • sloc: cpp: 466,901; fortran: 16,372; ansic: 7,412; yacc: 4,714; lex: 2,346; sh: 1,839; python: 629; perl: 531; sed: 499; csh: 34; makefile: 32
file content (22 lines) | stat: -rw-r--r-- 782 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Ole Streicher <olebole@debian.org>
Date: Fri, 7 Feb 2025 13:46:31 +0100
Subject: Remove numpy detection by CMake

This detection seems not to work for the moment. Instead, directly
specify the include file in d/rules
---
 python3/CMakeLists-cmake3.14.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python3/CMakeLists-cmake3.14.txt b/python3/CMakeLists-cmake3.14.txt
index 921c4c3..45f7e53 100644
--- a/python3/CMakeLists-cmake3.14.txt
+++ b/python3/CMakeLists-cmake3.14.txt
@@ -1,6 +1,6 @@
 message(STATUS "Looking for python3 specific environment...")
 
-find_package(Python3 REQUIRED COMPONENTS Interpreter Development NumPy)
+find_package(Python3 REQUIRED COMPONENTS Interpreter Development)
 
 if (Python3_FOUND)
     find_package(Boost REQUIRED)