diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 04:17:16 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 04:17:16 +0000 |
commit | 8f93d09e11251bc560639b60b449f79aa5cf29d2 (patch) | |
tree | afa8c48e4f287727e8ffac7778491b3f63261f79 | |
parent | e8aa752c277e6f3a88ff6ed7d8eaeb4626b30b60 (diff) |
automatic import of python-specutilsopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-specutils.spec | 132 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 134 insertions, 0 deletions
@@ -0,0 +1 @@ +/specutils-1.10.0.tar.gz diff --git a/python-specutils.spec b/python-specutils.spec new file mode 100644 index 0000000..836c320 --- /dev/null +++ b/python-specutils.spec @@ -0,0 +1,132 @@ +%global _empty_manifest_terminate_build 0 +Name: python-specutils +Version: 1.10.0 +Release: 1 +Summary: Package for spectroscopic astronomical data +License: BSD 3-Clause +URL: https://specutils.readthedocs.io/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/10/18/1967ab896902ddbe315e12e96c38fdce71e8fe72fc22a78738c2a2a1c57d/specutils-1.10.0.tar.gz +BuildArch: noarch + +Requires: python3-numpy +Requires: python3-scipy +Requires: python3-astropy +Requires: python3-gwcs +Requires: python3-asdf-astropy +Requires: python3-asdf +Requires: python3-ndcube +Requires: python3-sphinx-astropy +Requires: python3-matplotlib +Requires: python3-graphviz +Requires: python3-ndcube +Requires: python3-stdatamodels +Requires: python3-pytest-astropy +Requires: python3-pytest-cov +Requires: python3-matplotlib +Requires: python3-graphviz +Requires: python3-coverage +Requires: python3-spectral-cube + +%description +Specutils is an `Astropy affiliated package <http://affiliated.astropy.org/>`_ +with the goal of providing a shared set of Python representations of +astronomical spectra and basic tools to operate on these spectra. The effort is +also meant to be a "hub", helping to unite the Python astronomical spectroscopy +community around shared effort, much as Astropy is meant to for the wider +astronomy Python ecosystem. This broader effort is outlined in the +`APE13 document <https://github.com/astropy/astropy-APEs/blob/main/APE13.rst>`_. +Note that Specutils is not intended to meet all possible spectroscopic analysis or +reduction needs. While it provides some standard analysis functionality +(following the Python philosophy of "batteries included"), it is best thought +of as a "tool box" that provides pieces of functionality that can be used to +build a particular scientific workflow or higher-level analysis tool. To that +end, it is also meant to facilitate connecting together disparate reduction +pipelines and analysis tools through shared Python representations of +spectroscopic data. + +%package -n python3-specutils +Summary: Package for spectroscopic astronomical data +Provides: python-specutils +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-specutils +Specutils is an `Astropy affiliated package <http://affiliated.astropy.org/>`_ +with the goal of providing a shared set of Python representations of +astronomical spectra and basic tools to operate on these spectra. The effort is +also meant to be a "hub", helping to unite the Python astronomical spectroscopy +community around shared effort, much as Astropy is meant to for the wider +astronomy Python ecosystem. This broader effort is outlined in the +`APE13 document <https://github.com/astropy/astropy-APEs/blob/main/APE13.rst>`_. +Note that Specutils is not intended to meet all possible spectroscopic analysis or +reduction needs. While it provides some standard analysis functionality +(following the Python philosophy of "batteries included"), it is best thought +of as a "tool box" that provides pieces of functionality that can be used to +build a particular scientific workflow or higher-level analysis tool. To that +end, it is also meant to facilitate connecting together disparate reduction +pipelines and analysis tools through shared Python representations of +spectroscopic data. + +%package help +Summary: Development documents and examples for specutils +Provides: python3-specutils-doc +%description help +Specutils is an `Astropy affiliated package <http://affiliated.astropy.org/>`_ +with the goal of providing a shared set of Python representations of +astronomical spectra and basic tools to operate on these spectra. The effort is +also meant to be a "hub", helping to unite the Python astronomical spectroscopy +community around shared effort, much as Astropy is meant to for the wider +astronomy Python ecosystem. This broader effort is outlined in the +`APE13 document <https://github.com/astropy/astropy-APEs/blob/main/APE13.rst>`_. +Note that Specutils is not intended to meet all possible spectroscopic analysis or +reduction needs. While it provides some standard analysis functionality +(following the Python philosophy of "batteries included"), it is best thought +of as a "tool box" that provides pieces of functionality that can be used to +build a particular scientific workflow or higher-level analysis tool. To that +end, it is also meant to facilitate connecting together disparate reduction +pipelines and analysis tools through shared Python representations of +spectroscopic data. + +%prep +%autosetup -n specutils-1.10.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-specutils -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.10.0-1 +- Package Spec generated @@ -0,0 +1 @@ +078f0c62f4d75427bc4b625a4bb5058d specutils-1.10.0.tar.gz |