Hello community,

here is the log from the commit of package python-pytest-astropy-header for 
openSUSE:Factory checked in at 2020-01-10 17:49:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-astropy-header (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-astropy-header.new.6675 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-astropy-header"

Fri Jan 10 17:49:45 2020 rev:3 rq:762621 version:0.1.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-astropy-header/python-pytest-astropy-header.changes
        2019-12-23 22:46:03.062036786 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-astropy-header.new.6675/python-pytest-astropy-header.changes
      2020-01-10 17:49:50.658131775 +0100
@@ -1,0 +2,6 @@
+Fri Jan 10 08:26:04 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Switch to multibuild to avoid cycles
+- Reduce the tests dependencies to match reality
+
+-------------------------------------------------------------------

Old:
----
  _service

New:
----
  _multibuild

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

Other differences:
------------------
++++++ python-pytest-astropy-header.spec ++++++
--- /var/tmp/diff_new_pack.x58nNl/_old  2020-01-10 17:49:51.638131601 +0100
+++ /var/tmp/diff_new_pack.x58nNl/_new  2020-01-10 17:49:51.646131600 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-astropy-header
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,15 @@
 
 %define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name:           python-pytest-astropy-header
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name:           python-pytest-astropy-header%{psuffix}
 Version:        0.1.2
 Release:        0
 Summary:        Pytest plugin to add diagnostic information to the header of 
the test output
@@ -26,19 +34,15 @@
 Group:          Productivity/Scientific/Astronomy
 URL:            https://github.com/astropy/pytest-astropy-header
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest-astropy-header/pytest-astropy-header-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module pytest >= 2.8}
+BuildRequires:  %{python_module setuptools >= 30.3.0}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-pytest >= 2.8
-# SECTION test requirements
+%if %{with test}
 BuildRequires:  %{python_module astropy >= 3.0}
-BuildRequires:  %{python_module codecov}
-BuildRequires:  %{python_module coverage}
-BuildRequires:  %{python_module numpy-devel}
-BuildRequires:  %{python_module pytest-cov}
-# /SECTION
+BuildRequires:  %{python_module numpy}
+BuildRequires:  %{python_module pytest >= 2.8}
+%endif
 %python_subpackages
 
 %description
@@ -51,20 +55,25 @@
 %setup -q -n pytest-astropy-header-%{version}
 
 %build
-export CFLAGS="%{optflags}"
 %python_build
 
 %install
+%if !%{with test}
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
 %check
+%if %{with test}
 %pytest
+%endif
 
+%if !%{with test}
 %files %{python_files}
 %doc CHANGES.rst README.rst
 %license LICENSE.rst
 %{python_sitelib}/pytest_astropy_header
 %{python_sitelib}/pytest_astropy_header-%{version}-py*.egg-info
+%endif
 
 %changelog

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

Reply via email to