1
0
Commit Graph

16 Commits

Author SHA256 Message Date
79a5cc0e5c - update to 0.11.2:
* `Issue #80`_: match_files with negated path spec.
    `pathspec.PathSpec.match_*()` now have a `negate` parameter
    to make using *.gitignore* logic easier and more efficient.
  * Add edge case: patterns that end with an escaped
    space
  * Negate with caret symbol as with the exclamation mark.
- Update to version 0.10.3
- Update to version 0.10.2:
  * `Issue #43`_: Add support for addition operator

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=28
2023-09-07 11:28:09 +00:00
788088654e Accepting request 1081513 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081513
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=26
2023-04-21 14:16:26 +00:00
d519617927 - update to 0.11.1:
* `Issue #74`_: Include directory should override exclude file.
  * `Pull #75`_: Fix partially unknown PathLike type.
  * Convert `os.PathLike` to a string properly using `os.fspath`.
  * Major changes:
  * Changed build backend to `flit_core.buildapi`_ from
    `setuptools.build_meta`_. Building with `setuptools` through
    `setup.py` is still supported for distributions that need it.
  * `Issue #72`_/`Pull #73`_: Please consider switching the
    build-system to flit_core to ease setuptools bootstrap.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=24
2023-03-26 19:51:05 +00:00
e1715ee9e7 Accepting request 1042720 from home:yarunachalam:branches:devel:languages:python
- Update to version 0.10.3 
  * New features:
  Added utility function pathspec.util.append_dir_sep() to aid in distinguishing between directories and files on the file-system. See Issue #65.
  * Bug fixes:
  Issue #66/Pull #67: Package not marked as py.typed.
  Issue #68: Exports are considered private.
  Issue #70/Pull #71: 'Self' string literal type is Unknown in pyright.
  * Improvements:
  Issue #65: Checking directories via match_file() does not work on Path objects.

OBS-URL: https://build.opensuse.org/request/show/1042720
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=22
2022-12-14 10:10:39 +00:00
892f4176e8 Accepting request 1039863 from home:yarunachalam:branches:devel:languages:python
- Update to version 0.10.2: 
  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().
  * Issue #64: IndexError with my .gitignore file when trying to build a Python package.
  Improvements:
  * Issue #58: CI: add GitHub Actions test workflow.

OBS-URL: https://build.opensuse.org/request/show/1039863
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=20
2022-12-03 22:35:33 +00:00
8916b06777 Accepting request 1003385 from home:benoit_monin:branches:devel:languages:python
- update to 0.10.1
- add BuildRequires for python >= 3.7

OBS-URL: https://build.opensuse.org/request/show/1003385
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=18
2022-09-14 15:50:45 +00:00
ad55002a19 - update to 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=17
2022-01-05 10:30:49 +00:00
4cc38a8f63 Accepting request 896584 from home:pgajdos:python
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/896584
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=15
2021-06-01 07:55:51 +00:00
a486a3c015 - update to 0.8.1:
* `Issue #43`_: Add support for addition operator

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=13
2020-12-19 10:49:50 +00:00
Tomáš Chvátal
25a1bafe4d Accepting request 839910 from home:jayvdb:branches:devel:languages:python
- Update to v0.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

OBS-URL: https://build.opensuse.org/request/show/839910
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=11
2020-10-07 06:15:59 +00:00
Tomáš Chvátal
98d160cce0 Accepting request 783949 from home:mcalabkova:branches:devel:languages:python
- update to 0.7.0
  * Add support for Python 3.8, and drop Python 3.4.
  * Publish bdist wheel.

OBS-URL: https://build.opensuse.org/request/show/783949
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=9
2020-03-11 15:59:25 +00:00
Tomáš Chvátal
cb0b956b80 - Update to 0.6.0:
* Issue #24: Drop support for Python 2.6, 3.2, and 3.3.
  * Issue #25: Update README.rst.
  * Issue #26: Method to escape gitwildmatch.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=7
2019-10-10 08:26:46 +00:00
Tomáš Chvátal
14fe40cd3c Accepting request 674877 from home:jayvdb:coala:python3-bears
- Update to v0.5.9
  * Fixed file system error handling.
- from v0.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.
- from v0.5.7
  * Fix collections deprecation warning.

OBS-URL: https://build.opensuse.org/request/show/674877
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=5
2019-02-14 08:37:56 +00:00
2b94049b23 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=3
2018-12-04 13:45:37 +00:00
Dominique Leuenberger
77573ac055 Accepting request 605992 from devel:languages:python
Utility library for gitignore style pattern matching of file paths

OBS-URL: https://build.opensuse.org/request/show/605992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=1
2018-05-15 08:12:35 +00:00
Todd R
51a5522988 Accepting request 605991 from devel:languages:python:misc
Utility library for gitignore style pattern matching of file paths

OBS-URL: https://build.opensuse.org/request/show/605991
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=1
2018-05-10 00:23:54 +00:00