1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

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

This commit is contained in:
Yuri Victorovich 2018-03-26 07:18:44 +00:00
parent ea91408035
commit 32ef21607a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465560
4 changed files with 43 additions and 0 deletions

View File

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

30
math/py-cvxopt/Makefile Normal file
View File

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

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

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

9
math/py-cvxopt/pkg-descr Normal file
View File

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