New port: math/py-cvxpy: Domain-specific language for modeling convex optimization problems

This commit is contained in:
Yuri Victorovich 2018-11-18 23:04:41 +00:00
parent 6c26a7393d
commit 7c1e2287ca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485288
4 changed files with 38 additions and 0 deletions

View file

@ -692,6 +692,7 @@
SUBDIR += py-colormath
SUBDIR += py-cryptominisat
SUBDIR += py-cvxopt
SUBDIR += py-cvxpy
SUBDIR += py-cyipopt
SUBDIR += py-ecos
SUBDIR += py-fastcluster

29
math/py-cvxpy/Makefile Normal file
View file

@ -0,0 +1,29 @@
# $FreeBSD$
PORTNAME= cvxpy
DISTVERSION= 1.0.10
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Domain-specific language for modeling convex optimization problems
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}ecos>=2:math/py-ecos@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fastcache>0:devel/py-fastcache@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}multiprocess>0:devel/py-multiprocess@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}osqp>0:math/py-osqp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>=0.19:science/py-scipy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scs>=1.1.3:math/py-scs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}toolz>0:devel/py-toolz@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

3
math/py-cvxpy/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1542573041
SHA256 (cvxpy-1.0.10.tar.gz) = bd362f638c661cd532451948892647580d8726d5b70b557cdca3ebb993a23282
SIZE (cvxpy-1.0.10.tar.gz) = 900149

5
math/py-cvxpy/pkg-descr Normal file
View file

@ -0,0 +1,5 @@
CVXPY is a Python-embedded modeling language for convex optimization problems.
It allows you to express your problem in a natural way that follows the math,
rather than in the restrictive standard form required by solvers.
WWW: https://www.cvxpy.org/