aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-cma/Makefile
blob: 614d3fd2825ff7700c4166ac234829358c3b884b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   cma
PORTVERSION=    3.0.3
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}/cma/LICENSE

RUN_DEPENDS=    ${PYNUMPY}

USES=       python
USE_PYTHON= autoplist concurrent distutils

NO_ARCH=    yes

OPTIONS_DEFINE= PLOTTING
PLOTTING_DESC=  Plotting support

PLOTTING_RUN_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR}

.include <bsd.port.mk>