[packages/python3-importlib_resources] - updated to 5.4.0

qboosh qboosh at pld-linux.org
Mon Mar 7 19:59:18 CET 2022


commit 2c340c2266c61094a4b0b91aa208c8641326128b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Mar 7 20:01:09 2022 +0100

    - updated to 5.4.0

 python3-importlib_resources-no_wheel.patch |  9 ---------
 python3-importlib_resources.spec           | 25 +++++++++++++------------
 2 files changed, 13 insertions(+), 21 deletions(-)
---
diff --git a/python3-importlib_resources.spec b/python3-importlib_resources.spec
index 87a8247..86ad816 100644
--- a/python3-importlib_resources.spec
+++ b/python3-importlib_resources.spec
@@ -6,30 +6,32 @@
 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
@@ -74,7 +76,6 @@ Dokumentacja API modułu Pythona importlib_resources.
 
 %prep
 %setup -q -n importlib_resources-%{version}
-%patch0 -p1
 
 %build
 %py3_build
diff --git a/python3-importlib_resources-no_wheel.patch b/python3-importlib_resources-no_wheel.patch
deleted file mode 100644
index caecf9c..0000000
--- a/python3-importlib_resources-no_wheel.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- 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]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-importlib_resources.git/commitdiff/2c340c2266c61094a4b0b91aa208c8641326128b



More information about the pld-cvs-commit mailing list