Hello community,
here is the log from the commit of package python-jplephem for openSUSE:Factory
checked in at 2020-02-03 11:12:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jplephem (Old)
and /work/SRC/openSUSE:Factory/.python-jplephem.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jplephem"
Mon Feb 3 11:12:54 2020 rev:3 rq:768800 version:2.12
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jplephem/python-jplephem.changes
2019-01-21 10:49:17.656096904 +0100
+++
/work/SRC/openSUSE:Factory/.python-jplephem.new.26092/python-jplephem.changes
2020-02-03 11:13:09.629840146 +0100
@@ -1,0 +2,16 @@
+Thu Jan 30 15:00:28 UTC 2020 - Todd R <[email protected]>
+
+- Update to 2.12
+ * Replaced use of NumPy ``flip()`` with a reverse slice ``[::-1]`` after
+ discovering the function was a recent addition that some user installs
+ of NumPy do not support.
+- Update to 2.11
+ * Reverse the order in which Chebyshev polynomials are computed to
+ slightly increase speed, to simplify the code, and in one case
+ (comparing PCK output to NASA) to gain a partial digit of extra
+ precision.
+- Update to 2.10
+ * Document and release support for ``.bcp`` binary PCK kernel files
+ through the new ``jplephem.pck`` module.
+
+-------------------------------------------------------------------
Old:
----
jplephem-2.9.tar.gz
New:
----
python-jplephem-2.12.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jplephem.spec ++++++
--- /var/tmp/diff_new_pack.KAAtHn/_old 2020-02-03 11:13:11.805841246 +0100
+++ /var/tmp/diff_new_pack.KAAtHn/_new 2020-02-03 11:13:11.809841248 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-jplephem
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jplephem
-Version: 2.9
+Version: 2.12
Release: 0
Summary: Planet position predictor using a JPL ephemeris
License: MIT
Group: Development/Languages/Python
-Url: https://github.com/brandon-rhodes/python-jplephem/
-Source:
https://files.pythonhosted.org/packages/source/j/jplephem/jplephem-%{version}.tar.gz
+URL: https://github.com/brandon-rhodes/python-jplephem/
+Source:
https://github.com/brandon-rhodes/python-jplephem/archive/v%{version}.tar.gz#/python-jplephem-%{version}.tar.gz
# Test files
Source10:
http://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/a_old_versions/de405.bsp
Source11:
http://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/a_old_versions/de421.bsp
@@ -46,11 +46,11 @@
Solar System body. It only needs NumPy <http://www.numpy.org/>`.
%prep
-%setup -q -n jplephem-%{version}
-cp %{SOURCE10} .
-cp %{SOURCE11} .
-cp %{SOURCE12} .
-cp %{SOURCE13} .
+%setup -q -n python-jplephem-%{version}
+cp %{SOURCE10} ci
+cp %{SOURCE11} ci
+cp %{SOURCE12} ci
+cp %{SOURCE13} ci
%build
%python_build
@@ -60,9 +60,15 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_exec -m jplephem.jpltest
+pushd ci
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
+$python -m jplephem.jpltest
+}
+popd
%files %{python_files}
+%doc README.md
+%license LICENSE.txt
%{python_sitelib}/*
%changelog