- Update to 1.47
* Added faster and more accurate almanac routines
:func:`~skyfield.almanac.find_risings()` and
:func:`~skyfield.almanac.find_settings()` and
:func:`~skyfield.almanac.find_transits()`.
* Skyfield’s internal table for the ∆T Earth orientation
parameter has been updated, so that its predictions now extend
to 2025-01-18.
* Constellation abbreviations are now consistent between the
:func:`~skyfield.api.load_constellation_map()` table and the
:func:`~skyfield.api.load_constellation_names()` list.
Previously, ``CVn`` and ``TrA`` had been mis-capitalized in the
list as ``Cvn`` and ``Tra``.
- Skip testing python312: gh#brandon-rhodes/assay#15 still an issue
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-skyfield?expand=0&rev=53
This commit is contained in:
1684
finals2000A.all
1684
finals2000A.all
File diff suppressed because it is too large
Load Diff
@@ -1 +0,0 @@
|
||||
addFilter('explicit-lib-dependency python.*lib')
|
||||
@@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 4 11:12:44 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 1.47
|
||||
* Added faster and more accurate almanac routines
|
||||
:func:`~skyfield.almanac.find_risings()` and
|
||||
:func:`~skyfield.almanac.find_settings()` and
|
||||
:func:`~skyfield.almanac.find_transits()`.
|
||||
* Skyfield’s internal table for the ∆T Earth orientation
|
||||
parameter has been updated, so that its predictions now extend
|
||||
to 2025-01-18.
|
||||
* Constellation abbreviations are now consistent between the
|
||||
:func:`~skyfield.api.load_constellation_map()` table and the
|
||||
:func:`~skyfield.api.load_constellation_names()` list.
|
||||
Previously, ``CVn`` and ``TrA`` had been mis-capitalized in the
|
||||
list as ``Cvn`` and ``Tra``.
|
||||
- Skip testing python312: gh#brandon-rhodes/assay#15 still an issue
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 24 09:46:49 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-skyfield
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,11 +18,8 @@
|
||||
|
||||
%define assaycommit bb62d1f7d51d798b05a88045fff3a2ff92c299c3
|
||||
%define assayver 264.bb62d1f
|
||||
# gh#brandon-rhodes/assay#15
|
||||
%define skip_python311 1
|
||||
%define skip_python312 1
|
||||
Name: python-skyfield
|
||||
Version: 1.46
|
||||
Version: 1.47
|
||||
Release: 0
|
||||
Summary: Elegant astronomy for Python
|
||||
License: MIT
|
||||
@@ -39,33 +36,31 @@ Source6: hip_main.dat.gz
|
||||
Source7: https://datacenter.iers.org/data/9/finals2000A.all
|
||||
# Original with invalid https certificate or http url: http://astro.ukho.gov.uk/nao/lvm/Table-S15.2020.txt
|
||||
Source8: https://github.com/skyfielders/python-skyfield/raw/%{version}/Table-S15.2020.txt
|
||||
Source9: https://github.com/skyfielders/python-skyfield/raw/%{version}/ci/tyc_main_head.dat
|
||||
Source97: generate-hipparcos.sh
|
||||
# upstreams custom test runner assay: gh#skyfielders/python-skyfield#405
|
||||
Source98: https://github.com/brandon-rhodes/assay/archive/%{assaycommit}.tar.gz#/assay-master-%{assayver}.tar.gz
|
||||
Source99: python-skyfield-rpmlintrc
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
# SECTION test
|
||||
BuildRequires: %{python_module certifi >= 2017.4.17}
|
||||
BuildRequires: %{python_module astropy}
|
||||
BuildRequires: %{python_module beautifulsoup4}
|
||||
BuildRequires: %{python_module certifi}
|
||||
BuildRequires: %{python_module html5lib}
|
||||
BuildRequires: %{python_module jplephem >= 2.13}
|
||||
BuildRequires: %{python_module lxml}
|
||||
BuildRequires: %{python_module matplotlib}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module pandas}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module sgp4 >= 2.2}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-astropy
|
||||
Requires: python-beautifulsoup4
|
||||
Requires: python-certifi
|
||||
Requires: python-html5lib
|
||||
Requires: python-certifi >= 2017.4.17
|
||||
Requires: python-jplephem >= 2.13
|
||||
Requires: python-lxml
|
||||
Requires: python-matplotlib
|
||||
Requires: python-numpy
|
||||
Requires: python-pandas
|
||||
Requires: python-sgp4 >= 2.2
|
||||
Recommends: python-astropy
|
||||
Recommends: python-matplotlib
|
||||
Recommends: python-pandas
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -76,7 +71,7 @@ research-grade positions for planets and Earth satellites.
|
||||
%prep
|
||||
%setup -q -n skyfield-%{version} -b 98
|
||||
# copy all test data files into the rootdir from where the tests are run
|
||||
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} ./
|
||||
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9} ./
|
||||
|
||||
# allow some float error for all platforms -- gh#skyfielders/python-skyfield#582
|
||||
sed -i 's/if IS_32_BIT/if True/' skyfield/tests/test_planetarylib.py
|
||||
@@ -84,21 +79,28 @@ sed -i 's/assert abs(distance.au - 1) < 1e-16/assert abs(distance.au - 1) < 1e-1
|
||||
|
||||
%build
|
||||
export SKYFIELD_USE_SETUPTOOLS=1
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
export SKYFIELD_USE_SETUPTOOLS=1
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export PYTHONPATH="../assay-%{assaycommit}"
|
||||
%python_exec -m assay --batch skyfield.tests
|
||||
%{python_expand #
|
||||
if [ %{$python_version_nodots} -lt 311 ]; then
|
||||
$python -m assay --batch skyfield.tests
|
||||
else
|
||||
# assay not compatible, at least test that we import. gh#brandon-rhodes/assay#15
|
||||
$python -c 'import skyfield'
|
||||
fi
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/skyfield
|
||||
%{python_sitelib}/skyfield-%{version}-py*.egg-info
|
||||
%{python_sitelib}/skyfield-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:27a54edbc46232a11019bcd88a9b74d36770aff26ff8ee631b90a81ba0be93e4
|
||||
size 399475
|
||||
3
skyfield-1.47.tar.gz
Normal file
3
skyfield-1.47.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3ac3e178c20547fa8e86adae4fdebcc8b4a744a184394268ce55338426bfe208
|
||||
size 403275
|
||||
10
tyc_main_head.dat
Normal file
10
tyc_main_head.dat
Normal file
@@ -0,0 +1,10 @@
|
||||
T| 1 13 1| |00 04 30.12|+02 16 02.6| 8.50| | |001.12551719|+02.26739188| | 9.6 | 28.7 | -10.5 | 10.3 | 7.5 | 11.9 | 14.4 | 11.6 |+0.21|+0.18|-0.07|-0.21|+0.00|+0.00|+0.01|-0.12|+0.04|+0.28|116|-0.72| |10.555|0.041| 8.682|0.016|N| 1.560|0.039| |3|10.6| | 90|0.108| 8.57| 8.79| | |Y|B| |143110|225210|B+01 4824 | | |
|
||||
T| 1 17 1| |00 00 12.20|+01 46 17.4| 9.80| | |000.05081860|+01.77149877|X| 35.1 | -66.2 | -1.2 | 44.0 | 19.6 | 42.2 | 49.9 | 22.7 |+0.02|+0.26|+0.10|+0.04|+0.11|+0.12|+0.16|-0.13|+0.20|+0.10| 98| 4.68| |10.635|0.049| 9.874|0.039|N| 0.677|0.051| |4| 6.7| |112|0.436| 9.46|10.63| | |S|B| |143038|224725|B+00 5079 | | |
|
||||
T| 1 39 1| |00 09 29.13|+02 18 14.5| 9.39| | |002.37138561|+02.30404128| | 6.4 | 7.9 | -15.7 | 10.9 | 9.5 | 12.0 | 10.3 | 9.0 |+0.10|-0.09|-0.03|-0.17|+0.03|+0.03|+0.02|-0.03|+0.04|+0.16| 97| 0.78| | 9.519|0.020| 9.405|0.026|N| 0.099|0.032| |3| 9.6| | 88|0.345| 9.09| 9.69| | |Y|B| |143198| 490|B+01 6 | | |
|
||||
T| 1 58 1| |00 05 03.46|+01 02 16.2| 8.81| | |001.26440304|+01.03782998| | 4.4 | 84.1 | -59.9 | 10.3 | 7.6 | 11.0 | 13.7 | 9.7 |+0.22|+0.07|-0.01|-0.33|-0.14|-0.03|-0.13|-0.29|+0.00|+0.15|129| 0.83| 416| 9.735|0.021| 8.890|0.017|N| 0.744|0.022| |3|11.4| |119|0.198| 8.69| 9.07| | |Y|B| |143121|225294|B+00 5085 | | |
|
||||
T| 1 83 1| |00 06 40.25|+02 06 19.3|10.38| | |001.66771919|+02.10536303| |-105.5 | 36.9 | -8.0 | 36.5 | 26.2 | 38.6 | 38.2 | 26.1 |+0.28|+0.43|+0.23|-0.45|-0.20|-0.25|-0.18|-0.47|-0.09|+0.16|121|-0.23| |11.888|0.131|10.511|0.061|N| 1.163|0.127| |4| 7.9| |122|0.584| 9.97|12.06| | |Z| | | | | | | |
|
||||
T| 1 150 1| |00 00 32.35|+01 57 20.4|10.53| | |000.13477825|+01.95566981| | 40.2 | -22.3 | 5.6 | 51.8 | 30.0 | 55.5 | 61.1 | 32.3 |+0.04|+0.28|+0.15|-0.16|+0.17|+0.24|+0.16|-0.14|+0.12|-0.11| 82| 1.84| |12.055|0.174|10.659|0.080|N| 1.178|0.175| |5| 5.1| |105|0.712|10.07|12.41| | |Z| | | | | | | |
|
||||
T| 1 162 1| |00 00 47.28|+02 23 05.8| 9.52| | |000.19699697|+02.38495347| | 18.4 | 40.8 | -12.0 | 14.7 | 10.3 | 17.3 | 19.5 | 13.7 |+0.19|+0.41|+0.15|+0.10|+0.02|+0.25|-0.02|-0.09|+0.06|-0.24|121| 0.12| |10.038|0.026| 9.571|0.027|N| 0.439|0.037| |3|10.8| |114|0.211| 9.34| 9.96| | |Y|B| |143052|224794|B+01 4817 | | |
|
||||
T| 1 186 1| |00 08 02.73|+02 26 40.4|10.85| | |002.01135430|+02.44455274| | -2.0 | -46.8 | -40.0 | 41.8 | 36.4 | 48.5 | 42.7 | 39.9 |+0.09|+0.04|+0.19|+0.08|-0.15|-0.21|-0.13|+0.04|-0.04|+0.16|101| 2.21| |11.660|0.115|10.922|0.095|N| 0.659|0.126| |4| 6.5| |114|0.720|10.25|13.53| | |Z| | | | | | | |
|
||||
T| 1 193 1| |00 09 18.82|+02 27 45.0|10.99| | |002.32841415|+02.46250710| |-164.2 | 33.8 | 41.1 | 40.7 | 40.3 | 47.1 | 39.4 | 41.9 |+0.10|+0.08|+0.14|-0.20|+0.10|+0.05|+0.04|-0.02|-0.11|+0.37| 78| 0.72| |11.559|0.111|11.043|0.115|N| 0.484|0.134| |4| 5.9| | 92|0.590|10.34|13.61| | |Z| | | | | | | |
|
||||
T| 1 194 1| |00 00 06.41|+01 19 55.0| 9.35| | |000.02669915|+01.33195246| | -4.6 | -31.5 | 22.0 | 14.5 | 10.6 | 15.6 | 16.5 | 12.2 |+0.03|+0.12|-0.06|-0.29|+0.13|-0.12|+0.12|-0.12|+0.02|+0.05|140| 0.14| |10.614|0.038| 9.458|0.023|N| 0.989|0.036| |3|11.7| |127|0.241| 9.18| 9.74| | |Y|B| |143036|224711|B+00 5078 | | |
|
||||
Reference in New Issue
Block a user