forked from pool/python-astropy
Accepting request 851660 from home:bnavigator:branches:devel:languages:python:numeric
- Update to Version 4.2 Astropy 4.2 is a major release that adds new funcionality since the 4.1 release. In particular, this release includes: * Planck 2018 is accepted and now the default cosmology * Time performance improvements * Removed ERFA module In addition to these major changes, Astropy v4.2 includes smaller improvements and bug fixes and significant cleanup, which are described in the Full Changelog. By the numbers: * 183 issues have been closed since v4.1 * 105 pull requests have been merged since v4.1 * 63 distinct people have contributed code - Bump requirements versions - Drop astropy-pr10329-unbundle-erfa_4.1.patch merged upstream OBS-URL: https://build.opensuse.org/request/show/851660 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=38
This commit is contained in:
parent
18c04387c7
commit
fd7e707d74
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a3bad6e1c2619135ad33e4d80452866eb9468f610bf00754da4001c63c1f7049
|
||||
size 7835617
|
3
astropy-4.2.tar.gz
Normal file
3
astropy-4.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2c194f8a429b8399de64a413a06881ea49f0525cabaa2d78fc132b9e970adc6a
|
||||
size 7462293
|
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 28 21:28:47 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to Version 4.2
|
||||
Astropy 4.2 is a major release that adds new funcionality since
|
||||
the 4.1 release.
|
||||
In particular, this release includes:
|
||||
* Planck 2018 is accepted and now the default cosmology
|
||||
* Time performance improvements
|
||||
* Removed ERFA module
|
||||
In addition to these major changes, Astropy v4.2 includes smaller
|
||||
improvements and bug fixes and significant cleanup, which are
|
||||
described in the Full Changelog. By the numbers:
|
||||
* 183 issues have been closed since v4.1
|
||||
* 105 pull requests have been merged since v4.1
|
||||
* 63 distinct people have contributed code
|
||||
- Bump requirements versions
|
||||
- Drop astropy-pr10329-unbundle-erfa_4.1.patch merged upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 22 09:36:36 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -34,8 +34,10 @@
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
# upcoming python3 multiflavor: minimum supported python is 3.7
|
||||
%define skip_python36 1
|
||||
Name: python-astropy
|
||||
Version: 4.1
|
||||
Version: 4.2
|
||||
Release: 0
|
||||
Summary: Community-developed python astronomy tools
|
||||
License: BSD-3-Clause
|
||||
@ -44,43 +46,41 @@ Source: https://files.pythonhosted.org/packages/source/a/astropy/astropy
|
||||
# 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-FEATURE-UPSTREAM astropy-pr10329-unbundle-erfa_4.1.patch gh#astropy/astropy#10329 -- unbundle _erfa and use pyerfa instead
|
||||
Patch0: astropy-pr10329-unbundle-erfa_4.1.patch
|
||||
# https://docs.astropy.org/en/v4.1/install.html#requirements
|
||||
BuildRequires: %{python_module Cython >= 0.21}
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module extension-helpers}
|
||||
BuildRequires: %{python_module numpy-devel >= 1.16}
|
||||
BuildRequires: %{python_module numpy-devel >= 1.17}
|
||||
BuildRequires: %{python_module pyerfa}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: hdf5-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python >= 3.6
|
||||
Requires: python >= 3.7
|
||||
Requires: python-dbm
|
||||
Requires: python-numpy >= 1.16.0
|
||||
Requires: python-numpy >= 1.17
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Recommends: libxml2-tools
|
||||
Recommends: python-Bottleneck
|
||||
Recommends: python-PyYAML >= 3.12
|
||||
Recommends: python-PyYAML >= 3.13
|
||||
Recommends: python-asdf >= 2.6
|
||||
Recommends: python-beautifulsoup4
|
||||
Recommends: python-bleach
|
||||
Recommends: python-h5py
|
||||
Recommends: python-html5lib
|
||||
Recommends: python-jplephem
|
||||
Recommends: python-matplotlib >= 2.1
|
||||
Recommends: python-matplotlib >= 3
|
||||
Recommends: python-mpmath
|
||||
Recommends: python-pandas
|
||||
Recommends: python-scipy >= 0.18
|
||||
Recommends: python-scipy >= 1.1
|
||||
Recommends: python-setuptools
|
||||
Recommends: python-sortedcontainers
|
||||
Conflicts: perl-Data-ShowTable
|
||||
%if %{with systemlibs}
|
||||
BuildRequires: %{python_module pyerfa}
|
||||
BuildRequires: pkgconfig(cfitsio)
|
||||
BuildRequires: pkgconfig(expat)
|
||||
BuildRequires: pkgconfig(wcslib) >= 7
|
||||
@ -89,17 +89,17 @@ Requires: python-pyerfa
|
||||
%if %{with test}
|
||||
# SECTION Optional requirements
|
||||
BuildRequires: %{python_module Bottleneck}
|
||||
BuildRequires: %{python_module PyYAML >= 3.12}
|
||||
BuildRequires: %{python_module PyYAML >= 3.13}
|
||||
BuildRequires: %{python_module asdf >= 2.6}
|
||||
BuildRequires: %{python_module beautifulsoup4}
|
||||
BuildRequires: %{python_module bleach}
|
||||
BuildRequires: %{python_module h5py}
|
||||
BuildRequires: %{python_module html5lib}
|
||||
BuildRequires: %{python_module jplephem}
|
||||
BuildRequires: %{python_module matplotlib >= 2.1}
|
||||
BuildRequires: %{python_module matplotlib >= 3}
|
||||
BuildRequires: %{python_module mpmath}
|
||||
BuildRequires: %{python_module pandas}
|
||||
BuildRequires: %{python_module scipy >= 0.18}
|
||||
BuildRequires: %{python_module scipy >= 1.1}
|
||||
BuildRequires: %{python_module sortedcontainers}
|
||||
BuildRequires: libxml2-tools
|
||||
# /SECTION
|
||||
@ -128,18 +128,12 @@ managing them.
|
||||
%setup -q -n astropy-%{version}
|
||||
|
||||
%if %{with systemlibs}
|
||||
# unbundle liberfa with new package pyerfa
|
||||
%patch0 -p1
|
||||
rm -rf cextern/erfa
|
||||
rm licenses/ERFA.rst
|
||||
|
||||
# Make sure bundled libs are not used
|
||||
rm -rf cextern/cfitsio
|
||||
rm -rf cextern/expat
|
||||
rm -rf cextern/wcslib
|
||||
rm licenses/EXPAT_LICENSE.rst
|
||||
rm licenses/WCSLIB_LICENSE.rst
|
||||
|
||||
%endif
|
||||
|
||||
# Disable test failure on DeprecationWarnings
|
||||
|
Loading…
Reference in New Issue
Block a user