git: 8c6ce7c55e8e - main - devel/py-trailrunner: Add py-trailrunner 1.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 Apr 2024 00:01:16 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c6ce7c55e8ee65794994c00d280b1329e2b6848 commit 8c6ce7c55e8ee65794994c00d280b1329e2b6848 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-04-05 23:56:49 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-04-05 23:56:49 +0000 devel/py-trailrunner: Add py-trailrunner 1.4.0 trailrunner is a simple library for walking paths on the filesystem, and executing functions for each file found. trailrunner obeys project level .gitignore files, and runs functions on a process pool for increased performance. trailrunner is designed for use by linting, formatting, and other developer tools that need to find and operate on all files in project in a predictable fashion with a minimal API. --- devel/Makefile | 1 + devel/py-trailrunner/Makefile | 23 +++++++++++++++++++++++ devel/py-trailrunner/distinfo | 3 +++ devel/py-trailrunner/pkg-descr | 6 ++++++ 4 files changed, 33 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index d234ef48768d..f6d0eab7026d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5772,6 +5772,7 @@ SUBDIR += py-toposort SUBDIR += py-tox SUBDIR += py-traceback2 + SUBDIR += py-trailrunner SUBDIR += py-traitlets SUBDIR += py-traits SUBDIR += py-traittypes diff --git a/devel/py-trailrunner/Makefile b/devel/py-trailrunner/Makefile new file mode 100644 index 000000000000..a626d9394cc4 --- /dev/null +++ b/devel/py-trailrunner/Makefile @@ -0,0 +1,23 @@ +PORTNAME= trailrunner +PORTVERSION= 1.4.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Run things on paths +WWW= https://trailrunner.omnilib.dev/en/stable/ \ + https://github.com/omnilib/trailrunner + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.7<4:devel/py-flit-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pathspec>=0.8.1:devel/py-pathspec@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-trailrunner/distinfo b/devel/py-trailrunner/distinfo new file mode 100644 index 000000000000..b2a8f0a9afc4 --- /dev/null +++ b/devel/py-trailrunner/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1712330559 +SHA256 (trailrunner-1.4.0.tar.gz) = 3fe61e259e6b2e5192f321c265985b7a0dc18497ced62b2da244f08104978398 +SIZE (trailrunner-1.4.0.tar.gz) = 15836 diff --git a/devel/py-trailrunner/pkg-descr b/devel/py-trailrunner/pkg-descr new file mode 100644 index 000000000000..005d3389afcd --- /dev/null +++ b/devel/py-trailrunner/pkg-descr @@ -0,0 +1,6 @@ +trailrunner is a simple library for walking paths on the filesystem, and +executing functions for each file found. trailrunner obeys project level +.gitignore files, and runs functions on a process pool for increased +performance. trailrunner is designed for use by linting, formatting, and other +developer tools that need to find and operate on all files in project in a +predictable fashion with a minimal API.