diff --git a/python-wcmatch.spec b/python-wcmatch.spec new file mode 100644 index 0000000..8e21b72 --- /dev/null +++ b/python-wcmatch.spec @@ -0,0 +1,65 @@ +# Created by pyp2rpm-3.3.5 +%global pypi_name wcmatch + +Name: python-%{pypi_name} +Version: 8.4.1 +Release: 1 +Summary: Wildcard/glob file name matcher + +License: MIT +URL: https://github.com/facelessuser/wcmatch +Source0: %{pypi_source wcmatch} + +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(bracex) +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling + +%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. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +%description -n python3-%{pypi_name} +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. + + +%prep +%autosetup -p1 -n %{pypi_name}-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-%{pypi_name} +%license LICENSE.md +%doc README.md +%{python3_sitelib}/wcmatch-*.dist-info/ +%{python3_sitelib}/wcmatch/ + +%changelog +* Wed Jun 21 2023 li-miaomiao_zhr - 8.4.1-1 +- add package python-wcmatch with version 8.4.1 to src-openEuler diff --git a/wcmatch-8.4.1.tar.gz b/wcmatch-8.4.1.tar.gz new file mode 100644 index 0000000..541ba1d Binary files /dev/null and b/wcmatch-8.4.1.tar.gz differ