Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-drms for openSUSE:Factory checked in at 2021-08-06 22:44:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-drms (Old) and /work/SRC/openSUSE:Factory/.python-drms.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-drms" Fri Aug 6 22:44:49 2021 rev:4 rq:910393 version:0.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-drms/python-drms.changes 2021-04-21 21:00:59.686352111 +0200 +++ /work/SRC/openSUSE:Factory/.python-drms.new.1899/python-drms.changes 2021-08-06 22:45:29.301995289 +0200 @@ -1,0 +2,13 @@ +Thu Aug 5 18:39:53 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.6.2 + * Python 2 support has been dropped, only Python 3.7 or higher is + supported. + * Client.get() has been removed, use `drms.client.Client.query()` + instead. + * `drms.client.Client.export` now accepts a process keyword + argument. This allows users to specify additional server-side + processing options such as image cutouts. See the "Processing" + section of the JSOC Data Export page for more information. + +------------------------------------------------------------------- Old: ---- drms-0.5.7.tar.gz New: ---- drms-0.6.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-drms.spec ++++++ --- /var/tmp/diff_new_pack.7G7J12/_old 2021-08-06 22:45:29.777994445 +0200 +++ /var/tmp/diff_new_pack.7G7J12/_new 2021-08-06 22:45:29.781994437 +0200 @@ -17,26 +17,30 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 %define skip_python36 1 Name: python-drms -Version: 0.5.7 +Version: 0.6.2 Release: 0 Summary: Tool to access HMI, AIA and MDI data with Python License: MIT URL: https://github.com/sunpy/drms -Source: https://github.com/sunpy/drms/archive/v%{version}.tar.gz#/drms-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/d/drms/drms-%{version}.tar.gz +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-numpy >= 1.9.0 -Requires: python-pandas >= 0.15.0 -Requires: python-six >= 1.8.0 +Requires: python-numpy +Requires: python-pandas +Requires(postun):update-alternatives +Requires(post): update-alternatives BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module numpy >= 1.9.0} -BuildRequires: %{python_module pandas >= 0.15.0} +BuildRequires: %{python_module astropy} +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pandas} +BuildRequires: %{python_module pytest-astropy} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module six >= 1.8.0} # /SECTION %python_subpackages @@ -53,14 +57,23 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/drms %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec -m drms.tests +%pytest + +%post +%python_install_alternative drms + +%postun +%python_uninstall_alternative drms %files %{python_files} -%doc AUTHORS.txt README.rst -%license LICENSE.txt -%{python_sitelib}/* +%doc CITATION.rst README.rst +%license LICENSE.rst +%python_alternative %{_bindir}/drms +%{python_sitelib}/drms +%{python_sitelib}/drms-%{version}*-info %changelog ++++++ drms-0.5.7.tar.gz -> drms-0.6.2.tar.gz ++++++ ++++ 12074 lines of diff (skipped)