pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-pathspec
Module Name: pkgsrc
Committed By: adam
Date: Wed Sep 14 10:31:36 UTC 2022
Modified Files:
pkgsrc/devel/py-pathspec: Makefile PLIST distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-pathspec/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-pathspec/PLIST
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-pathspec/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-pathspec/Makefile
diff -u pkgsrc/devel/py-pathspec/Makefile:1.11 pkgsrc/devel/py-pathspec/Makefile:1.12
--- pkgsrc/devel/py-pathspec/Makefile:1.11 Tue Jan 4 20:53:20 2022
+++ pkgsrc/devel/py-pathspec/Makefile Wed Sep 14 10:31:36 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2022/01/04 20:53:20 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2022/09/14 10:31:36 adam Exp $
-DISTNAME= pathspec-0.9.0
+DISTNAME= pathspec-0.10.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pathspec/}
@@ -13,5 +12,7 @@ LICENSE= mpl-2.0
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-pathspec/PLIST
diff -u pkgsrc/devel/py-pathspec/PLIST:1.2 pkgsrc/devel/py-pathspec/PLIST:1.3
--- pkgsrc/devel/py-pathspec/PLIST:1.2 Mon Jul 19 19:50:10 2021
+++ pkgsrc/devel/py-pathspec/PLIST Wed Sep 14 10:31:36 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2021/07/19 19:50:10 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/09/14 10:31:36 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -9,9 +9,9 @@ ${PYSITELIB}/pathspec/__init__.pyo
${PYSITELIB}/pathspec/_meta.py
${PYSITELIB}/pathspec/_meta.pyc
${PYSITELIB}/pathspec/_meta.pyo
-${PYSITELIB}/pathspec/compat.py
-${PYSITELIB}/pathspec/compat.pyc
-${PYSITELIB}/pathspec/compat.pyo
+${PYSITELIB}/pathspec/gitignore.py
+${PYSITELIB}/pathspec/gitignore.pyc
+${PYSITELIB}/pathspec/gitignore.pyo
${PYSITELIB}/pathspec/pathspec.py
${PYSITELIB}/pathspec/pathspec.pyc
${PYSITELIB}/pathspec/pathspec.pyo
@@ -24,18 +24,6 @@ ${PYSITELIB}/pathspec/patterns/__init__.
${PYSITELIB}/pathspec/patterns/gitwildmatch.py
${PYSITELIB}/pathspec/patterns/gitwildmatch.pyc
${PYSITELIB}/pathspec/patterns/gitwildmatch.pyo
-${PYSITELIB}/pathspec/tests/__init__.py
-${PYSITELIB}/pathspec/tests/__init__.pyc
-${PYSITELIB}/pathspec/tests/__init__.pyo
-${PYSITELIB}/pathspec/tests/test_gitwildmatch.py
-${PYSITELIB}/pathspec/tests/test_gitwildmatch.pyc
-${PYSITELIB}/pathspec/tests/test_gitwildmatch.pyo
-${PYSITELIB}/pathspec/tests/test_pathspec.py
-${PYSITELIB}/pathspec/tests/test_pathspec.pyc
-${PYSITELIB}/pathspec/tests/test_pathspec.pyo
-${PYSITELIB}/pathspec/tests/test_util.py
-${PYSITELIB}/pathspec/tests/test_util.pyc
-${PYSITELIB}/pathspec/tests/test_util.pyo
${PYSITELIB}/pathspec/util.py
${PYSITELIB}/pathspec/util.pyc
${PYSITELIB}/pathspec/util.pyo
Index: pkgsrc/devel/py-pathspec/distinfo
diff -u pkgsrc/devel/py-pathspec/distinfo:1.12 pkgsrc/devel/py-pathspec/distinfo:1.13
--- pkgsrc/devel/py-pathspec/distinfo:1.12 Tue Oct 26 10:18:44 2021
+++ pkgsrc/devel/py-pathspec/distinfo Wed Sep 14 10:31:36 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2021/10/26 10:18:44 nia Exp $
+$NetBSD: distinfo,v 1.13 2022/09/14 10:31:36 adam Exp $
-BLAKE2s (pathspec-0.9.0.tar.gz) = ed0cd8150c1661563ef445c79db88cb227e78cc4077d588ae93cfd27929df267
-SHA512 (pathspec-0.9.0.tar.gz) = 660f13525325c27b598048a3576fd704c3843e0b07770187d005f0e93996a90cee44e9a0725b6bf775982f586ed3b4ba7cccee966d7149e71e2b95d48030b2f2
-Size (pathspec-0.9.0.tar.gz) = 29483 bytes
+BLAKE2s (pathspec-0.10.1.tar.gz) = dc56d6aa4622ffc3de9b15d2d24f9a2917e7c7a85a9cd76b436b920bca1701d0
+SHA512 (pathspec-0.10.1.tar.gz) = 886c16ba9a221720a9fbac6a2aead5a16de62988afbf0ed976f28c312fe524f41ccfb139e0b9699942ca32aa90f183e20656986ed631cf2435818c082d58115d
+Size (pathspec-0.10.1.tar.gz) = 43155 bytes
Home |
Main Index |
Thread Index |
Old Index