Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2018 07:18:44 +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: r465560 - in head/math: . py-cvxopt
Message-ID:  <201803260718.w2Q7IiNH012192@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Mar 26 07:18:44 2018
New Revision: 465560
URL: https://svnweb.freebsd.org/changeset/ports/465560

Log:
  New port: math/py-cvxopt: Python software for convex optimization

Added:
  head/math/py-cvxopt/
  head/math/py-cvxopt/Makefile   (contents, props changed)
  head/math/py-cvxopt/distinfo   (contents, props changed)
  head/math/py-cvxopt/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Mon Mar 26 06:47:55 2018	(r465559)
+++ head/math/Makefile	Mon Mar 26 07:18:44 2018	(r465560)
@@ -631,6 +631,7 @@
     SUBDIR += py-cdecimal
     SUBDIR += py-colormath
     SUBDIR += py-cryptominisat
+    SUBDIR += py-cvxopt
     SUBDIR += py-fastcluster
     SUBDIR += py-ffc
     SUBDIR += py-fiat

Added: head/math/py-cvxopt/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-cvxopt/Makefile	Mon Mar 26 07:18:44 2018	(r465560)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME=	cvxopt
+DISTVERSION=	1.1.9
+CATEGORIES=	math python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Python software for convex optimization
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libblas.so:math/blas \
+		liblapack.so:math/lapack \
+		libumfpack.so:math/suitesparse
+
+USES=		python
+USE_GITHUB=	yes
+USE_PYTHON=	distutils autoplist
+
+CFLAGS+=	-I${LOCALBASE}/include/suitesparse
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cvxopt/*.so
+	# workaround: empty directory is installed: https://github.com/cvxopt/cvxopt/issues/111
+	@${RMDIR} ${STAGEDIR}${PREFIX}/cvxopt
+	@${REINPLACE_CMD} -e 's|${PREFIX}/cvxopt||' ${_PYTHONPKGLIST}
+
+.include <bsd.port.mk>

Added: head/math/py-cvxopt/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-cvxopt/distinfo	Mon Mar 26 07:18:44 2018	(r465560)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1522033973
+SHA256 (cvxopt-cvxopt-1.1.9_GH0.tar.gz) = 09997fec809179c9bb9fe8cdd202ad6ecb675f890658219022f492e0797122ee
+SIZE (cvxopt-cvxopt-1.1.9_GH0.tar.gz) = 1872932

Added: head/math/py-cvxopt/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-cvxopt/pkg-descr	Mon Mar 26 07:18:44 2018	(r465560)
@@ -0,0 +1,9 @@
+CVXOPT is a free software package for convex optimization based on the Python
+programming language. It can be used with the interactive Python interpreter,
+on the command line by executing Python scripts, or integrated in other software
+via Python extension modules. Its main purpose is to make the development of
+software for convex optimization applications straightforward by building on
+Python's extensive standard library and on the strengths of Python as a
+high-level programming language.
+
+WWW: https://github.com/cvxopt/cvxopt



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