diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:12:49 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:12:49 +0000 |
commit | 04e764af84f7e3c565cf9d2fc5959d45777604e0 (patch) | |
tree | b0555424f55f904ed46719276d5b13c5de18334c | |
parent | 852aa03e0d5aa8ecf841c2229d79ad997d896de3 (diff) |
automatic import of python-exoplanet
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-exoplanet.spec | 249 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 251 insertions, 0 deletions
@@ -0,0 +1 @@ +/exoplanet-0.5.3.tar.gz diff --git a/python-exoplanet.spec b/python-exoplanet.spec new file mode 100644 index 0000000..1e5d935 --- /dev/null +++ b/python-exoplanet.spec @@ -0,0 +1,249 @@ +%global _empty_manifest_terminate_build 0 +Name: python-exoplanet +Version: 0.5.3 +Release: 1 +Summary: Fast and scalable MCMC for all your exoplanet needs +License: MIT +URL: https://docs.exoplanet.codes +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3f/5b/7035a5d4a4154eb5fb0ec494da1843b727393652771fcf1ea904bead5a8f/exoplanet-0.5.3.tar.gz +BuildArch: noarch + +Requires: python3-exoplanet-core +Requires: python3-pymc3 +Requires: python3-aesara-theano-fallback +Requires: python3-astropy +Requires: python3-numpy +Requires: python3-sphinx-book-theme +Requires: python3-myst-nb +Requires: python3-matplotlib +Requires: python3-corner +Requires: python3-lightkurve +Requires: python3-pymc3-ext +Requires: python3-emcee +Requires: python3-pymc3-ext +Requires: python3-celerite2 +Requires: python3-scipy +Requires: python3-pytest +Requires: python3-coverage[toml] +Requires: python3-pytest-env + +%description +<p align="center"> + <img width="240" src="https://raw.githubusercontent.com/exoplanet-dev/exoplanet/main/docs/_static/logo.png"> + <br><br> + <a href="https://github.com/exoplanet-dev/exoplanet/actions/workflows/tests.yml"> + <img src="https://github.com/exoplanet-dev/exoplanet/actions/workflows/tests.yml/badge.svg" alt="Tests"> + </a> + <a href="https://docs.exoplanet.codes"> + <img src="https://readthedocs.org/projects/exoplanet/badge/?version=latest" alt="Docs"> + </a> + <a href="https://coveralls.io/github/exoplanet-dev/exoplanet?branch=main"> + <img src="https://coveralls.io/repos/github/exoplanet-dev/exoplanet/badge.svg?branch=main" alt="Coverage"> + </a> +</p> + +# exoplanet + +Fast & scalable MCMC for all your exoplanet needs! _exoplanet_ is a toolkit for +probabilistic modeling of time series data in astronomy with a focus on +observations of [exoplanets](https://en.wikipedia.org/wiki/Exoplanet), using +[PyMC3](https://docs.pymc.io). _PyMC3_ is a flexible and high-performance model +building language and inference engine that scales well to problems with a large +number of parameters. _exoplanet_ extends _PyMC3_'s language to support many of +the custom functions and distributions required when fitting exoplanet datasets. + +Read the full documentation at [docs.exoplanet.codes](https://docs.exoplanet.codes). + +## Installation + +The quickest way to get started is to use [pip](https://pip.pypa.io): + +```bash +python -m pip install exoplanet +``` + +Note that you will need Python (>=3.6) installed for this to work, but then this +will install all the required dependencies. + +Check out the [main installation documentation +page](https://docs.exoplanet.codes/en/latest/user/install/) for more options. + +## Usage + +Check out the tutorials and API docs on [the docs +page](https://docs.exoplanet.codes) for example usage and much more info. You +can also find more in-depth examples on the [exoplanet case studies +page](https://gallery.exoplanet.codes). + +## Contributing + +_exoplanet_ is an open source project and we would love it if you wanted to +contribute. Check out [the developer +documentation](https://docs.exoplanet.codes/en/latest/user/dev/) for more info +about getting started. + + +%package -n python3-exoplanet +Summary: Fast and scalable MCMC for all your exoplanet needs +Provides: python-exoplanet +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-exoplanet +<p align="center"> + <img width="240" src="https://raw.githubusercontent.com/exoplanet-dev/exoplanet/main/docs/_static/logo.png"> + <br><br> + <a href="https://github.com/exoplanet-dev/exoplanet/actions/workflows/tests.yml"> + <img src="https://github.com/exoplanet-dev/exoplanet/actions/workflows/tests.yml/badge.svg" alt="Tests"> + </a> + <a href="https://docs.exoplanet.codes"> + <img src="https://readthedocs.org/projects/exoplanet/badge/?version=latest" alt="Docs"> + </a> + <a href="https://coveralls.io/github/exoplanet-dev/exoplanet?branch=main"> + <img src="https://coveralls.io/repos/github/exoplanet-dev/exoplanet/badge.svg?branch=main" alt="Coverage"> + </a> +</p> + +# exoplanet + +Fast & scalable MCMC for all your exoplanet needs! _exoplanet_ is a toolkit for +probabilistic modeling of time series data in astronomy with a focus on +observations of [exoplanets](https://en.wikipedia.org/wiki/Exoplanet), using +[PyMC3](https://docs.pymc.io). _PyMC3_ is a flexible and high-performance model +building language and inference engine that scales well to problems with a large +number of parameters. _exoplanet_ extends _PyMC3_'s language to support many of +the custom functions and distributions required when fitting exoplanet datasets. + +Read the full documentation at [docs.exoplanet.codes](https://docs.exoplanet.codes). + +## Installation + +The quickest way to get started is to use [pip](https://pip.pypa.io): + +```bash +python -m pip install exoplanet +``` + +Note that you will need Python (>=3.6) installed for this to work, but then this +will install all the required dependencies. + +Check out the [main installation documentation +page](https://docs.exoplanet.codes/en/latest/user/install/) for more options. + +## Usage + +Check out the tutorials and API docs on [the docs +page](https://docs.exoplanet.codes) for example usage and much more info. You +can also find more in-depth examples on the [exoplanet case studies +page](https://gallery.exoplanet.codes). + +## Contributing + +_exoplanet_ is an open source project and we would love it if you wanted to +contribute. Check out [the developer +documentation](https://docs.exoplanet.codes/en/latest/user/dev/) for more info +about getting started. + + +%package help +Summary: Development documents and examples for exoplanet +Provides: python3-exoplanet-doc +%description help +<p align="center"> + <img width="240" src="https://raw.githubusercontent.com/exoplanet-dev/exoplanet/main/docs/_static/logo.png"> + <br><br> + <a href="https://github.com/exoplanet-dev/exoplanet/actions/workflows/tests.yml"> + <img src="https://github.com/exoplanet-dev/exoplanet/actions/workflows/tests.yml/badge.svg" alt="Tests"> + </a> + <a href="https://docs.exoplanet.codes"> + <img src="https://readthedocs.org/projects/exoplanet/badge/?version=latest" alt="Docs"> + </a> + <a href="https://coveralls.io/github/exoplanet-dev/exoplanet?branch=main"> + <img src="https://coveralls.io/repos/github/exoplanet-dev/exoplanet/badge.svg?branch=main" alt="Coverage"> + </a> +</p> + +# exoplanet + +Fast & scalable MCMC for all your exoplanet needs! _exoplanet_ is a toolkit for +probabilistic modeling of time series data in astronomy with a focus on +observations of [exoplanets](https://en.wikipedia.org/wiki/Exoplanet), using +[PyMC3](https://docs.pymc.io). _PyMC3_ is a flexible and high-performance model +building language and inference engine that scales well to problems with a large +number of parameters. _exoplanet_ extends _PyMC3_'s language to support many of +the custom functions and distributions required when fitting exoplanet datasets. + +Read the full documentation at [docs.exoplanet.codes](https://docs.exoplanet.codes). + +## Installation + +The quickest way to get started is to use [pip](https://pip.pypa.io): + +```bash +python -m pip install exoplanet +``` + +Note that you will need Python (>=3.6) installed for this to work, but then this +will install all the required dependencies. + +Check out the [main installation documentation +page](https://docs.exoplanet.codes/en/latest/user/install/) for more options. + +## Usage + +Check out the tutorials and API docs on [the docs +page](https://docs.exoplanet.codes) for example usage and much more info. You +can also find more in-depth examples on the [exoplanet case studies +page](https://gallery.exoplanet.codes). + +## Contributing + +_exoplanet_ is an open source project and we would love it if you wanted to +contribute. Check out [the developer +documentation](https://docs.exoplanet.codes/en/latest/user/dev/) for more info +about getting started. + + +%prep +%autosetup -n exoplanet-0.5.3 + +%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-exoplanet -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.3-1 +- Package Spec generated @@ -0,0 +1 @@ +e44bd8db6686b30841a346f4350affd8 exoplanet-0.5.3.tar.gz |