From nobody Sun Nov 12 04:49:15 2023 X-Original-To: dev-commits-ports-all@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 4SSg7v5Dkbz513jn; Sun, 12 Nov 2023 04:49:15 +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 4SSg7v3m3Bz3b1R; Sun, 12 Nov 2023 04:49:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699764555; 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=AiQW92BkduLm384tP9+e8fAPxgpTS3zqKA6VrKayNjw=; b=yYlZaGTe4BXq5rgpavkYSmO80d18hjujE0xA8vOw1nLB4vv0/8IF43OQ4m6m5r4SdlukqF nSwRn7S4fQ2HhiRL3/3o397b6BrLx5D7dIxqK8KD8ib107SHqCYJWlgoavh1O6590QJ9kz /tg2ZOLJhhyJfXgH7ppUGS/bNSf2bclOJndCxbBlHTl3nZZWK+ouaMjXPf84Lwu/vV8kyI gTK0vrPTxTqjjr95RYSnlFXj/yb6my3HKUkTU23d8CBbw4JYTpkCWWq2AuLEG3hjzGdklc TkfWATznxyuMpHdCRG01V+urMwHsVtOkbI8xBLf6D9Di5blcbAwnHWaH51t6sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699764555; 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=AiQW92BkduLm384tP9+e8fAPxgpTS3zqKA6VrKayNjw=; b=poFwZ/YkT1E62wKfTe3njpjs3El99UpJHOilIUJlQ5q1al6u5L1a+1Va+AcOHaLKOxI8ub ryNpFtH9FKKxlzV6kMD3pwNS7X8m0jhTSkj5Zy8i1ZqIJm4xJ6OvKKor9IRFGrN7FcB56+ nALu2Mbr5aYb0QvSp28jYjtTmJTFZ+HuLLKwcQFkUCJRkhfNWuFCWihPuZdF3x0J9tam2S Rv3nVnAo8+bhXDSHsXf0hRoKouZwGdoeqBAfcwnOjZsQASgTIRmER347QBeV6d/aZeCysi KXNx4ZJEMczaRYrOXxQJbzIucGLH/sAISEdzEp1yO2u/pIyeAsFboiCAsbe2Ig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699764555; a=rsa-sha256; cv=none; b=QXE4hhGaAEbxJiWC614dNUNMmrKJJCh3azE8MdRvLpU55aB4MUjVLynCdPisVu0CNT1b/o AQYlzNdEsvFEbhQ5km2q5Ko/ny2Xkga+OKoSYZoDrSEhTQzDlxjV8xpZRwmJIsmJ6yZCiA ccqV3DNJlxPMv+8/AhbJZ6OtiscCO6y2BA2ARwmHxe3zbzpfCstrebfD07VT/YrLnY+VqT aT6epb9DoPL5L0kCuFqN3kCOvYlwYQwL+KZmzbvRGnFzKVnWtwIc8XA23TJ99DHRlGUFpd GhK7zgrbISPcc10aXiCeE2G/amG+Ovyl6f9pA3FrArjoie6xjExL4N0y8wyqVQ== 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 4SSg7v2XRqz182G; Sun, 12 Nov 2023 04:49:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AC4nF7o091936; Sun, 12 Nov 2023 04:49:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AC4nFP5091933; Sun, 12 Nov 2023 04:49:15 GMT (envelope-from git) Date: Sun, 12 Nov 2023 04:49:15 GMT Message-Id: <202311120449.3AC4nFP5091933@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: c4a6ac08f562 - main - math/py-Py-BOBYQA: New port: Flexible derivative-free solver for general objective minimization List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c4a6ac08f5623e023e872eca1d96ad88973ebe9c Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=c4a6ac08f5623e023e872eca1d96ad88973ebe9c commit c4a6ac08f5623e023e872eca1d96ad88973ebe9c Author: Yuri Victorovich AuthorDate: 2023-11-12 04:29:05 +0000 Commit: Yuri Victorovich CommitDate: 2023-11-12 04:49:07 +0000 math/py-Py-BOBYQA: New port: Flexible derivative-free solver for general objective minimization --- math/Makefile | 1 + math/py-Py-BOBYQA/Makefile | 21 +++++++++++++++++++++ math/py-Py-BOBYQA/distinfo | 3 +++ math/py-Py-BOBYQA/pkg-descr | 5 +++++ 4 files changed, 30 insertions(+) diff --git a/math/Makefile b/math/Makefile index 06653c0c70fc..bd3acc4964e2 100644 --- a/math/Makefile +++ b/math/Makefile @@ -880,6 +880,7 @@ SUBDIR += py-GridDataFormats SUBDIR += py-MutatorMath SUBDIR += py-PuLP + SUBDIR += py-Py-BOBYQA SUBDIR += py-PyMetis SUBDIR += py-PySCIPOpt SUBDIR += py-PyWavelets diff --git a/math/py-Py-BOBYQA/Makefile b/math/py-Py-BOBYQA/Makefile new file mode 100644 index 000000000000..7962468627e9 --- /dev/null +++ b/math/py-Py-BOBYQA/Makefile @@ -0,0 +1,21 @@ +PORTNAME= Py-BOBYQA +DISTVERSION= 1.4 +CATEGORIES= math python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Flexible derivative-free solver for general objective minimization +WWW= https://numericalalgorithmsgroup.github.io/pybobyqa/build/html/index.html + +LICENSE= GPLv3 + +RUN_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}pandas>=0.17:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=0.17:science/py-scipy@${PY_FLAVOR} + # extras: trustregion + +USES= python +USE_PYTHON= distutils autoplist + +.include diff --git a/math/py-Py-BOBYQA/distinfo b/math/py-Py-BOBYQA/distinfo new file mode 100644 index 000000000000..20cf78f3bc80 --- /dev/null +++ b/math/py-Py-BOBYQA/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1699762548 +SHA256 (Py-BOBYQA-1.4.tar.gz) = 71090cad226e25192c797abd63cdba4c6f1c45114328b1a30619eb541d8e132a +SIZE (Py-BOBYQA-1.4.tar.gz) = 38165 diff --git a/math/py-Py-BOBYQA/pkg-descr b/math/py-Py-BOBYQA/pkg-descr new file mode 100644 index 000000000000..b99998b8907d --- /dev/null +++ b/math/py-Py-BOBYQA/pkg-descr @@ -0,0 +1,5 @@ +Py-BOBYQA is a flexible package for finding local solutions to nonlinear, +nonconvex minimization problems (with optional bound constraints), without +requiring any derivatives of the objective. Py-BOBYQA is a Python implementation +of the BOBYQA solver by Powell (documentation here). It is particularly useful +when evaluations of the objective function are expensive and/or noisy.