forked from pool/python-wcmatch
Accepting request 949743 from home:sebix
- initial package for version 8.3. required for ansible-lint OBS-URL: https://build.opensuse.org/request/show/949743 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wcmatch?expand=0&rev=2
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 25 09:07:04 UTC 2022 - Mathias Homann <Mathias.Homann@opensuse.org>
|
||||
Sun Jan 23 11:53:51 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
- updated to version 8.3 with py2pack
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 3 06:54:29 UTC 2021 - Mathias Homann <Mathias.Homann@opensuse.org>
|
||||
|
||||
- initial package made with py2pack
|
||||
- initial package for version 8.3.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-wcmatch
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,8 +17,7 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
|
||||
%{?python_enable_dependency_generator}
|
||||
Name: python-wcmatch
|
||||
Version: 8.3
|
||||
Release: 0
|
||||
@@ -28,19 +27,29 @@ URL: https://github.com/facelessuser/wcmatch
|
||||
Source: https://files.pythonhosted.org/packages/source/w/wcmatch/wcmatch-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module setuptools}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module bracex >= 2.1.1}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module six}
|
||||
# /SECTION
|
||||
BuildRequires: %{python_module bracex}
|
||||
BuildRequires: fdupes
|
||||
Requires: python-bracex >= 2.1.1
|
||||
Suggests: python-pytest
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Wildcard/glob file name matcher.
|
||||
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.
|
||||
|
||||
Wildcard Match also adds a file search utility called `wcmatch` that is built on top of `fnmatch` and `globmatch`. It
|
||||
was originally written for [Rummage](https://github.com/facelessuser/Rummage), but split out into this project to be
|
||||
used by other projects that may find its approach useful.
|
||||
|
||||
Bash is used as a guide when making decisions on behavior for `fnmatch` and `glob`. Behavior may differ from Bash
|
||||
version to Bash version, but an attempt is made to keep Wildcard Match up with the latest relevant changes. With all of
|
||||
this said, there may be a few corner cases in which we've intentionally chosen to not *exactly* mirror Bash. If an issue
|
||||
is found where Wildcard Match seems to deviate in an illogical way, we'd love to hear about it in the
|
||||
[issue tracker](https://github.com/facelessuser/wcmatch/issues).
|
||||
|
||||
%prep
|
||||
%setup -q -n wcmatch-%{version}
|
||||
@@ -54,9 +63,8 @@ Wildcard/glob file name matcher.
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE.md
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/wcmatch*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user