The NetBSD Project

CVS log for pkgsrc/devel/py-pathspec/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-pathspec

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 12 13:44:59 2022 UTC (7 weeks, 2 days ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

py-pathspec: updated to 0.10.3

0.10.3 (2022-12-09)
-------------------

New features:
- Added utility function `pathspec.util.append_dir_sep()` to aid in distinguishing between directories and files on the file-system.

Bug fixes:
- Package not marked as py.typed.
- Exports are considered private.
- 'Self' string literal type is Unknown in pyright.

Improvements:
- Checking directories via match_file() does not work on Path objects.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Nov 13 12:30:44 2022 UTC (2 months, 2 weeks ago) by adam
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

py-pathspec: updated to 0.10.2

0.10.2 (2022-11-12)
-------------------
Bug fixes:
- Fix failing tests on Windows.
- Type hint on *root* parameter on `pathspec.pathspec.PathSpec.match_tree_entries()`.
- Type hint on *root* parameter on `pathspec.pathspec.PathSpec.match_tree_files()`.
- Type hint on *root* parameter on `pathspec.util.iter_tree_entries()`.
- Type hint on *root* parameter on `pathspec.util.iter_tree_files()`.
- IndexError with my .gitignore file when trying to build a Python package.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Sep 14 10:31:36 2022 UTC (4 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.11: +4 -3 lines
Diff to previous 1.11 (colored)

py-pathspec: updated to 0.10.1

0.10.1 (2022-09-02)
-------------------

Bug fixes:

- Fix documentation on `pathspec.pattern.RegexPattern.match_file()`.
- Remove redundant wheel dep from pyproject.toml.
- Dist failure for Fedora, CentOS, EPEL.
- Since version 0.10.0 pure wildcard does not work in some cases.

Improvements:

- Restore support for legacy installations using `setup.py`.


0.10.0 (2022-08-30)
-------------------

Major changes:

- Dropped support of EOL Python 2.7, 3.5, 3.6.
- The *gitwildmatch* pattern `dir/*` is now handled the same as `dir/`. This means `dir/*` will now match all descendants rather than only direct children.
- Added `pathspec.GitIgnoreSpec` class (see new features).
- Changed build system to `pyproject.toml`_ and build backend to `setuptools.build_meta`_ which may have unforeseen consequences.
- Renamed GitHub project from `python-path-specification`_ to `python-pathspec`_.

API changes:

- Deprecated: `pathspec.util.match_files()` is an old function no longer used.
- Deprecated: `pathspec.match_files()` is an old function no longer used.
- Deprecated: `pathspec.util.normalize_files()` is no longer used.
- Deprecated: `pathspec.util.iter_tree()` is an alias for `pathspec.util.iter_tree_files()`.
- Deprecated: `pathspec.iter_tree()` is an alias for `pathspec.util.iter_tree_files()`.
- Deprecated: `pathspec.pattern.Pattern.match()` is no longer used. Use or implement
  `pathspec.pattern.Pattern.match_file()`.

New features:

- Added class `pathspec.gitignore.GitIgnoreSpec` (with alias `pathspec.GitIgnoreSpec`) to implement *gitignore* behavior not possible with standard `PathSpec` class. The particular *gitignore* behavior implemented is prioritizing patterns matching the file directly over matching an ancestor directory.

Bug fixes:

- Files inside an ignored sub-directory are not matched.
- Incorrectly (?) matches files inside directories that do match.
- Refactor deprecated unittest aliases for Python 3.11 compatibility.
- Symlink pathspec_meta.py breaks Windows.
- test_util.py uses os.symlink which can fail on Windows.
- Backslashes at start of pattern not handled correctly.
- pyproject.toml: include subpackages in setuptools config
- `!` doesn't exclude files in directories if the pattern doesn't have a trailing slash.

Improvements:

- Support Python 3.10, 3.11.
- Modernize code to Python 3.7.
- match_files() is not a pure generator function, and it impacts tree_*() gravely.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jan 4 20:53:20 2022 UTC (12 months, 4 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jul 19 19:50:10 2021 UTC (18 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

py-pathspec: updated to 0.9.0

0.9.0

Raise GitWildMatchPatternError for invalid git patterns.
Fix for duplicate leading double-asterisk, and edge cases.
Fix matching absolute paths.
API change: util.normalize_files() now returns a Dict[str, List[pathlike]] instead of a Dict[str, pathlike].
Added type hinting.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 9 09:30:02 2020 UTC (2 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

py-pathspec: updated to 0.8.1

0.8.1:
Add support for addition operator.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Apr 10 08:52:23 2020 UTC (2 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

py-pathspec: updated to 0.8.0

0.8.0:
- Expose what patterns matched paths. Added `util.detailed_match_files()`.
- `match_tree()` doesn't return symlinks.
- Add `PathSpec.match_tree_entries` and `util.iter_tree_entries()` to support directories and symlinks.
- API change: `match_tree()` has been renamed to `match_tree_files()`. The old name `match_tree()` is still available as an alias.
- API change: `match_tree_files()` now returns symlinks. This is a bug fix but it will change the returned results.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 8 15:20:18 2020 UTC (3 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

py-pathspec: updated to 0.7.0

0.7.0:
- Add support for Python 3.8, and drop Python 3.4.
- Publish bdist wheel.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 16 10:10:57 2019 UTC (3 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

py-pathspec: updated to 0.6.0

0.6.0:
- Drop support for Python 2.6, 3.2, and 3.3.
- Update README.rst.
- Method to escape gitwildmatch.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Sep 24 09:47:28 2018 UTC (4 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

py-pathspec: updated to 0.5.9

0.5.9:
- Fixed file system error handling.

0.5.8:
- Improved type checking.
- Created scripts to test Python 2.6 because Tox removed support for it.
- Improved byte string handling in Python 3.
- Handle dangling symlinks.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Aug 16 11:32:12 2018 UTC (4 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

py-pathspec: updated to 0.5.7

0.5.7:
- Fix collections deprecation warning.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Apr 14 08:50:12 2018 UTC (4 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

py-pathspec: updated to 0.5.6

0.5.6:
Improved unit tests.
Improved type checking.
Support current directory prefix.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 9 18:41:18 2017 UTC (5 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

0.5.5:
Add documentation link to README.

0.5.4:
Issue 17: Add link to Ruby implementation of pathspec.
Add sphinx documentation.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 6 11:11:19 2017 UTC (5 years, 6 months ago) by adam
Branch: MAIN

pathspec is a utility library for pattern matching of file paths. So far this
only includes Git's wildmatch pattern matching which itself is derived from
Rsync's wildmatch. Git uses wildmatch for its gitignore files.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>