summaryrefslogtreecommitdiff
path: root/python-starry.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-starry.spec')
-rw-r--r--python-starry.spec201
1 files changed, 201 insertions, 0 deletions
diff --git a/python-starry.spec b/python-starry.spec
new file mode 100644
index 0000000..27a55de
--- /dev/null
+++ b/python-starry.spec
@@ -0,0 +1,201 @@
+%global _empty_manifest_terminate_build 0
+Name: python-starry
+Version: 1.2.0
+Release: 1
+Summary: Analytic occultation light curves for astronomy.
+License: MIT
+URL: https://github.com/rodluger/starry
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a7/b0/7c57fd982a994140c6a35266ca308e21daab800d3b3911da14de11290506/starry-1.2.0.tar.gz
+
+Requires: python3-setuptools-scm
+Requires: python3-numpy
+Requires: python3-scipy
+Requires: python3-astropy
+Requires: python3-pymc3
+Requires: python3-pymc3-ext
+Requires: python3-aesara-theano-fallback
+Requires: python3-matplotlib
+Requires: python3-ipython
+Requires: python3-exoplanet
+Requires: python3-bokeh
+Requires: python3-packaging
+Requires: python3-sphinx
+Requires: python3-pandoc
+Requires: python3-jupyter-client
+Requires: python3-jupyter
+Requires: python3-jupytext
+Requires: python3-ipywidgets
+Requires: python3-nbformat
+Requires: python3-nbconvert
+Requires: python3-rtds-action
+Requires: python3-nbsphinx
+Requires: python3-tqdm
+Requires: python3-jinja2
+Requires: python3-parameterized
+Requires: python3-nose
+Requires: python3-pytest
+Requires: python3-pytest-dependency
+Requires: python3-pytest-env
+Requires: python3-pytest-cov
+Requires: python3-scikit-image
+Requires: python3-pillow
+Requires: python3-tqdm
+Requires: python3-mpmath
+
+%description
+<p align="center">
+ <img width = "450" src="https://github.com/rodluger/starry/blob/master/docs/starry.png?raw=true"/>
+ <br>
+ <br>
+ Tools for mapping stars and exoplanets.
+ <p align="center">
+ <!-- tests -->
+ <a href="https://github.com/rodluger/starry/actions/workflows/tests.yml">
+ <img src="https://github.com/rodluger/starry/actions/workflows/tests.yml/badge.svg" alt="Test status"/>
+ </a>
+ <!-- coverage -->
+ <a href="https://coveralls.io/github/rodluger/starry">
+ <img src="https://coveralls.io/repos/github/rodluger/starry/badge.svg?branch=master" alt="Coverage status"/>
+ </a>
+ <br/>
+ <!-- build docs -->
+ <a href='https://starry.readthedocs.io/en/latest/?badge=latest'>
+ <img src='https://readthedocs.org/projects/starry/badge/?version=latest' alt="Documentation status" />
+ </a>
+ <!-- build notebooks -->
+ <a href="https://starry.readthedocs.io/en/latest/tutorials/">
+ <img src="https://github.com/rodluger/starry/actions/workflows/tutorials.yml/badge.svg" alt="Notebook status"/>
+ </a>
+ <!-- read the paper -->
+ <a href="http://adsabs.harvard.edu/abs/2019AJ....157...64L">
+ <img src="https://img.shields.io/badge/paper-Astronomical%20Journal-blue.svg?style=flat" alt="Read the paper"/>
+ </a>
+ </p>
+</p>
+
+
+
+
+%package -n python3-starry
+Summary: Analytic occultation light curves for astronomy.
+Provides: python-starry
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-starry
+<p align="center">
+ <img width = "450" src="https://github.com/rodluger/starry/blob/master/docs/starry.png?raw=true"/>
+ <br>
+ <br>
+ Tools for mapping stars and exoplanets.
+ <p align="center">
+ <!-- tests -->
+ <a href="https://github.com/rodluger/starry/actions/workflows/tests.yml">
+ <img src="https://github.com/rodluger/starry/actions/workflows/tests.yml/badge.svg" alt="Test status"/>
+ </a>
+ <!-- coverage -->
+ <a href="https://coveralls.io/github/rodluger/starry">
+ <img src="https://coveralls.io/repos/github/rodluger/starry/badge.svg?branch=master" alt="Coverage status"/>
+ </a>
+ <br/>
+ <!-- build docs -->
+ <a href='https://starry.readthedocs.io/en/latest/?badge=latest'>
+ <img src='https://readthedocs.org/projects/starry/badge/?version=latest' alt="Documentation status" />
+ </a>
+ <!-- build notebooks -->
+ <a href="https://starry.readthedocs.io/en/latest/tutorials/">
+ <img src="https://github.com/rodluger/starry/actions/workflows/tutorials.yml/badge.svg" alt="Notebook status"/>
+ </a>
+ <!-- read the paper -->
+ <a href="http://adsabs.harvard.edu/abs/2019AJ....157...64L">
+ <img src="https://img.shields.io/badge/paper-Astronomical%20Journal-blue.svg?style=flat" alt="Read the paper"/>
+ </a>
+ </p>
+</p>
+
+
+
+
+%package help
+Summary: Development documents and examples for starry
+Provides: python3-starry-doc
+%description help
+<p align="center">
+ <img width = "450" src="https://github.com/rodluger/starry/blob/master/docs/starry.png?raw=true"/>
+ <br>
+ <br>
+ Tools for mapping stars and exoplanets.
+ <p align="center">
+ <!-- tests -->
+ <a href="https://github.com/rodluger/starry/actions/workflows/tests.yml">
+ <img src="https://github.com/rodluger/starry/actions/workflows/tests.yml/badge.svg" alt="Test status"/>
+ </a>
+ <!-- coverage -->
+ <a href="https://coveralls.io/github/rodluger/starry">
+ <img src="https://coveralls.io/repos/github/rodluger/starry/badge.svg?branch=master" alt="Coverage status"/>
+ </a>
+ <br/>
+ <!-- build docs -->
+ <a href='https://starry.readthedocs.io/en/latest/?badge=latest'>
+ <img src='https://readthedocs.org/projects/starry/badge/?version=latest' alt="Documentation status" />
+ </a>
+ <!-- build notebooks -->
+ <a href="https://starry.readthedocs.io/en/latest/tutorials/">
+ <img src="https://github.com/rodluger/starry/actions/workflows/tutorials.yml/badge.svg" alt="Notebook status"/>
+ </a>
+ <!-- read the paper -->
+ <a href="http://adsabs.harvard.edu/abs/2019AJ....157...64L">
+ <img src="https://img.shields.io/badge/paper-Astronomical%20Journal-blue.svg?style=flat" alt="Read the paper"/>
+ </a>
+ </p>
+</p>
+
+
+
+
+%prep
+%autosetup -n starry-1.2.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-starry -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.0-1
+- Package Spec generated