From adda5a1aeac54cc70a6d6250192edd5bf35e1049 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 11 Mar 2022 22:33:19 +0100 Subject: [PATCH] - updated to 1.6.4 - docs must be build with python3 because of too new sphinx requirements --- python-backports.functools_lru_cache.spec | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/python-backports.functools_lru_cache.spec b/python-backports.functools_lru_cache.spec index 49872f0..144f872 100644 --- a/python-backports.functools_lru_cache.spec +++ b/python-backports.functools_lru_cache.spec @@ -8,26 +8,27 @@ Summary: Backport of functools.lru_cache from Python 3.3 Summary(pl.UTF-8): Backport functools.lru_cache z Pythona 3.3 Name: python-%{pypi_name} -Version: 1.5 -Release: 2 +Version: 1.6.4 +Release: 1 License: MIT Group: Libraries/Python #Source0Download: https://pypi.org/simple/backports.functools_lru_cache/ Source0: https://files.pythonhosted.org/packages/source/b/backports.functools_lru_cache/%{pypi_name}-%{version}.tar.gz -# Source0-md5: 20f53f54cd3f04b3346ce75a54959754 +# Source0-md5: 8fed424f30bf9554235aa02997b7574c URL: https://github.com/jaraco/backports.functools_lru_cache BuildRequires: python-modules >= 1:2.6 BuildRequires: python-setuptools -BuildRequires: python-setuptools_scm >= 1.15.0 +BuildRequires: python-setuptools_scm >= 3.4.1 +BuildRequires: python-toml %if %{with tests} -BuildRequires: python-pytest >= 2.8 +BuildRequires: python-pytest >= 4.6 %endif BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.714 %if %{with doc} -BuildRequires: python-jaraco.packaging >= 3.2 -BuildRequires: python-rst.linker -BuildRequires: sphinx-pdg-2 +BuildRequires: python3-jaraco.packaging >= 8.2 +BuildRequires: python3-rst.linker >= 1.9 +BuildRequires: sphinx-pdg-3 %endif Requires: python-backports Requires: python-modules >= 1:2.6 @@ -58,12 +59,13 @@ Dokumentacja API modułu Pythona backports.functools_lru_cache. %py_build %if %{with tests} +PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \ %{__python} -m pytest tests %endif %if %{with doc} cd docs -sphinx-build-2 -b html . _build/html +sphinx-build-3 -b html . _build/html %endif %install -- 2.44.0