+++ /dev/null
---- importlib_resources-5.1.0/pyproject.toml.orig 2021-01-19 04:22:15.000000000 +0100
-+++ importlib_resources-5.1.0/pyproject.toml 2021-01-28 10:40:23.751707228 +0100
-@@ -1,5 +1,5 @@
- [build-system]
--requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4.1"]
-+requires = ["setuptools>=42", "setuptools_scm[toml]>=3.4.1"]
- build-backend = "setuptools.build_meta"
-
- [tool.black]
Summary: Read resources from Python packages
Summary(pl.UTF-8): Odczyt zasobów z pakietów Pythona
Name: python3-importlib_resources
-Version: 5.1.0
-Release: 3
+Version: 5.4.0
+Release: 1
License: Apache v2.0
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/importlib-resources/
Source0: https://files.pythonhosted.org/packages/source/i/importlib-resources/importlib_resources-%{version}.tar.gz
-# Source0-md5: a3ca1dce486f7fba1691938124e54133
-Patch0: %{name}-no_wheel.patch
+# Source0-md5: ef86f9f1bb77958b171afaafbedf6c91
URL: https://pypi.org/project/importlib-resources/
BuildRequires: python3-modules >= 1:3.6
BuildRequires: python3-setuptools >= 1:42
BuildRequires: python3-setuptools_scm >= 5.0.1-2
BuildRequires: python3-toml
%if %{with tests}
-BuildRequires: python3-pytest >= 3.5
-BuildRequires: python3-pytest-black >= 0.3.7
-BuildRequires: python3-pytest-cov
-BuildRequires: python3-pytest-flake8
-%if "%{py3_ver}" < "3.8"
-BuildRequires: python3-zipp >= 0.4
+#BuildRequires: python3-pytest >= 6
+#BuildRequires: python3-pytest-black >= 0.3.7
+#BuildRequires: python3-pytest-checkdocs >= 2.4
+#BuildRequires: python3-pytest-cov
+#BuildRequires: python3-pytest-enabler >= 1.0.1
+#BuildRequires: python3-pytest-flake8
+#BuildRequires: python3-pytest-mypy
+%if "%{_ver_lt '%{py3_ver}' '3.10'}" == "1"
+BuildRequires: python3-zipp >= 3.7.0
%endif
%endif
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: rpmbuild(macros) >= 1.749
%if %{with doc}
BuildRequires: python3-jaraco.packaging >= 8.2
BuildRequires: python3-rst.linker >= 1.9
%prep
%setup -q -n importlib_resources-%{version}
-%patch0 -p1
%build
%py3_build