From bde795881fddbfdb05256917237ec01ffebd5bf4 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Thu, 17 Jan 2019 19:21:19 +0000 Subject: [PATCH] Add py-cma 2.6.0 pycma is a Python implementation of CMA-ES and a few related numerical optimization tools. The Covariance Matrix Adaptation Evolution Strategy (CMA-ES) is a stochastic derivative-free numerical optimization algorithm for difficult (non-convex, ill-conditioned, multi-modal, rugged, noisy) optimization problems in continuous search spaces. WWW: https://github.com/CMA-ES/pycma --- math/Makefile | 1 + math/py-cma/Makefile | 23 +++++++++++++++++++++++ math/py-cma/distinfo | 3 +++ math/py-cma/pkg-descr | 9 +++++++++ 4 files changed, 36 insertions(+) create mode 100644 math/py-cma/Makefile create mode 100644 math/py-cma/distinfo create mode 100644 math/py-cma/pkg-descr diff --git a/math/Makefile b/math/Makefile index c0ff9ebd341c..66aa45722c42 100644 --- a/math/Makefile +++ b/math/Makefile @@ -692,6 +692,7 @@ SUBDIR += py-bottleneck SUBDIR += py-cdecimal SUBDIR += py-chaospy + SUBDIR += py-cma SUBDIR += py-colormath SUBDIR += py-cryptominisat SUBDIR += py-cvxopt diff --git a/math/py-cma/Makefile b/math/py-cma/Makefile new file mode 100644 index 000000000000..97110eadd4f8 --- /dev/null +++ b/math/py-cma/Makefile @@ -0,0 +1,23 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= cma +PORTVERSION= 2.6.0 +CATEGORIES= math python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= CMA-ES for non-linear numerical optimization in Python + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0:math/py-numpy@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/math/py-cma/distinfo b/math/py-cma/distinfo new file mode 100644 index 000000000000..2b0e45441f18 --- /dev/null +++ b/math/py-cma/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1547723709 +SHA256 (cma-2.6.0.tar.gz) = ef9e21fd821485518341fe1b96be4d127f8b78e60aeb6a286d602dc98f25eab6 +SIZE (cma-2.6.0.tar.gz) = 213116 diff --git a/math/py-cma/pkg-descr b/math/py-cma/pkg-descr new file mode 100644 index 000000000000..15f9f9e77b10 --- /dev/null +++ b/math/py-cma/pkg-descr @@ -0,0 +1,9 @@ +pycma is a Python implementation of CMA-ES and a few related numerical +optimization tools. + +The Covariance Matrix Adaptation Evolution Strategy (CMA-ES) is a stochastic +derivative-free numerical optimization algorithm for difficult (non-convex, +ill-conditioned, multi-modal, rugged, noisy) optimization problems in continuous +search spaces. + +WWW: https://github.com/CMA-ES/pycma