Package: cvxopt / 1.1.9+dfsg-3~bpo9+1

use_debian_packaged_libsuitesparse.diff 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
Author: Andreas Tille <tille@debian.org>
Last-Update: Wed, 20 Jul 2016 08:33:05 +0200
Bug-Debian: https://bugs.debian.org/719804
Description: Use Debian packaged libsuitesparse

--- a/setup.py
+++ b/setup.py
@@ -57,7 +57,7 @@ DSDP_INC_DIR = '/usr/include/dsdp'
 
 # Guess SUITESPARSE_LIB_DIR and SUITESPARSE_INC_DIR
 lnx_dist = platform.linux_distribution()
-if lnx_dist[0] == "Ubuntu" and lnx_dist[1] >= "16":
+if lnx_dist[0] == "debian" or ( lnx_dist[0] == "Ubuntu" and lnx_dist[1] >= "16" ):
     # Ubuntu 16.04 or later
     SUITESPARSE_LIB_DIR = "/usr/lib/x86_64-linux-gnu"
     SUITESPARSE_INC_DIR = "/usr/include/suitesparse"
--- a/src/python/info.py
+++ b/src/python/info.py
@@ -19,26 +19,5 @@ GNU General Public License for more deta
 
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-----
-The CVXOPT distribution includes source code for a subset of the 
-SuiteSparse suite of sparse matrix algorithms (version 4.1.0). 
-This includes:
-
-- AMD Version 2.3.1. Copyright (c) 2009-2012 by Timothy A. Davis, 
-  Patrick R.  Amestoy, and Iain S. Duff.
-- CHOLMOD Version 2.1.0 Copyright (c) 2005-2013 by University of Florida,
-  Timothy A. Davis, and W. Hager.
-- COLAMD version 2.8.0.  Copyright (c) 1998-2012 by Timothy A. Davis.
-- UMFPACK Version 5.6.1. Copyright (c) 1995-2012 by Timothy A. Davis.
-
-These packages are licensed under the terms of the GNU General Public 
-License, version 2 or higher (UMFPACK, the Supernodal and MatrixOPs
-modules of CHOLMOD) and the GNU Lesser General Public License, 
-version 2.1 or higher (the other CHOLMOD modules, AMD, COLAMD).  
-For copyright and license details, consult the README files in the source 
-directories or the website listed below.
-
-Availability: www.cise.ufl.edu/research/sparse. 
 """
 )