Overview
Request 820014 accepted
A Python astronomy package that makes it easy to generate high precision
research-grade positions for planets and Earth satellites.
- Created by bnavigator
- In state accepted
- Package maintainer: bnavigator
- Supersedes 819839
+%if 0%{?suse_version} > 1500 22+%bcond_with python2 23+%else 24+%bcond_without python2 25+%endif
This does not need to be conditioned, %bcond_without python2 is properly overriden on TW
But not on the other repositories configured in d:l:p:n
without python2-sgp4 there can't be a python2-skyfield anyway
Where is the testdata comming from, is there way how to generate them?
The python module normally downloads it itself if it is not present in the current working directory.
I can put the download URLs into the spec like this and upload to OBS directly:
Source1: https://naif.jpl.nasa.gov/pub/naif/generic_kernels/fk/satellites/moon_080317.tf Source2: https://naif.jpl.nasa.gov/pub/naif/generic_kernels/pck/moon_pa_de421_1900-2050.bpc Source3: https://naif.jpl.nasa.gov/pub/naif/generic_kernels/pck/a_old_versions/pck00008.tpc Source4: ftp://ssd.jpl.nasa.gov/pub/eph/planets/bsp/de405.bsp Source5: ftp://ssd.jpl.nasa.gov/pub/eph/planets/bsp/de421.bsp Source6: ftp://cddis.nasa.gov/products/iers/deltat.data Source7: ftp://cddis.nasa.gov/products/iers/deltat.preds Source8: https://hpiers.obspm.fr/iers/bul/bulc/Leap_Second.dat Source9: http://cdsarc.u-strasbg.fr/ftp/cats/I/239/hip_main.dat.gz
Both patches should be really submitted upstream, there is nothing opensuse specific in them.
On the float comparison I agree, but the upstream author seems to like his own testrunner and it is not really designed for the OBS use case: https://rhodesmill.org/brandon/talks/#design-of-assay
Assay does not exist on openSUSE and I did not want to deal with creating another package.
Request History
bnavigator created request
A Python astronomy package that makes it easy to generate high precision
research-grade positions for planets and Earth satellites.
mcepl accepted request
LGTM