freebsd-ports/math/py-cma/Makefile
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00

28 lines
615 B
Makefile

# 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:3.6+
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>