Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-healpy for openSUSE:Factory checked in at 2021-01-22 21:52:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-healpy (Old) and /work/SRC/openSUSE:Factory/.python-healpy.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-healpy" Fri Jan 22 21:52:05 2021 rev:2 rq:865506 version:1.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-healpy/python-healpy.changes 2020-12-18 20:00:00.910102669 +0100 +++ /work/SRC/openSUSE:Factory/.python-healpy.new.28504/python-healpy.changes 2021-01-22 21:52:34.493870428 +0100 @@ -1,0 +2,5 @@ +Thu Jan 21 15:32:02 UTC 2021 - Benjamin Greiner <[email protected]> + +- Skip python36 because astropy is python >= 3.7 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-healpy.spec ++++++ --- /var/tmp/diff_new_pack.VMsxH7/_old 2021-01-22 21:52:35.165871382 +0100 +++ /var/tmp/diff_new_pack.VMsxH7/_new 2021-01-22 21:52:35.169871387 +0100 @@ -16,6 +16,9 @@ # +# Builds on astropy, which is python >= 3.7 on TW +%define skip_python2 1 +%define skip_python36 1 Name: python-healpy Version: 1.14.0 Release: 0 @@ -41,6 +44,8 @@ Requires: python-numpy >= 1.13 Requires: python-scipy Requires: python-six +Requires(post): update-alternatives +Requires(postun): update-alternatives # SECTION Additional test requirements # Symbol clashes with astropy < 4.0 BuildRequires: %{python_module astropy >= 4.0} @@ -77,16 +82,24 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/healpy_get_wmap_maps.sh %python_expand %fdupes %{buildroot}%{$python_sitearch} + %check # Skip tests requiring network access -%python_expand %pytest_arch -k 'not (test_astropy_download_file or test_rotate_map_polarization or test_pixelweights_local_datapath)' %{buildroot}%{$python_sitearch}/healpy +%pytest_arch -k 'not (test_astropy_download_file or test_rotate_map_polarization or test_pixelweights_local_datapath)' %{buildroot}%{$python_sitearch}/healpy + +%post +%python_install_alternative healpy_get_wmap_maps.sh + +%postun +%python_uninstall_alternative healpy_get_wmap_maps.sh %files %{python_files} %doc CHANGELOG.rst README.rst %license COPYING -%python3_only %{_bindir}/healpy_get_wmap_maps.sh +%python_alternative %{_bindir}/healpy_get_wmap_maps.sh %{python_sitearch}/healpy/ %{python_sitearch}/healpy-%{version}-py%{python_version}.egg-info/
