File: Set-default-library-name-for-libboost-python.patch

package info (click to toggle)
python-casacore 3.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,476 kB
  • sloc: python: 4,839; cpp: 1,499; makefile: 67
file content (22 lines) | stat: -rw-r--r-- 572 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Michael Hudson-Doyle <michael.hudson@ubuntu.com>
Date: Fri, 9 Nov 2018 15:21:29 +1300
Subject: Set default library name for libboost-python

Closes: #914050
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 42932a3..13b0ce3 100755
--- a/setup.py
+++ b/setup.py
@@ -110,7 +110,7 @@ def find_casacore():
 
 def get_extensions():
 
-    boost_python = find_boost()
+    boost_python = 'boost_python%s%s' % (sys.version_info[0], sys.version_info[1])
     casa_python = find_casacore()
 
     extension_metas = (