summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-phoebe.spec87
-rw-r--r--sources1
3 files changed, 89 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..baaa0b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/phoebe-2.4.10.tar.gz
diff --git a/python-phoebe.spec b/python-phoebe.spec
new file mode 100644
index 0000000..33eb4cb
--- /dev/null
+++ b/python-phoebe.spec
@@ -0,0 +1,87 @@
+%global _empty_manifest_terminate_build 0
+Name: python-phoebe
+Version: 2.4.10
+Release: 1
+Summary: PHOEBE 2.4
+License: GNU General Public License v3 (GPLv3)
+URL: http://github.com/phoebe-project/phoebe2
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/80/c2/f73d65e4d8adebf3d760117c40a47bd5b50a5a5258a6849a5ac62443c6f8/phoebe-2.4.10.tar.gz
+BuildArch: noarch
+
+
+%description
+PHOEBE stands for PHysics Of Eclipsing BinariEs. PHOEBE is pronounced `fee-bee <https://www.merriam-webster.com/dictionary/phoebe?pronunciation&lang=en_us&file=phoebe01.wav>`_.
+PHOEBE 2 is a rewrite of the original PHOEBE code. For most up-to-date information please refer to the PHOEBE project webpage: `http://phoebe-project.org <http://phoebe-project.org>`_
+PHOEBE 2.0 is described by the release paper published in the Astrophysical Journal Supplement, `Prša et al. (2016, ApJS 227, 29) <https://ui.adsabs.harvard.edu/#abs/2016ApJS..227...29P>`_. The addition of support for misaligned stars in version 2.1 is described in `Horvat et al. (2018, ApJS 237, 26) <https://ui.adsabs.harvard.edu/#abs/2018ApJS..237...26H>`_. Interstellar extinction and support for Python 3 was added in version 2.2 and described in `Jones et al. (2020, ApJS 247, 63) <https://ui.adsabs.harvard.edu/abs/2020ApJS..247...63J>`_. Inclusion of a general framework for solving the inverse problem as well as support for the `web and desktop clients <http://phoebe-project.org/clients>`_ was introduced in version 2.3 as described in `Conroy et al. (2020, ApJS 250, 34) <https://ui.adsabs.harvard.edu/abs/2020ApJS..250...34C>`_\ , which also removes support for Python 2. PHOEBE 2.4 improves on the geometry and ebai estimators, updates gaussian processes to use either scikit-learn or celerite2, and adds support for submitting compute or solver runs on external servers. These updates and fitting "best practices" will be discussed in Kochoska et al., in prep.
+PHOEBE 2 is released under the `GNU General Public License v3 <https://www.gnu.org/licenses/gpl-3.0.en.html>`_.
+The source code is available for download from the `PHOEBE project homepage <http://phoebe-project.org>`_ and from `github <https://github.com/phoebe-project/phoebe2>`_.
+The development of PHOEBE 2 is funded in part by `NSF grant #1517474 <https://www.nsf.gov/awardsearch/showAward?AWD_ID=1517474>`_\ , `NSF grant #1909109 <https://www.nsf.gov/awardsearch/showAward?AWD_ID=1909109>`_ and `NASA 17-ADAP17-68 <https://ui.adsabs.harvard.edu/abs/2017adap.prop...68P>`_.
+
+%package -n python3-phoebe
+Summary: PHOEBE 2.4
+Provides: python-phoebe
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-phoebe
+PHOEBE stands for PHysics Of Eclipsing BinariEs. PHOEBE is pronounced `fee-bee <https://www.merriam-webster.com/dictionary/phoebe?pronunciation&lang=en_us&file=phoebe01.wav>`_.
+PHOEBE 2 is a rewrite of the original PHOEBE code. For most up-to-date information please refer to the PHOEBE project webpage: `http://phoebe-project.org <http://phoebe-project.org>`_
+PHOEBE 2.0 is described by the release paper published in the Astrophysical Journal Supplement, `Prša et al. (2016, ApJS 227, 29) <https://ui.adsabs.harvard.edu/#abs/2016ApJS..227...29P>`_. The addition of support for misaligned stars in version 2.1 is described in `Horvat et al. (2018, ApJS 237, 26) <https://ui.adsabs.harvard.edu/#abs/2018ApJS..237...26H>`_. Interstellar extinction and support for Python 3 was added in version 2.2 and described in `Jones et al. (2020, ApJS 247, 63) <https://ui.adsabs.harvard.edu/abs/2020ApJS..247...63J>`_. Inclusion of a general framework for solving the inverse problem as well as support for the `web and desktop clients <http://phoebe-project.org/clients>`_ was introduced in version 2.3 as described in `Conroy et al. (2020, ApJS 250, 34) <https://ui.adsabs.harvard.edu/abs/2020ApJS..250...34C>`_\ , which also removes support for Python 2. PHOEBE 2.4 improves on the geometry and ebai estimators, updates gaussian processes to use either scikit-learn or celerite2, and adds support for submitting compute or solver runs on external servers. These updates and fitting "best practices" will be discussed in Kochoska et al., in prep.
+PHOEBE 2 is released under the `GNU General Public License v3 <https://www.gnu.org/licenses/gpl-3.0.en.html>`_.
+The source code is available for download from the `PHOEBE project homepage <http://phoebe-project.org>`_ and from `github <https://github.com/phoebe-project/phoebe2>`_.
+The development of PHOEBE 2 is funded in part by `NSF grant #1517474 <https://www.nsf.gov/awardsearch/showAward?AWD_ID=1517474>`_\ , `NSF grant #1909109 <https://www.nsf.gov/awardsearch/showAward?AWD_ID=1909109>`_ and `NASA 17-ADAP17-68 <https://ui.adsabs.harvard.edu/abs/2017adap.prop...68P>`_.
+
+%package help
+Summary: Development documents and examples for phoebe
+Provides: python3-phoebe-doc
+%description help
+PHOEBE stands for PHysics Of Eclipsing BinariEs. PHOEBE is pronounced `fee-bee <https://www.merriam-webster.com/dictionary/phoebe?pronunciation&lang=en_us&file=phoebe01.wav>`_.
+PHOEBE 2 is a rewrite of the original PHOEBE code. For most up-to-date information please refer to the PHOEBE project webpage: `http://phoebe-project.org <http://phoebe-project.org>`_
+PHOEBE 2.0 is described by the release paper published in the Astrophysical Journal Supplement, `Prša et al. (2016, ApJS 227, 29) <https://ui.adsabs.harvard.edu/#abs/2016ApJS..227...29P>`_. The addition of support for misaligned stars in version 2.1 is described in `Horvat et al. (2018, ApJS 237, 26) <https://ui.adsabs.harvard.edu/#abs/2018ApJS..237...26H>`_. Interstellar extinction and support for Python 3 was added in version 2.2 and described in `Jones et al. (2020, ApJS 247, 63) <https://ui.adsabs.harvard.edu/abs/2020ApJS..247...63J>`_. Inclusion of a general framework for solving the inverse problem as well as support for the `web and desktop clients <http://phoebe-project.org/clients>`_ was introduced in version 2.3 as described in `Conroy et al. (2020, ApJS 250, 34) <https://ui.adsabs.harvard.edu/abs/2020ApJS..250...34C>`_\ , which also removes support for Python 2. PHOEBE 2.4 improves on the geometry and ebai estimators, updates gaussian processes to use either scikit-learn or celerite2, and adds support for submitting compute or solver runs on external servers. These updates and fitting "best practices" will be discussed in Kochoska et al., in prep.
+PHOEBE 2 is released under the `GNU General Public License v3 <https://www.gnu.org/licenses/gpl-3.0.en.html>`_.
+The source code is available for download from the `PHOEBE project homepage <http://phoebe-project.org>`_ and from `github <https://github.com/phoebe-project/phoebe2>`_.
+The development of PHOEBE 2 is funded in part by `NSF grant #1517474 <https://www.nsf.gov/awardsearch/showAward?AWD_ID=1517474>`_\ , `NSF grant #1909109 <https://www.nsf.gov/awardsearch/showAward?AWD_ID=1909109>`_ and `NASA 17-ADAP17-68 <https://ui.adsabs.harvard.edu/abs/2017adap.prop...68P>`_.
+
+%prep
+%autosetup -n phoebe-2.4.10
+
+%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-phoebe -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.4.10-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..4ea21e2
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+898015f664335d452d382a52830d5dde phoebe-2.4.10.tar.gz