1
0

Accepting request 877781 from home:bnavigator:branches:devel:languages:python:numeric

- Fix test failures with updated wcslib -- gh#astropy/astropy#11260
  * Add astropy-pr11260-wcsfailures.patch
  * Add dss.14.29.56-62.41.05.fits.gz

OBS-URL: https://build.opensuse.org/request/show/877781
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=49
This commit is contained in:
Benjamin Greiner 2021-03-08 16:10:52 +00:00 committed by Git OBS Bridge
parent 82e7410fed
commit f59bcb6e81
4 changed files with 34143 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Mar 8 12:07:01 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Fix test failures with updated wcslib -- gh#astropy/astropy#11260
* Add astropy-pr11260-wcsfailures.patch
* Add dss.14.29.56-62.41.05.fits.gz
-------------------------------------------------------------------
Fri Jan 15 18:01:11 UTC 2021 - Benjamin Greiner <code@bnavigator.de>

View File

@ -50,9 +50,13 @@ Summary: Community-developed python astronomy tools
License: BSD-3-Clause
URL: https://astropy.org
Source: https://files.pythonhosted.org/packages/source/a/astropy/astropy-%{version}.tar.gz
# belongs to Patch1 -- gh/astropy/astropy#11260
Source1: https://github.com/dhomeier/astropy/raw/wcs-distortion-headers/astropy/wcs/tests/data/dss.14.29.56-62.41.05.fits.gz
# Mark wcs headers as false positives for devel-file-in-non-devel-package
# These are used by the python files so they must be available.
Source100: python-astropy-rpmlintrc
# PATCH-FIX-UPSTREAM astropy-pr11260-wcsfailures.patch -- gh/astropy/astropy#11260
Patch1: astropy-pr11260-wcsfailures.patch
# https://docs.astropy.org/en/v4.1/install.html#requirements
BuildRequires: %{python_module Cython >= 0.21}
BuildRequires: %{python_module Jinja2}
@ -131,7 +135,9 @@ managing them.
%if !%{with test}
%prep
%setup -q -n astropy-%{version}
%autosetup -p1 -n astropy-%{version}
cp %{SOURCE1} astropy/wcs/tests/data/
%if %{with systemlibs}
# Make sure bundled libs are not used