summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 07:59:46 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 07:59:46 +0000
commita84106820968d00c554e27d131f99d666237b3f1 (patch)
tree5551f2e068745b6236d1b5cbea6668c10adf538a
parent3cacd948d1e2bd40dcdb9642132c8dffb81940a7 (diff)
automatic import of python-orbit-predictor
-rw-r--r--.gitignore1
-rw-r--r--python-orbit-predictor.spec98
-rw-r--r--sources1
3 files changed, 100 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5586f0e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/orbit-predictor-1.15.0.tar.gz
diff --git a/python-orbit-predictor.spec b/python-orbit-predictor.spec
new file mode 100644
index 0000000..8249fa4
--- /dev/null
+++ b/python-orbit-predictor.spec
@@ -0,0 +1,98 @@
+%global _empty_manifest_terminate_build 0
+Name: python-orbit-predictor
+Version: 1.15.0
+Release: 1
+Summary: Python library to propagate satellite orbits.
+License: MIT
+URL: https://github.com/satellogic/orbit-predictor
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c2/98/c1497925d73f522d17a2db3e704a85fdad17fcd191464b82fad82e73aedb/orbit-predictor-1.15.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-sgp4
+Requires: python3-requests
+Requires: python3-hypothesis
+Requires: python3-flake8
+Requires: python3-hypothesis[datetime]
+Requires: python3-mock
+Requires: python3-logassert
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytest-benchmark
+Requires: python3-pytz
+Requires: python3-numba
+Requires: python3-scipy
+
+%description
+Orbit Predictor is a Python library to propagate orbits of Earth-orbiting objects (satellites, ISS,
+Santa Claus, etc) using `TLE (Two-Line Elements set) <https://en.wikipedia.org/wiki/Two-line_element_set>`_
+All the hard work is done by Brandon Rhodes implementation of
+`SGP4 <https://github.com/brandon-rhodes/python-sgp4>`_.
+We can say *Orbit predictor* is kind of a "wrapper" for the python implementation of SGP4
+
+%package -n python3-orbit-predictor
+Summary: Python library to propagate satellite orbits.
+Provides: python-orbit-predictor
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-orbit-predictor
+Orbit Predictor is a Python library to propagate orbits of Earth-orbiting objects (satellites, ISS,
+Santa Claus, etc) using `TLE (Two-Line Elements set) <https://en.wikipedia.org/wiki/Two-line_element_set>`_
+All the hard work is done by Brandon Rhodes implementation of
+`SGP4 <https://github.com/brandon-rhodes/python-sgp4>`_.
+We can say *Orbit predictor* is kind of a "wrapper" for the python implementation of SGP4
+
+%package help
+Summary: Development documents and examples for orbit-predictor
+Provides: python3-orbit-predictor-doc
+%description help
+Orbit Predictor is a Python library to propagate orbits of Earth-orbiting objects (satellites, ISS,
+Santa Claus, etc) using `TLE (Two-Line Elements set) <https://en.wikipedia.org/wiki/Two-line_element_set>`_
+All the hard work is done by Brandon Rhodes implementation of
+`SGP4 <https://github.com/brandon-rhodes/python-sgp4>`_.
+We can say *Orbit predictor* is kind of a "wrapper" for the python implementation of SGP4
+
+%prep
+%autosetup -n orbit-predictor-1.15.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-orbit-predictor -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.15.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..c56364e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+19c68e2294c92ea2649dbe9aacccf872 orbit-predictor-1.15.0.tar.gz