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

This commit is contained in:
Yuri Victorovich 2018-04-01 05:32:21 +00:00
parent 3e16f8dadf
commit 9881ada772
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=466116
4 changed files with 42 additions and 0 deletions

View File

@ -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

31
math/py-cyipopt/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $FreeBSD$
PORTNAME= cyipopt
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.7
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@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>

3
math/py-cyipopt/distinfo Normal file
View File

@ -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

View File

@ -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