Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-astropy-iers-data for
openSUSE:Factory checked in at 2024-09-01 19:22:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-astropy-iers-data (Old)
and /work/SRC/openSUSE:Factory/.python-astropy-iers-data.new.2698 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-astropy-iers-data"
Sun Sep 1 19:22:03 2024 rev:8 rq:1197899 version:0.2024.8.27.10.28.29
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-astropy-iers-data/python-astropy-iers-data.changes
2024-07-01 11:22:41.668133690 +0200
+++
/work/SRC/openSUSE:Factory/.python-astropy-iers-data.new.2698/python-astropy-iers-data.changes
2024-09-01 19:22:33.434792180 +0200
@@ -1,0 +2,9 @@
+Fri Aug 30 15:14:22 UTC 2024 - Ben Greiner <[email protected]>
+
+- Update to 0.2024.8.27.10.28.29
+ * Tell setuptools_scm to not normalize version (fixes #17) by
+ @sergiopasra in #26
+ * Update IERS Earth rotation and leap second tables
+- Add test multibuild and use astropy testsuite
+
+-------------------------------------------------------------------
Old:
----
astropy_iers_data-0.2024.6.24.0.31.11.tar.gz
New:
----
_multibuild
astropy_iers_data-0.2024.8.27.10.28.29.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-astropy-iers-data.spec ++++++
--- /var/tmp/diff_new_pack.460EqU/_old 2024-09-01 19:22:34.018816091 +0200
+++ /var/tmp/diff_new_pack.460EqU/_new 2024-09-01 19:22:34.018816091 +0200
@@ -16,8 +16,17 @@
#
-Name: python-astropy-iers-data
-Version: 0.2024.6.24.0.31.11
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%bcond_without test
+%define psuffix -test
+%else
+%bcond_with test
+%define psuffix %{nil}
+%endif
+
+Name: python-astropy-iers-data%{psuffix}
+Version: 0.2024.8.27.10.28.29
Release: 0
Summary: IERS Earth Rotation and Leap Second tables for the astropy
core package
License: BSD-3-Clause
@@ -29,11 +38,14 @@
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
-# SECTION test requirements
+%if %{with test}
+BuildRequires: %{python_module astropy-iers-data = %{version}}
+BuildRequires: %{python_module astropy}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pytest-remotedata}
+BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
-# /SECTION
+%endif
BuildRequires: fdupes
BuildArch: noarch
%python_subpackages
@@ -46,20 +58,28 @@
%prep
%autosetup -p1 -n astropy_iers_data-%{version}
+%if !%{with test}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
+%if %{with test}
%check
-# No tests yet
-#%%pytest
+# See tox.ini
+%pytest -n auto -m "not hypothesis" --pyargs astropy.coordinates
+%pytest -n auto -m "not hypothesis" --pyargs astropy.time
+%pytest -n auto -m "not hypothesis" --pyargs astropy.utils.iers
+%endif
+%if !%{with test}
%files %{python_files}
%doc README.rst
%license LICENSE.rst
%{python_sitelib}/astropy_iers_data
%{python_sitelib}/astropy_iers_data-%{version}.dist-info
+%endif
++++++ _multibuild ++++++
<multibuild>
<package>test</package>
</multibuild>
++++++ astropy_iers_data-0.2024.6.24.0.31.11.tar.gz ->
astropy_iers_data-0.2024.8.27.10.28.29.tar.gz ++++++
++++ 1835 lines of diff (skipped)