diff --git a/srcpkgs/python3-cvxopt/patches/fix-gsl.patch b/srcpkgs/python3-cvxopt/patches/fix-gsl.patch new file mode 100644 index 00000000000..e32dc2fbf1e --- /dev/null +++ b/srcpkgs/python3-cvxopt/patches/fix-gsl.patch @@ -0,0 +1,11 @@ +--- a/setup.py 2022-03-07 18:58:58.000000000 -0300 ++++ b/setup.py 2022-04-14 22:25:18.860887901 -0300 +@@ -129,7 +129,7 @@ + # optional modules + + if BUILD_GSL: +- gsl = Extension('gsl', libraries = M_LIB + ['gsl'] + BLAS_LIB, ++ gsl = Extension('gsl', libraries = M_LIB + ['gsl', 'gslcblas'], + include_dirs = [ GSL_INC_DIR ], + library_dirs = [ GSL_LIB_DIR, BLAS_LIB_DIR ], + define_macros = GSL_MACROS, diff --git a/srcpkgs/python3-cvxopt/template b/srcpkgs/python3-cvxopt/template index 0fb769b294e..d89abbcafa5 100644 --- a/srcpkgs/python3-cvxopt/template +++ b/srcpkgs/python3-cvxopt/template @@ -1,20 +1,22 @@ # Template file for 'python3-cvxopt' pkgname=python3-cvxopt -version=1.2.7 +version=1.3.0 revision=1 wrksrc="cvxopt-${version}" build_style=python3-module hostmakedepends="python3-setuptools" -makedepends="python3-devel blas-devel lapack-devel SuiteSparse-devel gsl-devel glpk-devel" +makedepends="python3-devel blas-devel lapack-devel SuiteSparse-devel gsl-devel + glpk-devel fftw-devel" checkdepends="python3-pytest" short_desc="Python software for convex optimization" maintainer="Gonzalo TornarĂ­a " license="GPL-3.0-or-later" homepage="http://cvxopt.org/" distfiles="${PYPI_SITE}/c/cvxopt/cvxopt-${version}.tar.gz" -checksum=3f9db1f4d4e820aaea81d6fc21054c89dc6327c84f935dd5a1eda1af11e1d504 +checksum=00b1b232f9d1f902d578a9d75814b67fa020758d5ae422e28ca8cef6269fa5c6 pre_build() { export CVXOPT_BUILD_GSL=1 export CVXOPT_BUILD_GLPK=1 + export CVXOPT_BUILD_FFTW=1 }