git: d3852a90c96b - main - devel/py-toml-fmt-common: Add py-toml-fmt-common 1.0.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Oct 2024 09:56:28 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d3852a90c96b7e6e8a91fd8a55f5d4af575b526a
commit d3852a90c96b7e6e8a91fd8a55f5d4af575b526a
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-22 09:48:23 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-22 09:48:23 +0000
devel/py-toml-fmt-common: Add py-toml-fmt-common 1.0.1
toml-fmt-common contains Python code common to all formatters under the toml-fmt
umbrella (meant to only be used by that project).
---
devel/Makefile | 1 +
devel/py-toml-fmt-common/Makefile | 24 ++++++++++++++++++++++++
devel/py-toml-fmt-common/distinfo | 3 +++
devel/py-toml-fmt-common/pkg-descr | 2 ++
4 files changed, 30 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 782d234e710f..3914ca5fd4d4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5978,6 +5978,7 @@
SUBDIR += py-tinyrpc
SUBDIR += py-tipper
SUBDIR += py-tokenize-rt
+ SUBDIR += py-toml-fmt-common
SUBDIR += py-toolz
SUBDIR += py-tooz
SUBDIR += py-toposort
diff --git a/devel/py-toml-fmt-common/Makefile b/devel/py-toml-fmt-common/Makefile
new file mode 100644
index 000000000000..6676d58859f7
--- /dev/null
+++ b/devel/py-toml-fmt-common/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= toml-fmt-common
+PORTVERSION= 1.0.1
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= toml_fmt_common-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Common logic to the TOML formatter
+WWW= https://github.com/tox-dev/toml-fmt-common
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.4:devel/py-hatch-vcs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatchling>=1.25:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PY_TOMLI}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-toml-fmt-common/distinfo b/devel/py-toml-fmt-common/distinfo
new file mode 100644
index 000000000000..d02d7ef13a6c
--- /dev/null
+++ b/devel/py-toml-fmt-common/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1729509130
+SHA256 (toml_fmt_common-1.0.1.tar.gz) = 7a29e99e527ffac456043296a0f1d8c03aaa1b06167bd39ad5e3cc5041f31c17
+SIZE (toml_fmt_common-1.0.1.tar.gz) = 9626
diff --git a/devel/py-toml-fmt-common/pkg-descr b/devel/py-toml-fmt-common/pkg-descr
new file mode 100644
index 000000000000..1ee98534e288
--- /dev/null
+++ b/devel/py-toml-fmt-common/pkg-descr
@@ -0,0 +1,2 @@
+toml-fmt-common contains Python code common to all formatters under the toml-fmt
+umbrella (meant to only be used by that project).