]> git.pld-linux.org Git - packages/python3-pygments.git/blobdiff - python3-pygments.spec
- updated to 2.14.0; requires pytest 7
[packages/python3-pygments.git] / python3-pygments.spec
index 18742289b983914dbaad2606d2af56a5dd679e38..a522a9f77082f8eb98bf1d8cb00e81956dc75f18 100644 (file)
@@ -7,26 +7,27 @@
 Summary:       A generic syntax highlighter as Python 3 module
 Summary(pl.UTF-8):     Moduł Pythona 3 do ogólnego podświetlania składni
 Name:          python3-%{module}
-Version:       2.7.1
+Version:       2.14.0
 Release:       1
 License:       BSD
 Group:         Development/Languages/Python
 #Source0Download: https://pypi.org/simple/pygments/
 Source0:       https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
-# Source0-md5: 8b4d5fe67fde78e9cf7eab088b341bfb
+# Source0-md5: 447be4afb076c8325a7dc659aff5b931
 Patch0:                rpmspec.patch
-URL:           http://pygments.org/
-BuildRequires: python3 >= 1:3.5
-BuildRequires: python3-devel >= 1:3.5
-BuildRequires: python3-modules >= 1:3.5
+URL:           https://pygments.org/
+BuildRequires: python3 >= 1:3.6
+BuildRequires: python3-devel >= 1:3.6
+BuildRequires: python3-modules >= 1:3.6
 BuildRequires: python3-setuptools
 %if %{with tests}
-BuildRequires: python3-pytest
+BuildRequires: python3-pytest >= 7
+BuildRequires: python3-wcag_contrast_ratio
 %endif
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
 %{?with_doc:BuildRequires:     sphinx-pdg}
-Requires:      python3-modules >= 1:3.5
+Requires:      python3-modules >= 1:3.6
 Requires:      python3-setuptools
 Conflicts:     python-pygments < 2.5.2
 BuildArch:     noarch
@@ -81,6 +82,7 @@ Dokumentacja API modułu Pythona Pygments.
 %py3_build
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %{__python3} -m pytest tests
 %endif
 
This page took 0.132702 seconds and 4 git commands to generate.