Description: Fix for Boost python library namechange with python3.7
Author: Michael Hudson-Doyle <michael.hudson@ubuntu.com>
Last-Updated: 2018-11-20
Bug-Origin: https://bugs.debian.org/914141
Forwarded: no

Index: python-escript-5.2/scons/templates/sid_options.py
===================================================================
--- python-escript-5.2.orig/scons/templates/sid_options.py
+++ python-escript-5.2/scons/templates/sid_options.py
@@ -1,4 +1,3 @@
-
 ##############################################################################
 #
 # Copyright (c) 2003-2018 by The University of Queensland
@@ -48,8 +47,8 @@ p3name = ''
 for name in spath:
   try:
     l=os.listdir(name)
-    p2res=[x for x in l if x.startswith('libboost_python-py2') and x.endswith('.so')]
-    p3res=[x for x in l if x.startswith('libboost_python-py3') and x.endswith('.so')]
+    p2res=[x for x in l if x.startswith('libboost_python2') and x.endswith('.so')]
+    p3res=[x for x in l if x.startswith('libboost_python3') and x.endswith('.so')]
     if len(p2name)==0 and len(p2res)>0:
       p2name=p2res[-1]
     if len(p3name)==0 and len(p3res)>0:
