Accepting request 912923 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/912923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-healpy?expand=0&rev=3
This commit is contained in:
Richard Brown 2021-08-19 08:01:17 +00:00 committed by Git OBS Bridge
commit bde20cc03b
5 changed files with 53 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2720b5f96c314bdfdd20b6ffc0643ac8091faefcf8fd20a4083cedff85a66c5e
size 4802425

3
healpy-1.15.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e09300a9f24e40b07f09ca7a7026d640a0478960b6ca6a5fc85052c0bb4335bf
size 4434119

View File

@ -1,13 +0,0 @@
Index: healpy-1.14.0/setup.py
===================================================================
--- healpy-1.14.0.orig/setup.py
+++ healpy-1.14.0/setup.py
@@ -480,7 +480,7 @@ setup(
]
},
install_requires=["matplotlib", "numpy>=1.13", "six", "astropy", "scipy"],
- setup_requires=["pytest-runner", "six"],
+ setup_requires=["six"],
tests_require=["pytest", "pytest-cython", "pytest-doctestplus"],
test_suite="healpy",
license="GPLv2",

View File

@ -1,3 +1,49 @@
-------------------------------------------------------------------
Wed Aug 18 12:35:01 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.15.0:
* Write_map keeps dtype of input map array instead of float32
(gh#healpy/healpy#688).
* Read_map keeps dtype of FITS file instead of upcasting to
float64 (gh#healpy/healpy#688).
* Write_cl uses dtype of input cl instead of float64
(gh#healpy/healpy#688).
* Changed all warnings to using the logging module, deprecated
all verbose keywords (gh#healpy/healpy#693).
* Experimental projview function to plot maps using projections
from matplotlib (gh#healpy/healpy#695).
* Flip sign for spin-0 alm2map_spin and map2alm_spin
(gh#healpy/healpy#707).
* Support transparency in plotting with the alpha parameter
(gh#healpy/healpy#696).
* Removed the note that we will change order of cl in synfast
and synalm, we will leave new=False default
(gh#healpy/healpy#687).
* Added convenice functions order2npix and npix2order
(gh#healpy/healpy#685).
* Support nested maps hp.smoothing (gh#healpy/healpy#678).
* Improvements of the build system (gh#healpy/healpy#660).
* Automatically build wheels for Linux/MacOS on Github actions
(gh#healpy/healpy#656).
* Drop support for Python 2.7-3.5 (gh#healpy/healpy#658).
* Allow OBJECT FITS header not to be a string
(gh#healpy/healpy#665).
* Fixed indexing issue in bl2beam (gh#healpy/healpy#667).
* Fixed map2alm_spin bug for masked input
(gh#healpy/healpy#651).
* Minor bugfixes:
- Accept None for cls in synalm (gh#healpy/healpy#711)
- Get nside from length of array in read_map
(gh#healpy/healpy#710).
- Fix spin 0 transforms in alm2map_spin
(gh#healpy/healpy#708).
- Raise exception for rotate_alm with complex64 inputs
(gh#healpy/healpy#704).
- Replace deprecated numpy aliases (gh#healpy/healpy#698).
- New BuildRequires: python-Cython.
- Drop python-healpy-drop-pytest-runner.patch: Upstream no longer
requires pytest-runner for its tests.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 21 15:32:02 UTC 2021 - Benjamin Greiner <code@bnavigator.de> Thu Jan 21 15:32:02 UTC 2021 - Benjamin Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-healpy # spec file for package python-healpy
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,14 +20,13 @@
%define skip_python2 1 %define skip_python2 1
%define skip_python36 1 %define skip_python36 1
Name: python-healpy Name: python-healpy
Version: 1.14.0 Version: 1.15.0
Release: 0 Release: 0
Summary: Python library to handle pixelated data on the sphere based on HEALPix Summary: Python library to handle pixelated data on the sphere based on HEALPix
License: GPL-2.0-only License: GPL-2.0-only
URL: https://github.com/healpy/healpy URL: https://github.com/healpy/healpy
Source: https://files.pythonhosted.org/packages/source/h/healpy/healpy-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/h/healpy/healpy-%{version}.tar.gz
# PATCH-FEATURE-OPENSUSE python-healpy-drop-pytest-runner.patch gh#healpy/healpy#649 badshah400@gmail.com -- Drop pytest-runner requirement for install: not required BuildRequires: %{python_module Cython}
Patch0: python-healpy-drop-pytest-runner.patch
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel >= 1.13} BuildRequires: %{python_module numpy-devel >= 1.13}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
@ -45,7 +44,7 @@ Requires: python-numpy >= 1.13
Requires: python-scipy Requires: python-scipy
Requires: python-six Requires: python-six
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun):update-alternatives
# SECTION Additional test requirements # SECTION Additional test requirements
# Symbol clashes with astropy < 4.0 # Symbol clashes with astropy < 4.0
BuildRequires: %{python_module astropy >= 4.0} BuildRequires: %{python_module astropy >= 4.0}
@ -85,7 +84,6 @@ export CFLAGS="%{optflags}"
%python_clone -a %{buildroot}%{_bindir}/healpy_get_wmap_maps.sh %python_clone -a %{buildroot}%{_bindir}/healpy_get_wmap_maps.sh
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
# Skip tests requiring network access # Skip tests requiring network access
%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