Skip to content

Commit

Permalink
devel/py-trailrunner: Add py-trailrunner 1.4.0
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sunpoet committed Apr 5, 2024
1 parent 431bfb2 commit 8c6ce7c
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 23 additions & 0 deletions devel/py-trailrunner/Makefile
Original file line number Diff line number Diff line change
@@ -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>
3 changes: 3 additions & 0 deletions devel/py-trailrunner/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1712330559
SHA256 (trailrunner-1.4.0.tar.gz) = 3fe61e259e6b2e5192f321c265985b7a0dc18497ced62b2da244f08104978398
SIZE (trailrunner-1.4.0.tar.gz) = 15836
6 changes: 6 additions & 0 deletions devel/py-trailrunner/pkg-descr
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 8c6ce7c

Please sign in to comment.