From nobody Tue Apr 18 18:08:11 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q1Bjm18kcz45RZx; Tue, 18 Apr 2023 18:08:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q1Bjl6pcsz4DNp; Tue, 18 Apr 2023 18:08:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681841292; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bq0TpAqj8z/YrcojPBwiho41WuwgFXhXMo2QJX6fJP0=; b=bSjvSaC9nCfNjOKh+YiAFOeFku6J276X1LXZWlTFDX+HdbYMxfeTaKX/nedc8J1D2/FBcj HLwA+5FvftHxHacrbgAYdmIEjjHQkhS0Jy9Kemqm6EvFzce71h5dPYNWJB1ieEEFlMDzFt PgDJjfiSUoiwjbcjxrCK+o0P7MFCZv1ZL2aJwRrvzeP5R7hBWFcx8hKyeT3waFb9pmEdmA 7XqJ9BvkG8Yl5AedsSnJv44C78PfJE/DTQs0np2eJ6ZfSzSSqb8miDTYbAe6mTpJXxrk8Y jZCJHmpu+46gZbksQkTj1uJbOYBQ6He4Ewh8skQJ2B7XYFd0oAtHVsjaCgZfpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681841292; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bq0TpAqj8z/YrcojPBwiho41WuwgFXhXMo2QJX6fJP0=; b=VbASsjxF4AF1nKHgx7mKseSFeHKNiKS50jR+jE3L+84b3Rpc54g6DqPiDKZy+bls0ARJNX T93BjzOI/bFwlN8zU+28aGnRDLPzYQVT9BlnCutkn03vE8ET9w1LppU7E5o3k8eGVOTsQl YYTOTS+x2Y9az+QG/Rd/HfzriKIL9MJrvJ9ajko+gUwThIQgQLHPLRrUYhEFF/yS+X27Xy KKe4LHPXOC93aRXmn/855056mZJyMFy0dKNxlxhhgl1W3YfO4V+v80vWjhPmSQWsrcRIry yxz6NfJW0T+cM/5K2aesCUJN10BbahLxPAvyC+bPhgBqkjAe1FxgwdPEIrtIXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681841292; a=rsa-sha256; cv=none; b=Rpqpxi3SisVMxn5Fx7sZ63KxHZ5RxwD54x8ysrXXacMXC5WGzJy8C9u/bpBV7meY3YEUn0 5s4zHtZcLT6Zdi8Aa4wBEzPR7ooM/6bwNSlQ0QSQ2YY79NvZ0274AXvmDL9iPxvhX3VZsj hhK0RWYxAaUW9JPJQ4IOfoFsIwLK/oYtdmNGwSIAs+SOQHHzEE+nbQGWrA8p4aUd4qThdk Pf9wwYf+zgaWYIuIZ4RxwJpMpsIN9Y1+3doeFFwm/o/T2DYgW50/PKTMpJrZDVKtcU7p2N IhrKbroe2Lac7zdKQtW6wfl2qMfAc0XQP0bGX/FjrnLgoUFaJWKp1ZpPa/JdmQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q1Bjl4zW5zMXc; Tue, 18 Apr 2023 18:08:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33II8BrW078414; Tue, 18 Apr 2023 18:08:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33II8BIL078413; Tue, 18 Apr 2023 18:08:11 GMT (envelope-from git) Date: Tue, 18 Apr 2023 18:08:11 GMT Message-Id: <202304181808.33II8BIL078413@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 6aed6e90482e - main - devel/py-mystic: Add py-mystic 0.4.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6aed6e90482ef4198bf509c154b1c33b4c2932b9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6aed6e90482ef4198bf509c154b1c33b4c2932b9 commit 6aed6e90482ef4198bf509c154b1c33b4c2932b9 Author: Po-Chuan Hsieh AuthorDate: 2023-04-18 17:51:35 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-04-18 18:00:41 +0000 devel/py-mystic: Add py-mystic 0.4.0 The mystic framework provides a collection of optimization algorithms and tools that allows the user to more robustly (and easily) solve hard optimization problems. All optimization algorithms included in mystic provide workflow at the fitting layer, not just access to the algorithms as function calls. mystic gives the user fine-grained power to both monitor and steer optimizations as the fit processes are running. Optimizers can advance one iteration with Step, or run to completion with Solve. Users can customize optimizer stop conditions, where both compound and user-provided conditions may be used. Optimizers can save state, can be reconfigured dynamically, and can be restarted from a saved solver or from a results file. All solvers can also leverage parallel computing, either within each iteration or as an ensemble of solvers. --- devel/Makefile | 1 + devel/py-mystic/Makefile | 27 +++++++++++++++++++++++++++ devel/py-mystic/distinfo | 3 +++ devel/py-mystic/pkg-descr | 11 +++++++++++ 4 files changed, 42 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 921fb473867e..3041613f3668 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4939,6 +4939,7 @@ SUBDIR += py-mypy-boto3-s3 SUBDIR += py-mypy-protobuf SUBDIR += py-mypy_extensions + SUBDIR += py-mystic SUBDIR += py-naiveBayesClassifier SUBDIR += py-nanotime SUBDIR += py-natsort diff --git a/devel/py-mystic/Makefile b/devel/py-mystic/Makefile new file mode 100644 index 000000000000..c029b6a9ed9a --- /dev/null +++ b/devel/py-mystic/Makefile @@ -0,0 +1,27 @@ +PORTNAME= mystic +PORTVERSION= 0.4.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Highly-constrained non-convex optimization and uncertainty quantification +WWW= https://github.com/uqfoundation/mystic + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dill>=0.3.6:devel/py-dill@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}klepto>=0.2.3:devel/py-klepto@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mpmath>=0.19:math/py-mpmath@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=1.0,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sympy>=0.6.7:math/py-sympy@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent cython pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-mystic/distinfo b/devel/py-mystic/distinfo new file mode 100644 index 000000000000..84eec4c609fb --- /dev/null +++ b/devel/py-mystic/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1681052886 +SHA256 (mystic-0.4.0.tar.gz) = 04027c856f776b1724b18deab9dd222f0602c20b54dbaadbff7a255006cfadce +SIZE (mystic-0.4.0.tar.gz) = 556775 diff --git a/devel/py-mystic/pkg-descr b/devel/py-mystic/pkg-descr new file mode 100644 index 000000000000..606c10e85719 --- /dev/null +++ b/devel/py-mystic/pkg-descr @@ -0,0 +1,11 @@ +The mystic framework provides a collection of optimization algorithms and tools +that allows the user to more robustly (and easily) solve hard optimization +problems. All optimization algorithms included in mystic provide workflow at the +fitting layer, not just access to the algorithms as function calls. mystic gives +the user fine-grained power to both monitor and steer optimizations as the fit +processes are running. Optimizers can advance one iteration with Step, or run to +completion with Solve. Users can customize optimizer stop conditions, where both +compound and user-provided conditions may be used. Optimizers can save state, +can be reconfigured dynamically, and can be restarted from a saved solver or +from a results file. All solvers can also leverage parallel computing, either +within each iteration or as an ensemble of solvers.