Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2018 06:08:36 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483370 - head/math/py-cvxopt
Message-ID:  <201810290608.w9T68a0D080456@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Oct 29 06:08:36 2018
New Revision: 483370
URL: https://svnweb.freebsd.org/changeset/ports/483370

Log:
  math/py-cvxopt: Update 1.2.1 -> 1.2.2
  
  Port changes:
  * Add 4 optional dependencies predicated on corresponding port options
  
  Reported by:	portscout

Modified:
  head/math/py-cvxopt/Makefile
  head/math/py-cvxopt/distinfo

Modified: head/math/py-cvxopt/Makefile
==============================================================================
--- head/math/py-cvxopt/Makefile	Mon Oct 29 05:55:51 2018	(r483369)
+++ head/math/py-cvxopt/Makefile	Mon Oct 29 06:08:36 2018	(r483370)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	cvxopt
-DISTVERSION=	1.2.1
+DISTVERSION=	1.2.2
 CATEGORIES=	math python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -15,11 +15,31 @@ LIB_DEPENDS=	libblas.so:math/blas \
 		liblapack.so:math/lapack \
 		libumfpack.so:math/suitesparse
 
-USES=		python
+USES=		python localbase:ldflags
 USE_GITHUB=	yes
 USE_PYTHON=	distutils autoplist
 
 CFLAGS+=	-I${LOCALBASE}/include/suitesparse
+
+OPTIONS_DEFINE=		WITH_GSL WITH_FFTW WITH_GLPK WITH_DSDP
+OPTIONS_DEFAULT=	WITH_GSL WITH_FFTW WITH_GLPK WITH_DSDP
+
+WITH_GSL_DESC=		Build with gsl
+WITH_GSL_MAKE_ENV=	CVXOPT_BUILD_GSL=1
+WITH_GSL_LIB_DEPENDS=	libgsl.so:math/gsl
+
+WITH_FFTW_DESC=		Build with fftw
+WITH_FFTW_MAKE_ENV=	CVXOPT_BUILD_FFTW=1
+WITH_FFTW_LIB_DEPENDS=	libfftw3.so:math/fftw3
+
+WITH_GLPK_DESC=		Build with GLPK
+WITH_GLPK_MAKE_ENV=	CVXOPT_BUILD_GLPK=1
+WITH_GLPK_LIB_DEPENDS=	libglpk.so:math/glpk
+
+WITH_DSDP_DESC=		Build with DSDP
+WITH_DSDP_MAKE_ENV=	CVXOPT_BUILD_DSDP=1
+WITH_DSDP_CFLAGS=	-I${LOCALBASE}/include/dsdp
+WITH_DSDP_LIB_DEPENDS=	libdsdp.so:math/dsdp
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cvxopt/*.so

Modified: head/math/py-cvxopt/distinfo
==============================================================================
--- head/math/py-cvxopt/distinfo	Mon Oct 29 05:55:51 2018	(r483369)
+++ head/math/py-cvxopt/distinfo	Mon Oct 29 06:08:36 2018	(r483370)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1535816757
-SHA256 (cvxopt-cvxopt-1.2.1_GH0.tar.gz) = 9e1ae9b595b204ea06d5d59906ec29249f6fd4172a627d73b9ec8be0ed7bda61
-SIZE (cvxopt-cvxopt-1.2.1_GH0.tar.gz) = 1876938
+TIMESTAMP = 1540787925
+SHA256 (cvxopt-cvxopt-1.2.2_GH0.tar.gz) = 2baa9ce39310136dc40f62ad62a9fb2b3bc99c54947dc7cefdf8bc164b4ef173
+SIZE (cvxopt-cvxopt-1.2.2_GH0.tar.gz) = 1889717



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810290608.w9T68a0D080456>