From nobody Mon Jun 24 02:45:06 2024 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 4W6skp3HYFz5PXLQ; Mon, 24 Jun 2024 02:45:06 +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 4W6skp2lSLz42Wb; Mon, 24 Jun 2024 02:45:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719197106; 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=uszXktX5nj1y0gmXsd3QF0QmZPw/fbNnkWWy7ti9R9Q=; b=WptMNzgoUAR+0vsqrfFUwuda/OWUQIRd4VKIyQb6DaN9IZYR8YjKyYQ9Ru5/5b0rjasT2i NB/B+fcOcvpiHkddwua4AxyGasFxZ0O0BycYVW8dhwRgO0asqnuPpSvwOl2hQkxorYSBIg qbvqQPHOuJbc71zm4j/Cz6kUbZbJ/7JX2NjcgkOhk8510U8TR7JSVl+9KxucEkCxrz9k4k 9DAP1tpBeKbifEuQ4bPHhXmVuRezTAe7GevaPC/lQAF8jPRuABMHdix6GJ3lLuMdw1oxfq 7xYrdiFn8JnLuMw+V3HYTLI1H331MM0mB9lu9elBuqmc5m84jn6SpwnUWGXaow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719197106; a=rsa-sha256; cv=none; b=n5WPKgNMsPpY693gWSKzaDbQjYZGNzaEyTqe/aBa3MpdItlR/zPUWbmbFOo9kVsC9JgwEp bu+1MYn2xguOFL8TqspC56wxVfxaNAr3aS6F45h+Vtnaar0c7ljR4dau2FHjObO7iPmtWO I+2AbyCzat8ojQn83ORZ1yvDa4lsPvqDAFLAgHW+K1cKr9YNd2xkWWAFZyEilaQumqWogl CBMPfDDY3zL/iN8U0WwoTk/eQGL6ftqCJJ8JFHNSs/KnvNy5euwJHr1BC6aYmRxRyWPRv5 SljuHyKFBQZa/z3BxfNi8RF3xhWH4tF0iIqXG5SzZVDWepDmQNZbdfBBpsAUhw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719197106; 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=uszXktX5nj1y0gmXsd3QF0QmZPw/fbNnkWWy7ti9R9Q=; b=aZ44W7eXzdiQ5ZVwV7nmlRwiguBA/12habpAm+uVjE7dL7gxNxETmlPC0JpvaSB5BcnFj1 sW71tqQt/nis4YS6pQ89lMSMBEekbrGaIWw3YgHLy61DmJr+k0ehV5eRmVCpCfZy00p44E 4+uL1RlhkFgFgP7pr3A2X/UUzbaBkOwq3IF8bpN8j5wVlYV7MzC8XvDfDrYTNIGbm0zTTX FvZxynDY0nQlVJ70dCzRz3SDFLX9G2xPbsWABwPgC8ysBbtOhz4ODbvynONLx8/vyxYN6O Go5F0sT9Fggbq07yHCYa61xBb4hnP7LSWV6PyHB9JZ7BvFgaeHcF7NfmBW6PWA== 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 4W6skp2Lhlz11M1; Mon, 24 Jun 2024 02:45:06 +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 45O2j656069550; Mon, 24 Jun 2024 02:45:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45O2j6wM069547; Mon, 24 Jun 2024 02:45:06 GMT (envelope-from git) Date: Mon, 24 Jun 2024 02:45:06 GMT Message-Id: <202406240245.45O2j6wM069547@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: 10dfaae369a6 - main - misc/py-optuna: New port: Hyperparameter optimization framework 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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: 10dfaae369a6257f530aa0e2ee0625b12687e980 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=10dfaae369a6257f530aa0e2ee0625b12687e980 commit 10dfaae369a6257f530aa0e2ee0625b12687e980 Author: Yuri Victorovich AuthorDate: 2024-06-24 02:08:34 +0000 Commit: Yuri Victorovich CommitDate: 2024-06-24 02:08:34 +0000 misc/py-optuna: New port: Hyperparameter optimization framework --- misc/Makefile | 1 + misc/py-optuna/Makefile | 36 ++++++++++++++++++++++++++++++++++++ misc/py-optuna/distinfo | 3 +++ misc/py-optuna/pkg-descr | 5 +++++ 4 files changed, 45 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index b4014c5cf184..cdc75b66cada 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -462,6 +462,7 @@ SUBDIR += py-openpaperwork-core SUBDIR += py-openpaperwork-gtk SUBDIR += py-openvdb + SUBDIR += py-optuna SUBDIR += py-orange3-associate SUBDIR += py-orange3-datafusion SUBDIR += py-orange3-educational diff --git a/misc/py-optuna/Makefile b/misc/py-optuna/Makefile new file mode 100644 index 000000000000..937ea459fe3f --- /dev/null +++ b/misc/py-optuna/Makefile @@ -0,0 +1,36 @@ +PORTNAME= optuna +DISTVERSION= 3.6.1 +CATEGORIES= misc # machine-learning +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Hyperparameter optimization framework +WWW= https://optuna.org/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}alembic>=1.5.0:databases/py-alembic@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}colorlog>0:devel/py-colorlog@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=1.3.0:databases/py-sqlalchemy14@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fakeredis>=0:databases/py-fakeredis@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}moto>=0:devel/py-moto@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytorch>=0:misc/py-pytorch@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=1.9.2:science/py-scipy@${PY_FLAVOR} + # tests also depend on Kaleido but it isn't clear how to build it + +USES= python +USE_PYTHON= pep517 concurrent autoplist pytest + +NO_ARCH= yes + +.include diff --git a/misc/py-optuna/distinfo b/misc/py-optuna/distinfo new file mode 100644 index 000000000000..ad21e8f1a05b --- /dev/null +++ b/misc/py-optuna/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1719076429 +SHA256 (optuna-3.6.1.tar.gz) = 146e530b57b4b9afd7526b3e642fbe65491f7e292b405913355f8e438e361ecf +SIZE (optuna-3.6.1.tar.gz) = 292748 diff --git a/misc/py-optuna/pkg-descr b/misc/py-optuna/pkg-descr new file mode 100644 index 000000000000..72844f8aada3 --- /dev/null +++ b/misc/py-optuna/pkg-descr @@ -0,0 +1,5 @@ +Optuna is an automatic hyperparameter optimization software framework, +particularly designed for machine learning. It features an imperative, +define-by-run style user API. Thanks to our define-by-run API, the code written +with Optuna enjoys high modularity, and the user of Optuna can dynamically +construct the search spaces for the hyperparameters.