Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Werkzeug for openSUSE:Factory 
checked in at 2022-08-02 22:08:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Werkzeug (Old)
 and      /work/SRC/openSUSE:Factory/.python-Werkzeug.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Werkzeug"

Tue Aug  2 22:08:37 2022 rev:38 rq:991941 version:2.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Werkzeug/python-Werkzeug.changes  
2022-05-12 22:58:33.792652028 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-Werkzeug.new.1533/python-Werkzeug.changes    
    2022-08-02 22:08:44.925695837 +0200
@@ -1,0 +2,5 @@
+Fri Jul 29 10:58:49 UTC 2022 - Torsten Gruner <simmpho...@opensuse.org>
+
+- enable multibuild for test
+
+-------------------------------------------------------------------

New:
----
  _multibuild

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Werkzeug.spec ++++++
--- /var/tmp/diff_new_pack.kr6frg/_old  2022-08-02 22:08:45.337697025 +0200
+++ /var/tmp/diff_new_pack.kr6frg/_new  2022-08-02 22:08:45.345697048 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-Werkzeug
+# spec file
 #
 # Copyright (c) 2022 SUSE LLC
 #
@@ -16,10 +16,18 @@
 #
 
 
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 %define skip_python36 1
-Name:           python-Werkzeug
+Name:           python-Werkzeug%{psuffix}
 Version:        2.1.2
 Release:        0
 Summary:        The Swiss Army knife of Python web development
@@ -30,6 +38,11 @@
 # PATCH-FIX-UPSTREAM moved_root.patch bsc#[0-9]+ mc...@suse.com
 # this patch makes things totally awesome
 Patch1:         moved_root.patch
+BuildRequires:  %{python_module base >= 3.7}
+BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  %{python_module setuptools}
+%if %{with test}
+BuildRequires:  %{python_module Werkzeug}
 BuildRequires:  %{python_module cryptography}
 BuildRequires:  %{python_module ephemeral-port-reserve}
 BuildRequires:  %{python_module hypothesis}
@@ -37,9 +50,8 @@
 BuildRequires:  %{python_module pytest-timeout}
 BuildRequires:  %{python_module pytest-xprocess}
 BuildRequires:  %{python_module requests}
-BuildRequires:  %{python_module setuptools_scm}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module sortedcontainers}
+%endif
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Recommends:     python-termcolor
@@ -76,19 +88,25 @@
 %python_build
 
 %install
+%if ! %{with test}
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
 %check
+%if %{with test}
 export LANG=en_US.UTF-8
 export PYTHONDONTWRITEBYTECODE=1
 # workaround pytest 6.2 (like 
https://github.com/pallets/werkzeug/commit/16718f461d016b88b6457d3ef63816b7df1f0d1f,
 but shorter)
-%pytest -k 'not (dev_server or test_reloader_sys_path or test_chunked_encoding 
or test_basic or test_server or test_ssl or test_http_proxy or test_500_error 
or test_untrusted_host or test_double_slash_path or test_wrong_protocol or 
test_content_type_and_length or test_multiple_headers_concatenated or 
test_multiline_header_folding)'
+%pytest -k 'not (dev_server or test_reloader_sys_path or test_chunked_encoding 
or test_basic or test_server or test_ssl or test_http_proxy or test_500_error 
or test_untrusted_host or test_double_slash_path or test_wrong_protocol or 
test_content_type_and_length or test_multiple_headers_concatenated or 
test_multiline_header_folding or test_exclude_patterns)'
+%endif
 
+%if ! %{with test}
 %files %{python_files}
 %license LICENSE.rst
 %doc CHANGES.rst README.rst
 %{python_sitelib}/werkzeug
 %{python_sitelib}/Werkzeug-%{version}-py*.egg-info
+%endif
 
 %changelog

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>

Reply via email to