!1 add package python-wcmatch with version 8.4.1 to src-openEuler
From: @li-miaomiao_zhr Reviewed-by: @desert-sailor Signed-off-by: @desert-sailor
This commit is contained in:
commit
ef61a5819e
65
python-wcmatch.spec
Normal file
65
python-wcmatch.spec
Normal file
@ -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 <mmlidc@isoftstone.com> - 8.4.1-1
|
||||
- add package python-wcmatch with version 8.4.1 to src-openEuler
|
||||
BIN
wcmatch-8.4.1.tar.gz
Normal file
BIN
wcmatch-8.4.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user