From ce501da9ee8c1beb2cb9f9b6146a0dd3c85c6e32 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 10 May 2023 03:31:22 +0000 Subject: automatic import of python-phoebe --- .gitignore | 1 + python-phoebe.spec | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 89 insertions(+) create mode 100644 python-phoebe.spec create mode 100644 sources 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 `_. +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 `_ +PHOEBE 2.0 is described by the release paper published in the Astrophysical Journal Supplement, `Prša et al. (2016, ApJS 227, 29) `_. The addition of support for misaligned stars in version 2.1 is described in `Horvat et al. (2018, ApJS 237, 26) `_. Interstellar extinction and support for Python 3 was added in version 2.2 and described in `Jones et al. (2020, ApJS 247, 63) `_. Inclusion of a general framework for solving the inverse problem as well as support for the `web and desktop clients `_ was introduced in version 2.3 as described in `Conroy et al. (2020, ApJS 250, 34) `_\ , 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 `_. +The source code is available for download from the `PHOEBE project homepage `_ and from `github `_. +The development of PHOEBE 2 is funded in part by `NSF grant #1517474 `_\ , `NSF grant #1909109 `_ and `NASA 17-ADAP17-68 `_. + +%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 `_. +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 `_ +PHOEBE 2.0 is described by the release paper published in the Astrophysical Journal Supplement, `Prša et al. (2016, ApJS 227, 29) `_. The addition of support for misaligned stars in version 2.1 is described in `Horvat et al. (2018, ApJS 237, 26) `_. Interstellar extinction and support for Python 3 was added in version 2.2 and described in `Jones et al. (2020, ApJS 247, 63) `_. Inclusion of a general framework for solving the inverse problem as well as support for the `web and desktop clients `_ was introduced in version 2.3 as described in `Conroy et al. (2020, ApJS 250, 34) `_\ , 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 `_. +The source code is available for download from the `PHOEBE project homepage `_ and from `github `_. +The development of PHOEBE 2 is funded in part by `NSF grant #1517474 `_\ , `NSF grant #1909109 `_ and `NASA 17-ADAP17-68 `_. + +%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 `_. +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 `_ +PHOEBE 2.0 is described by the release paper published in the Astrophysical Journal Supplement, `Prša et al. (2016, ApJS 227, 29) `_. The addition of support for misaligned stars in version 2.1 is described in `Horvat et al. (2018, ApJS 237, 26) `_. Interstellar extinction and support for Python 3 was added in version 2.2 and described in `Jones et al. (2020, ApJS 247, 63) `_. Inclusion of a general framework for solving the inverse problem as well as support for the `web and desktop clients `_ was introduced in version 2.3 as described in `Conroy et al. (2020, ApJS 250, 34) `_\ , 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 `_. +The source code is available for download from the `PHOEBE project homepage `_ and from `github `_. +The development of PHOEBE 2 is funded in part by `NSF grant #1517474 `_\ , `NSF grant #1909109 `_ and `NASA 17-ADAP17-68 `_. + +%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 - 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 -- cgit v1.2.3