diff --git a/python-astropy-system-configobj.patch b/python-astropy-system-configobj.patch index 0800cda..936a17e 100644 --- a/python-astropy-system-configobj.patch +++ b/python-astropy-system-configobj.patch @@ -1,12 +1,12 @@ -diff -ur astropy-4.3.1/astropy/config/configuration.py astropy-4.3.1.config/astropy/config/configuration.py ---- astropy-4.3.1/astropy/config/configuration.py 2021-08-11 22:17:12.000000000 +0200 -+++ astropy-4.3.1.config/astropy/config/configuration.py 2021-09-09 20:46:52.753940849 +0200 +diff -Naur astropy-5.0/astropy/config/configuration.py astropy-5.0.new/astropy/config/configuration.py +--- astropy-5.0/astropy/config/configuration.py 2021-11-19 15:17:19.000000000 +0100 ++++ astropy-5.0.new/astropy/config/configuration.py 2021-12-26 15:49:25.160408248 +0100 @@ -20,7 +20,7 @@ from warnings import warn - from contextlib import contextmanager + from contextlib import contextmanager, nullcontext -from astropy.extern.configobj import configobj, validate +import configobj, validate from astropy.utils import find_current_module, silence + from astropy.utils.decorators import deprecated from astropy.utils.exceptions import AstropyDeprecationWarning, AstropyWarning - from astropy.utils.compat.context import nullcontext diff --git a/python-astropy-system-ply.patch b/python-astropy-system-ply.patch index d61ba9c..04172cb 100644 --- a/python-astropy-system-ply.patch +++ b/python-astropy-system-ply.patch @@ -1,6 +1,6 @@ -diff -ur astropy-4.3.1/astropy/coordinates/angle_formats.py astropy-4.3.1.ply/astropy/coordinates/angle_formats.py ---- astropy-4.3.1/astropy/coordinates/angle_formats.py 2021-08-11 22:17:12.000000000 +0200 -+++ astropy-4.3.1.ply/astropy/coordinates/angle_formats.py 2021-09-09 21:08:11.871724229 +0200 +diff -Naur astropy-5.0/astropy/coordinates/angle_formats.py astropy-5.0.new/astropy/coordinates/angle_formats.py +--- astropy-5.0/astropy/coordinates/angle_formats.py 2021-11-19 15:17:19.000000000 +0100 ++++ astropy-5.0.new/astropy/coordinates/angle_formats.py 2021-12-26 15:48:30.423519098 +0100 @@ -75,7 +75,7 @@ @classmethod @@ -10,9 +10,9 @@ diff -ur astropy-4.3.1/astropy/coordinates/angle_formats.py astropy-4.3.1.ply/as # List of token names. tokens = ( -diff -ur astropy-4.3.1/astropy/utils/parsing.py astropy-4.3.1.ply/astropy/utils/parsing.py ---- astropy-4.3.1/astropy/utils/parsing.py 2021-08-11 22:17:12.000000000 +0200 -+++ astropy-4.3.1.ply/astropy/utils/parsing.py 2021-09-09 21:08:42.559223258 +0200 +diff -Naur astropy-5.0/astropy/utils/parsing.py astropy-5.0.new/astropy/utils/parsing.py +--- astropy-5.0/astropy/utils/parsing.py 2021-11-19 15:17:19.000000000 +0100 ++++ astropy-5.0.new/astropy/utils/parsing.py 2021-12-26 15:48:30.425519094 +0100 @@ -84,7 +84,7 @@ reflags : int Passed to ``ply.lex``. diff --git a/python-astropy.spec b/python-astropy.spec index abb7ec7..c9038f3 100644 --- a/python-astropy.spec +++ b/python-astropy.spec @@ -3,7 +3,7 @@ %global srcname astropy Name: python-%{srcname} -Version: 4.3.1 +Version: 5.0 Release: 1%{?dist} Summary: A Community Python Library for Astronomy License: BSD @@ -43,6 +43,8 @@ BuildRequires: %{py3_dist numpy} BuildRequires: %{py3_dist extension-helpers} BuildRequires: %{py3_dist configobj} BuildRequires: %{py3_dist ply} +BuildRequires: %{py3_dist pyyaml} +BuildRequires: %{py3_dist packaging} %if %{with check} BuildRequires: %{py3_dist pytest} BuildRequires: %{py3_dist hypothesis} @@ -159,6 +161,9 @@ popd %license LICENSE.rst %changelog +* Sun Dec 26 2021 Christian dersch - 5.0-1 +- new version + * Fri Sep 10 2021 Sergio Pascual - 4.3.1-1 - New upstream source 4.3.1 diff --git a/sources b/sources index 5378163..355d422 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (astropy-4.3.1.tar.gz) = ca674ef9773ddce33e8849c41e3ed8a5bf66fc8b983f6bc9cfd82f1c7c282bbb05f59ab48a112c21c0ec6895b5e8982b1067e5ae97f21c9d63527a78bd0a8ad7 +SHA512 (astropy-5.0.tar.gz) = 3c0b0cdef434f27ee399fbfc3d55b95ce8395624caf8e73a205dba7742c39d8a2bcea9bf61c2c20235da7388d40c657c5474bfc7e3dc3c9e5911e39bab47cdb9