BSD Ports

textproc/py-wcmatch 11.0.1 NetBSD

Wildcard/glob file name matcher

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
cde1031e35
License
mit
Categories
textproc, python
Package size
92.5 KiB, 533.2 KiB installed

Description

Wildcard Match provides an enhanced fnmatch, glob, and pathlib library in order to provide file matching and globbing that more closely follows the features found in Bash. In some ways these libraries are similar to Python's builtin libraries as they provide a similar interface to match, filter, and glob the file system. But they also include a number of features found in Bash's globbing such as backslash escaping, brace expansion, extended glob pattern groups, etc. They also add a number of new useful functions as well, such as globmatch which functions like fnmatch, but for paths.

In the other systems

SystemPortVersion
NetBSDtextproc/py-wcmatch11.0.1
FreeBSDtextproc/py-wcmatch11.1
DragonFlytextproc/py-wcmatch8.5.2
MidnightBSDtextproc/py-wcmatch8.3_1
HardenedBSDtextproc/py-wcmatch11.0.1
GhostBSDtextproc/py-wcmatch11.0.1

Install

Binary package:

pkgin install py311-wcmatch

From pkgsrc:

cd /usr/pkgsrc/textproc/py-wcmatch && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_6411.0.1
NetBSD 10.1 aarch6410.1
SmartOS / illumos x86_6411.1
macOS 15 arm6411.1

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
py312-wcmatch-11.0.1, py313-wcmatch-11.0.1, py314-wcmatch-11.0.1

Commit history 5

DateCommitCreditsLog message
cde1031e35 adam py-wcmatch: updated to 11.2
11.2 - **NEW**: Drop support for Python 3.10. - **FIX**: Require `bracex` 3.2 for various bug fixes. - **FIX**: Filter filename iterables without evaluating their "truthiness", allowing collections such as `numpy` arrays (@Lushiyao5). - **FIX**: Improve performance when multiple `*` are used for file name matching. Performance is only improved in cases where variable length `EXTGLOB` patterns would not interfere with matching. Issue found by (@gistrec). - **FIX**: Apply one pattern limit to includes and exclusions when scanning with `glob` and `iglob`, and preserve unlimited expansion across multiple patterns with negative limits. - **FIX**: Use the documented default limit of 1000 patterns in `WcMatch` instead of 32. …
84e2a10819 adam py-wcmatch: updated to 11.1
11.1 - **NEW**: Add support for Python 3.15. - **FIX**: Fix `WindowsPath` subclass construction on Python 3.12+ - **FIX**: Fix symlink prefixes for multiple `GLOBSTAR` captures
0a0309c4e6 adam py-wcmatch: updated to 11.0.1
11.0.1 - **DOCS**: Provide information in documentation that discloses information about what should or should not be expected from Wildcard Match in regards to security, and provide general information to allow users to make good decisions. - **FIX**: Fix an issue where in some cases dot handling was not correct within an extended glob pattern when `EXTGLOB`/`EXTMATCH` was enabled.
d1e938baa0 adam py-wcmatch: updated to 11.0
11.0 - **NEW**: Reduce/combine nested `EXTGLOB`/`EXTMATCH` regular expression patterns when possible to reduce deeply nested patterns. - **NEW**: Added ZSH style numerical ranges (`<0-9>`) via new `NUMRANGE` flag. - **BREAK**: Previously, translation would have a capture group for every extended glob pattern when `EXTGLOB`/`EXTMATCH` was enabled. Due to the new feature added that reduces extended glob group nesting, groups no longer appear exactly as specified. Moving forward, capturing groups are not included by default. If you need the old behavior, it can be enabled in a `translate()` call via the `CAPTURE` flag. This flag will cause extended glob reduction to be turned off and for capturing groups to be enabled. …
182ae738eb adam py-wcmatch: updated to 10.2.1
10.2.1 - **FIX**: Properly update project requirements to ensure usage of `bracex` 3.0.