Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jan 2021 10:03:13 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559820 - in head/math: . py-cmaes py-cmaes/files
Message-ID:  <202101011003.101A3DmL094431@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri Jan  1 10:03:13 2021
New Revision: 559820
URL: https://svnweb.freebsd.org/changeset/ports/559820

Log:
  New port: math/py-cmaes: Lightweight CMA Evolution Strategy implementation for Python
  
  CMA-ES is a Lightweight Covariance Matrix Adaptation Evolution Strategy
  (CMA-ES) implementation.
  
  WWW: https://pypi.org/project/cmaes/
  
  PR:		252150
  Submitted by:	Neel Chauhan <neel@neelc.org>

Added:
  head/math/py-cmaes/
  head/math/py-cmaes/Makefile   (contents, props changed)
  head/math/py-cmaes/distinfo   (contents, props changed)
  head/math/py-cmaes/files/
  head/math/py-cmaes/files/pkg-message.in   (contents, props changed)
  head/math/py-cmaes/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Fri Jan  1 10:00:12 2021	(r559819)
+++ head/math/Makefile	Fri Jan  1 10:03:13 2021	(r559820)
@@ -746,6 +746,7 @@
     SUBDIR += py-chaospy
     SUBDIR += py-claripy
     SUBDIR += py-cma
+    SUBDIR += py-cmaes
     SUBDIR += py-colormath
     SUBDIR += py-cryptominisat
     SUBDIR += py-cvxopt

Added: head/math/py-cmaes/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-cmaes/Makefile	Fri Jan  1 10:03:13 2021	(r559820)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	cmaes
+DISTVERSION=	0.7.0
+CATEGORIES=	math # machine-learning
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	neel@neelc.org
+COMMENT=	Lightweight CMA Evolution Strategy implementation for Python
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
+		${PYNUMPY}
+BUILD_DEPENDS=	${RUN_DEPENDS}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+SUB_FILES=	pkg-message
+
+.include <bsd.port.mk>

Added: head/math/py-cmaes/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-cmaes/distinfo	Fri Jan  1 10:03:13 2021	(r559820)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1608950893
+SHA256 (cmaes-0.7.0.tar.gz) = 6e5cba9f758fc02fee492d4d1e37ec2165408d5d89f422f5d963741d62af78d4
+SIZE (cmaes-0.7.0.tar.gz) = 13247

Added: head/math/py-cmaes/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-cmaes/files/pkg-message.in	Fri Jan  1 10:03:13 2021	(r559820)
@@ -0,0 +1,9 @@
+[
+{ type: install
+  message: <<EOM
+There is no Tensorflow port currently in FreeBSD ports tree that is required
+by Keras by default. To make Keras work with Theano backend, one needs to modify
+theirs $HOME/.keras/keras.json file and set "backend" option to "theano".
+EOM
+}
+]

Added: head/math/py-cmaes/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-cmaes/pkg-descr	Fri Jan  1 10:03:13 2021	(r559820)
@@ -0,0 +1,4 @@
+CMA-ES is a Lightweight Covariance Matrix Adaptation Evolution Strategy
+(CMA-ES) implementation.
+
+WWW: https://pypi.org/project/cmaes/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101011003.101A3DmL094431>