Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/py-scantree: New port: flexible recursive directory iterator
Recursive directory iterator supporting: - flexible filtering including wildcard path matching - in memory representation of file-tree (for repeated access) - efficient access to directory entry properties (posix.DirEntry interface) extended with real path and path relative to the recursion root directory - detection and handling of cyclic symlinks
- Loading branch information
Showing
4 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
PORTNAME= scantree | ||
DISTVERSION= 0.0.1 | ||
CATEGORIES= devel python | ||
MASTER_SITES= PYPI | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||
|
||
MAINTAINER= acm@FreeBSD.org | ||
COMMENT= flexible recursive directory iterator | ||
WWW= https://github.com/andhus/scantree | ||
|
||
LICENSE= MIT | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>0:devel/py-attrs@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}scandir>0:sysutils/py-scandir@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}pathlib2>0:devel/py-pathlib2@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}pathspec>0:devel/py-pathspec@${PY_FLAVOR} | ||
|
||
USES= python:3.7+ | ||
USE_PYTHON= autoplist distutils | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1681956449 | ||
SHA256 (scantree-0.0.1.tar.gz) = 2a8b163de0e4b2f9e4f37f8caf3f0b265172bbf174111e1bebc7955581895b39 | ||
SIZE (scantree-0.0.1.tar.gz) = 13449 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Recursive directory iterator supporting: | ||
|
||
- flexible filtering including wildcard path matching | ||
- in memory representation of file-tree (for repeated access) | ||
- efficient access to directory entry properties (posix.DirEntry interface) | ||
extended with real path and path relative to the recursion root directory | ||
- detection and handling of cyclic symlinks |