svn commit: r466116 - in head/math: . py-cyipopt

Yuri Victorovich yuri at FreeBSD.org
Sun Apr 1 05:32:23 UTC 2018


Author: yuri
Date: Sun Apr  1 05:32:21 2018
New Revision: 466116
URL: https://svnweb.freebsd.org/changeset/ports/466116

Log:
  New port: math/py-cyipopt: Cython interface for the interior point optimizer IPOPT

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

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Sun Apr  1 04:58:18 2018	(r466115)
+++ head/math/Makefile	Sun Apr  1 05:32:21 2018	(r466116)
@@ -637,6 +637,7 @@
     SUBDIR += py-colormath
     SUBDIR += py-cryptominisat
     SUBDIR += py-cvxopt
+    SUBDIR += py-cyipopt
     SUBDIR += py-fastcluster
     SUBDIR += py-ffc
     SUBDIR += py-fiat

Added: head/math/py-cyipopt/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-cyipopt/Makefile	Sun Apr  1 05:32:21 2018	(r466116)
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME=	cyipopt
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.1.7
+CATEGORIES=	math python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	Cython interface for the interior point optimizer IPOPT
+
+LICENSE=	EPL
+
+BUILD_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR}
+LIB_DEPENDS=	libblas.so:math/blas \
+		libcoinmetis.so:math/ipopt \
+		liblapack.so:math/lapack
+RUN_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${FLAVOR}
+
+USES=		fortran python pkgconfig # fortran because ipopt's pkg-config returns gcc libs
+USE_GITHUB=	yes
+GH_ACCOUNT=	matthias-k
+USE_PYTHON=	distutils cython autoplist
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}.so
+
+.include <bsd.port.mk>

Added: head/math/py-cyipopt/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-cyipopt/distinfo	Sun Apr  1 05:32:21 2018	(r466116)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1522559375
+SHA256 (matthias-k-cyipopt-v0.1.7_GH0.tar.gz) = e62d4265743078c60f0af1426218310a9fbc1b6d0d0e60879e172d569dd3343d
+SIZE (matthias-k-cyipopt-v0.1.7_GH0.tar.gz) = 40782

Added: head/math/py-cyipopt/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-cyipopt/pkg-descr	Sun Apr  1 05:32:21 2018	(r466116)
@@ -0,0 +1,7 @@
+Ipopt (Interior Point OPTimizer, pronounced eye-pea-Opt) is a software package
+for large-scale nonlinear optimization.
+
+cyipopt is a python wrapper around Ipopt. It enables using Ipopt from the
+comfort of the great Python scripting language.
+
+WWW: https://github.com/matthias-k/cyipopt


More information about the svn-ports-head mailing list