[packages/python3-wcmatch] Initial
arekm
arekm at pld-linux.org
Sun Mar 15 17:22:46 CET 2026
commit 7e8cfb661b3dee06ad351d09cbf50b76a2c05845
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Mar 15 17:22:29 2026 +0100
Initial
python3-wcmatch.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
---
diff --git a/python3-wcmatch.spec b/python3-wcmatch.spec
new file mode 100644
index 0000000..4e98788
--- /dev/null
+++ b/python3-wcmatch.spec
@@ -0,0 +1,65 @@
+#
+# Conditional build:
+%bcond_without tests # unit tests
+
+%define module wcmatch
+Summary: Wildcard/glob file name matcher
+Summary(pl.UTF-8): Dopasowywanie nazw plików z użyciem wzorców glob
+Name: python3-%{module}
+Version: 10.1
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/wcmatch/
+Source0: https://files.pythonhosted.org/packages/source/w/wcmatch/%{module}-%{version}.tar.gz
+# Source0-md5: 6efe500a45f4c4574e1560a706799d30
+URL: https://github.com/facelessuser/wcmatch
+BuildRequires: python3-build
+BuildRequires: python3-hatchling
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.9
+%if %{with tests}
+BuildRequires: python3-bracex >= 2.1.1
+BuildRequires: python3-pytest
+%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 2.044
+Requires: python3-bracex >= 2.1.1
+Requires: python3-modules >= 1:3.9
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+%description -l pl.UTF-8
+Wildcard Match dostarcza rozszerzone biblioteki fnmatch, glob i
+pathlib w celu zapewnienia dopasowywania plików i globbingu bliższego
+funkcjom powłoki Bash.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE.md README.md
+%{py3_sitescriptdir}/wcmatch
+%{py3_sitescriptdir}/wcmatch-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-wcmatch.git/commitdiff/7e8cfb661b3dee06ad351d09cbf50b76a2c05845
More information about the pld-cvs-commit
mailing list