Package: plplot / 5.15.0+dfsg2-15

Remove-dependency-of-examples-from-python-shared-libs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
From: Ole Streicher <olebole@debian.org>
Date: Tue, 27 Nov 2018 13:50:14 +0100
Subject: Remove dependency of examples from python shared libs

They are there if the packages are installed, and their names change
during package creation.
---
 examples/CMakeLists.txt        | 4 ----
 examples/python/CMakeLists.txt | 2 --
 2 files changed, 6 deletions(-)

diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 548c5a7..ac616be 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1179,8 +1179,6 @@ if(BUILD_TEST)
 	WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/python
 	)
       add_dependencies(test_pyqt5_example
-	PLPLOT::plplot_pyqt5
-	PLPLOT::plplotc
 	${qt_targets}
 	)
     endif(CORE_BUILD)
@@ -1320,8 +1318,6 @@ if(BUILD_TEST)
 	  VERBATIM
 	  )
 	add_dependencies(test_pytkdemo
-	  PLPLOT::plplotc
-	  PLPLOT::Pltk_init
 	  ${TARGET_tclIndex_tcl}
 	  ${xwin_targets}
 	  )
diff --git a/examples/python/CMakeLists.txt b/examples/python/CMakeLists.txt
index 215d527..be4d033 100644
--- a/examples/python/CMakeLists.txt
+++ b/examples/python/CMakeLists.txt
@@ -279,8 +279,6 @@ if(BUILD_TEST)
     )
   if(CORE_BUILD)
     add_dependencies(plplot_logo python_examples PLPLOT::plplotc)
-  else(CORE_BUILD)
-    add_dependencies(plplot_logo PLPLOT::plplotc)
   endif(CORE_BUILD)
 
 endif(BUILD_TEST)