]> git.pld-linux.org Git - packages/python3-werkzeug.git/blobdiff - python3-werkzeug.spec
- updated to 2.2.3
[packages/python3-werkzeug.git] / python3-werkzeug.spec
index d6f688919a800bacda7b7cc4c0ad7fdb9d408045..53471023c6d12047c03cc69bdd88940d6bc5832b 100644 (file)
@@ -6,29 +6,30 @@
 %define                module  werkzeug
 Summary:       The Swiss Army knife of Python web development
 Summary(pl.UTF-8):     Scyzoryk szwajcarski programisty aplikacji WWW
-Name:          python-%{module}
-Version:       2.0.2
+Name:          python3-%{module}
+Version:       2.2.3
 Release:       1
 License:       BSD
 Group:         Development/Languages/Python
 # pypi release misses docs/_themes directory
-##Source0Download: https://pypi.python.org/simple/Werkzeug
+##Source0Download: https://pypi.org/simple/Werkzeug
 #Source0:      https://files.pythonhosted.org/packages/source/W/Werkzeug/Werkzeug-%{version}.tar.gz
 #Source0Download: https://github.com/pallets/werkzeug/releases
 Source0:       https://github.com/pallets/werkzeug/archive/%{version}/werkzeug-%{version}.tar.gz
-# Source0-md5: 83f72a2fe8bbbe851a0e9e75994f8c49
+# Source0-md5: 3da84b7479521f8e8c2003cc4006b439
 URL:           https://werkzeug.palletsprojects.com/
-BuildRequires: python3-devel >= 1:3.6
-BuildRequires: python3-modules >= 1:3.6
+BuildRequires: python3-devel >= 1:3.7
+BuildRequires: python3-modules >= 1:3.7
 BuildRequires: python3-setuptools
 %if %{with tests}
 BuildRequires: python3-cryptography
+BuildRequires: python3-ephemeral_port_reserve
 BuildRequires: python3-greenlet
+BuildRequires: python3-markupsafe >= 2.1.1
 BuildRequires: python3-pyOpenSSL
 BuildRequires: python3-pytest
 BuildRequires: python3-pytest-timeout
-# optional
-#BuildRequires:        python3-pytest-xprocess
+BuildRequires: python3-pytest-xprocess
 BuildRequires: python3-requests
 # optional
 #BuildRequires:        python3-watchdog
@@ -41,7 +42,7 @@ BuildRequires:        python3-sphinx_issues
 BuildRequires: python3-sphinxcontrib-log-cabinet
 BuildRequires: sphinx-pdg-3
 %endif
-Requires:      python-modules >= 1:2.7
+Requires:      python3-modules >= 1:3.7
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -82,9 +83,11 @@ Dokumentacja do pakietu Pythona Werkzeug.
 %if %{with tests}
 LC_ALL=C.UTF-8 \
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS=pytest_timeout \
+PYTEST_PLUGINS=pytest_timeout,xprocess.pytest_xprocess \
 PYTHONPATH=$(pwd)/src \
-%{__python3} -m pytest tests
+%{__python3} -m pytest tests -m 'not dev_server' -k 'not test_exclude_patterns'
+# dev_server tests fail with connection refused(?)
+# test_exclude_patterns seems to fail with sys.prefix == sys.base_prefix (?)
 %endif
 
 %if %{with doc}
This page took 0.125964 seconds and 4 git commands to generate.