git: b4de90a0c47f - main - devel/py-fiddle: Add py-fiddle 0.3.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Oct 2024 11:21:31 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b4de90a0c47fea62c07b66ce37d3f2f2cd21a107 commit b4de90a0c47fea62c07b66ce37d3f2f2cd21a107 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-10-25 11:17:06 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-10-25 11:17:06 +0000 devel/py-fiddle: Add py-fiddle 0.3.0 Fiddle is a Python-first configuration library particularly well suited to ML applications. Fiddle enables deep configurability of parameters in a program, while allowing configuration to be expressed in readable and maintainable Python code. --- devel/Makefile | 1 + devel/py-fiddle/Makefile | 27 +++++++++++++++++++++++++++ devel/py-fiddle/distinfo | 3 +++ devel/py-fiddle/pkg-descr | 4 ++++ 4 files changed, 35 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 12f94efbd6d6..f5ca4eb10713 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4839,6 +4839,7 @@ SUBDIR += py-fastnumbers SUBDIR += py-fastprogress SUBDIR += py-fbprophet + SUBDIR += py-fiddle SUBDIR += py-fields SUBDIR += py-filebytes SUBDIR += py-filedepot diff --git a/devel/py-fiddle/Makefile b/devel/py-fiddle/Makefile new file mode 100644 index 000000000000..52bc192194c0 --- /dev/null +++ b/devel/py-fiddle/Makefile @@ -0,0 +1,27 @@ +PORTNAME= fiddle +PORTVERSION= 0.3.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python-first configuration library +WWW= https://fiddle.readthedocs.io/en/latest/ \ + https://github.com/google/fiddle + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}absl-py>=0:devel/py-absl-py@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}graphviz>=0:graphics/py-graphviz@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}libcst>=0:devel/py-libcst@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-fiddle/distinfo b/devel/py-fiddle/distinfo new file mode 100644 index 000000000000..a8710a584995 --- /dev/null +++ b/devel/py-fiddle/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1729653330 +SHA256 (fiddle-0.3.0.tar.gz) = 5d083d3299a479868345513385a6c5546141bd92086c15d3dcbf8008a90075d3 +SIZE (fiddle-0.3.0.tar.gz) = 277884 diff --git a/devel/py-fiddle/pkg-descr b/devel/py-fiddle/pkg-descr new file mode 100644 index 000000000000..9c2cf9999529 --- /dev/null +++ b/devel/py-fiddle/pkg-descr @@ -0,0 +1,4 @@ +Fiddle is a Python-first configuration library particularly well suited to ML +applications. Fiddle enables deep configurability of parameters in a program, +while allowing configuration to be expressed in readable and maintainable Python +code.