Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2026 10:55:06 +0000
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6c74383361a7 - main - textproc/py-tomllint: Add new port
Message-ID:  <69a2c98a.36a67.31c6ad15@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6c74383361a7fdb461fda13b55d7de9afa37a413

commit 6c74383361a7fdb461fda13b55d7de9afa37a413
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2026-02-28 10:54:00 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2026-02-28 10:54:38 +0000

    textproc/py-tomllint: Add new port
    
    Simple TOML linter. Checks for basic syntactic errors in any TOML file.
    
    https://pypi.org/project/tomllint/
---
 textproc/Makefile              |  1 +
 textproc/py-tomllint/Makefile  | 22 ++++++++++++++++++++++
 textproc/py-tomllint/distinfo  |  3 +++
 textproc/py-tomllint/pkg-descr |  1 +
 4 files changed, 27 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 0b4afa0b0e90..aa4ffa022326 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1718,6 +1718,7 @@
     SUBDIR += py-tomli
     SUBDIR += py-tomli-w
     SUBDIR += py-tomlkit
+    SUBDIR += py-tomllint
     SUBDIR += py-toronado
     SUBDIR += py-towncrier
     SUBDIR += py-translationstring
diff --git a/textproc/py-tomllint/Makefile b/textproc/py-tomllint/Makefile
new file mode 100644
index 000000000000..da578d2c8e4a
--- /dev/null
+++ b/textproc/py-tomllint/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	tomllint
+DISTVERSION=	0.3.2
+CATEGORIES=	textproc python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	nivit@FreeBSD.org
+COMMENT=	Simple TOML linter
+WWW=		https://pypi.org/project/tomllint/
+
+LICENSE=	CC0-1.0
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0_3:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0.46.3_1:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-tomllint/distinfo b/textproc/py-tomllint/distinfo
new file mode 100644
index 000000000000..09a564a0ffda
--- /dev/null
+++ b/textproc/py-tomllint/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1772274828
+SHA256 (tomllint-0.3.2.tar.gz) = 9dd525378654b4f88b55ffb89381823b93e08625f4d037b86a7f7fb3dc82c3b8
+SIZE (tomllint-0.3.2.tar.gz) = 7609
diff --git a/textproc/py-tomllint/pkg-descr b/textproc/py-tomllint/pkg-descr
new file mode 100644
index 000000000000..9fd64923bf70
--- /dev/null
+++ b/textproc/py-tomllint/pkg-descr
@@ -0,0 +1 @@
+A simple TOML linter. Checks for basic syntactic errors in any TOML file.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a2c98a.36a67.31c6ad15>