Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package 
python-setuptools-declarative-requirements for openSUSE:Factory checked in at 
2024-02-09 23:54:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setuptools-declarative-requirements 
(Old)
 and      
/work/SRC/openSUSE:Factory/.python-setuptools-declarative-requirements.new.1815 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-setuptools-declarative-requirements"

Fri Feb  9 23:54:39 2024 rev:4 rq:1145304 version:1.3.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-setuptools-declarative-requirements/python-setuptools-declarative-requirements.changes
    2024-01-16 21:38:05.872721432 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-setuptools-declarative-requirements.new.1815/python-setuptools-declarative-requirements.changes
  2024-02-09 23:55:06.793003232 +0100
@@ -1,0 +2,7 @@
+Wed Feb  7 09:19:48 UTC 2024 - Dirk Müller <[email protected]>
+
+- switch to multibuild for avoiding testing cycle with
+  pytest-shell-utilities
+- remove multibuild temporarily to avoid bootstrapping cycle
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-setuptools-declarative-requirements.spec ++++++
--- /var/tmp/diff_new_pack.rnPGA8/_old  2024-02-09 23:55:07.309021826 +0100
+++ /var/tmp/diff_new_pack.rnPGA8/_new  2024-02-09 23:55:07.313021971 +0100
@@ -16,30 +16,41 @@
 #
 
 
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
 %{?sle15_python_module_pythons}
-Name:           python-setuptools-declarative-requirements
+Name:           python-setuptools-declarative-requirements%{psuffix}
 Version:        1.3.0
 Release:        0
 Summary:        File support for setuptools declarative setup.cfg
 License:        Apache-2.0
 URL:            
https://github.com/s0undt3ch/setuptools-declarative-requirements
 Source:         
https://files.pythonhosted.org/packages/source/s/setuptools-declarative-requirements/setuptools-declarative-requirements-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools_scm >= 3.4}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       python-setuptools
+Requires:       python-toml
+Requires:       python-wheel
+BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module pytest}
+%if %{with test}
 BuildRequires:  %{python_module pypiserver}
 BuildRequires:  %{python_module pytest-shell-utilities}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module toml}
 BuildRequires:  %{python_module virtualenv}
-BuildRequires:  %{python_module wheel}
+%endif
 # /SECTION
-BuildRequires:  fdupes
-Requires:       python-setuptools
-Requires:       python-toml
-Requires:       python-wheel
-BuildArch:      noarch
 %python_subpackages
 
 %description
@@ -50,18 +61,22 @@
 sed -i 's/"setuptools>=[0-9]*"/"setuptools"/g' tests/conftest.py
 
 %build
-%python_build
-
-%install
-%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%pyproject_wheel
 
+%if %{with test}
 %check
 # sdist test tries to contact pypi.org
 %pytest -k 'not sdist'
+%else
+
+%install
+%pyproject_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %files %{python_files}
 %doc CHANGELOG.md README.md
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/declarative_requirements
+%{python_sitelib}/setuptools_declarative_requirements-%{version}.dist-info
+%endif
 

Reply via email to