diff options
Diffstat (limited to 'python-yt.spec')
-rw-r--r-- | python-yt.spec | 574 |
1 files changed, 574 insertions, 0 deletions
diff --git a/python-yt.spec b/python-yt.spec new file mode 100644 index 0000000..7442ec1 --- /dev/null +++ b/python-yt.spec @@ -0,0 +1,574 @@ +%global _empty_manifest_terminate_build 0 +Name: python-yt +Version: 4.1.4 +Release: 1 +Summary: An analysis and visualization toolkit for volumetric data +License: BSD 3-Clause +URL: https://yt-project.org/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4e/4a/c21cf26bd7f51ec7b2d4445bb60fd667c2fe28faa76cb996e7dca2e42deb/yt-4.1.4.tar.gz + +Requires: python3-cmyt +Requires: python3-ipywidgets +Requires: python3-matplotlib +Requires: python3-more-itertools +Requires: python3-numpy +Requires: python3-packaging +Requires: python3-pillow +Requires: python3-pyparsing +Requires: python3-tomli-w +Requires: python3-tqdm +Requires: python3-unyt +Requires: python3-tomli +Requires: python3-importlib-metadata +Requires: python3-typing-extensions +Requires: python3-alabaster +Requires: python3-bottle +Requires: python3-jinja2 +Requires: python3-jupyter-client +Requires: python3-nbconvert +Requires: python3-pyregion +Requires: python3-pyx +Requires: python3-runnotebook +Requires: python3-scipy +Requires: python3-sphinx +Requires: python3-sphinx-bootstrap-theme +Requires: python3-sphinx-rtd-theme +Requires: python3-arm-pyart +Requires: python3-astropy +Requires: python3-f90nml +Requires: python3-firefly +Requires: python3-glueviz +Requires: python3-h5py +Requires: python3-ipython +Requires: python3-libconf +Requires: python3-miniballcpp +Requires: python3-mpi4py +Requires: python3-netCDF4 +Requires: python3-pandas +Requires: python3-pooch +Requires: python3-pyaml +Requires: python3-pykdtree +Requires: python3-pyqt5 +Requires: python3-pyx +Requires: python3-requests +Requires: python3-scipy +Requires: python3-xarray +Requires: python3-ratarmount +Requires: python3-glue-core +Requires: python3-bottle +Requires: python3-cmyt +Requires: python3-ipywidgets +Requires: python3-matplotlib +Requires: python3-more-itertools +Requires: python3-numpy +Requires: python3-pillow +Requires: python3-pyparsing +Requires: python3-tomli-w +Requires: python3-unyt +Requires: python3-tomli +Requires: python3-importlib-metadata +Requires: python3-nose +Requires: python3-nose-exclude +Requires: python3-nose-timer +Requires: python3-pyaml +Requires: python3-pytest +Requires: python3-sympy +Requires: python3-mypy +Requires: python3-types-PyYAML +Requires: python3-types-chardet +Requires: python3-types-requests +Requires: python3-types-setuptools + +%description +# The yt Project + +[](https://pypi.org/project/yt) +[](https://pypi.org/project/yt/) +[](http://yt-project.org/docs/dev/) +[](https://mail.python.org/archives/list/yt-users@python.org//) +[](https://mail.python.org/archives/list/yt-dev@python.org//) +[](https://hub.yt/) +[](http://numfocus.org) +[](https://numfocus.salsalabs.org/donate-to-yt/index.html) + +<!--- Tests and style ---> +[](https://github.com/yt-project/yt/actions/workflows/build-test.yaml) +[](https://github.com/yt-project/yt/actions/workflows/bleeding-edge.yaml) +[](https://results.pre-commit.ci/latest/github/yt-project/yt/main) +[](https://github.com/psf/black) +[](https://pycqa.github.io/isort/) +<!--- [](https://codecov.io/gh/yt-project/yt) ---> + +<a href="http://yt-project.org"><img src="https://raw.githubusercontent.com/yt-project/yt/main/doc/source/_static/yt_logo.png" width="300"></a> + +yt is an open-source, permissively-licensed Python library for analyzing and +visualizing volumetric data. + +yt supports structured, variable-resolution meshes, unstructured meshes, and +discrete or sampled data such as particles. Focused on driving +physically-meaningful inquiry, yt has been applied in domains such as +astrophysics, seismology, nuclear engineering, molecular dynamics, and +oceanography. Composed of a friendly community of users and developers, we want +to make it easy to use and develop - we'd love it if you got involved! + +We've written a [method +paper](https://ui.adsabs.harvard.edu/abs/2011ApJS..192....9T) you may be interested +in; if you use yt in the preparation of a publication, please consider citing +it. + +## Code of Conduct + +yt abides by a code of conduct partially modified from the PSF code of conduct, +and is found [in our contributing +guide](http://yt-project.org/docs/dev/developing/developing.html#yt-community-code-of-conduct). + +## Installation + +You can install the most recent stable version of yt either with conda from +[conda-forge](https://conda-forge.org/): + +```shell +conda install -c conda-forge yt +``` + +or with pip: + +```shell +python -m pip install yt +``` + +More information on the various ways to install yt, and in particular to install from source, +can be found on [the project's website](https://yt-project.org/docs/dev/installing.html). + +## Getting Started + +yt is designed to provide meaningful analysis of data. We have some Quickstart +example notebooks in the repository: + + * [Introduction](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/1\)_Introduction.ipynb) + * [Data Inspection](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/2\)_Data_Inspection.ipynb) + * [Simple Visualization](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/3\)_Simple_Visualization.ipynb) + * [Data Objects and Time Series](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/4\)_Data_Objects_and_Time_Series.ipynb) + * [Derived Fields and Profiles](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/5\)_Derived_Fields_and_Profiles.ipynb) + * [Volume Rendering](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/6\)_Volume_Rendering.ipynb) + +If you'd like to try these online, you can visit our [yt Hub](https://hub.yt/) +and run a notebook next to some of our example data. + +## Contributing + +We love contributions! yt is open source, built on open source, and we'd love +to have you hang out in our community. + +We have developed some [guidelines](CONTRIBUTING.rst) for contributing to yt. + +**Imposter syndrome disclaimer**: We want your help. No, really. + +There may be a little voice inside your head that is telling you that you're not +ready to be an open source contributor; that your skills aren't nearly good +enough to contribute. What could you possibly offer a project like this one? + +We assure you - the little voice in your head is wrong. If you can write code at +all, you can contribute code to open source. Contributing to open source +projects is a fantastic way to advance one's coding skills. Writing perfect code +isn't the measure of a good developer (that would disqualify all of us!); it's +trying to create something, making mistakes, and learning from those +mistakes. That's how we all improve, and we are happy to help others learn. + +Being an open source contributor doesn't just mean writing code, either. You can +help out by writing documentation, tests, or even giving feedback about the +project (and yes - that includes giving feedback about the contribution +process). Some of these contributions may be the most valuable to the project as +a whole, because you're coming to the project with fresh eyes, so you can see +the errors and assumptions that seasoned contributors have glossed over. + +(This disclaimer was originally written by +[Adrienne Lowe](https://github.com/adriennefriend) for a +[PyCon talk](https://www.youtube.com/watch?v=6Uj746j9Heo), and was adapted by yt +based on its use in the README file for the +[MetPy project](https://github.com/Unidata/MetPy)) + +## Resources + +We have some community and documentation resources available. + + * Our latest documentation is always at http://yt-project.org/docs/dev/ and it + includes recipes, tutorials, and API documentation + * The [discussion mailing + list](https://mail.python.org/archives/list/yt-users@python.org//) + should be your first stop for general questions + * The [development mailing + list](https://mail.python.org/archives/list/yt-dev@python.org//) is + better suited for more development issues + * You can also join us on Slack at yt-project.slack.com ([request an + invite](https://yt-project.org/slack.html)) + +Is your code compatible with yt ? Great ! Please consider giving us a shoutout as a shiny badge in your README + +- markdown +```markdown +[](https://yt-project.org) +``` +- rst +```reStructuredText +|yt-project| + +.. |yt-project| image:: https://img.shields.io/static/v1?label="works%20with"&message="yt"&color="blueviolet" + :target: https://yt-project.org +``` + +## Powered by NumFOCUS + +yt is a fiscally sponsored project of [NumFOCUS](https://numfocus.org/). +If you're interested in +supporting the active maintenance and development of this project, consider +[donating to the project](https://numfocus.salsalabs.org/donate-to-yt/index.html). + + +%package -n python3-yt +Summary: An analysis and visualization toolkit for volumetric data +Provides: python-yt +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-yt +# The yt Project + +[](https://pypi.org/project/yt) +[](https://pypi.org/project/yt/) +[](http://yt-project.org/docs/dev/) +[](https://mail.python.org/archives/list/yt-users@python.org//) +[](https://mail.python.org/archives/list/yt-dev@python.org//) +[](https://hub.yt/) +[](http://numfocus.org) +[](https://numfocus.salsalabs.org/donate-to-yt/index.html) + +<!--- Tests and style ---> +[](https://github.com/yt-project/yt/actions/workflows/build-test.yaml) +[](https://github.com/yt-project/yt/actions/workflows/bleeding-edge.yaml) +[](https://results.pre-commit.ci/latest/github/yt-project/yt/main) +[](https://github.com/psf/black) +[](https://pycqa.github.io/isort/) +<!--- [](https://codecov.io/gh/yt-project/yt) ---> + +<a href="http://yt-project.org"><img src="https://raw.githubusercontent.com/yt-project/yt/main/doc/source/_static/yt_logo.png" width="300"></a> + +yt is an open-source, permissively-licensed Python library for analyzing and +visualizing volumetric data. + +yt supports structured, variable-resolution meshes, unstructured meshes, and +discrete or sampled data such as particles. Focused on driving +physically-meaningful inquiry, yt has been applied in domains such as +astrophysics, seismology, nuclear engineering, molecular dynamics, and +oceanography. Composed of a friendly community of users and developers, we want +to make it easy to use and develop - we'd love it if you got involved! + +We've written a [method +paper](https://ui.adsabs.harvard.edu/abs/2011ApJS..192....9T) you may be interested +in; if you use yt in the preparation of a publication, please consider citing +it. + +## Code of Conduct + +yt abides by a code of conduct partially modified from the PSF code of conduct, +and is found [in our contributing +guide](http://yt-project.org/docs/dev/developing/developing.html#yt-community-code-of-conduct). + +## Installation + +You can install the most recent stable version of yt either with conda from +[conda-forge](https://conda-forge.org/): + +```shell +conda install -c conda-forge yt +``` + +or with pip: + +```shell +python -m pip install yt +``` + +More information on the various ways to install yt, and in particular to install from source, +can be found on [the project's website](https://yt-project.org/docs/dev/installing.html). + +## Getting Started + +yt is designed to provide meaningful analysis of data. We have some Quickstart +example notebooks in the repository: + + * [Introduction](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/1\)_Introduction.ipynb) + * [Data Inspection](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/2\)_Data_Inspection.ipynb) + * [Simple Visualization](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/3\)_Simple_Visualization.ipynb) + * [Data Objects and Time Series](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/4\)_Data_Objects_and_Time_Series.ipynb) + * [Derived Fields and Profiles](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/5\)_Derived_Fields_and_Profiles.ipynb) + * [Volume Rendering](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/6\)_Volume_Rendering.ipynb) + +If you'd like to try these online, you can visit our [yt Hub](https://hub.yt/) +and run a notebook next to some of our example data. + +## Contributing + +We love contributions! yt is open source, built on open source, and we'd love +to have you hang out in our community. + +We have developed some [guidelines](CONTRIBUTING.rst) for contributing to yt. + +**Imposter syndrome disclaimer**: We want your help. No, really. + +There may be a little voice inside your head that is telling you that you're not +ready to be an open source contributor; that your skills aren't nearly good +enough to contribute. What could you possibly offer a project like this one? + +We assure you - the little voice in your head is wrong. If you can write code at +all, you can contribute code to open source. Contributing to open source +projects is a fantastic way to advance one's coding skills. Writing perfect code +isn't the measure of a good developer (that would disqualify all of us!); it's +trying to create something, making mistakes, and learning from those +mistakes. That's how we all improve, and we are happy to help others learn. + +Being an open source contributor doesn't just mean writing code, either. You can +help out by writing documentation, tests, or even giving feedback about the +project (and yes - that includes giving feedback about the contribution +process). Some of these contributions may be the most valuable to the project as +a whole, because you're coming to the project with fresh eyes, so you can see +the errors and assumptions that seasoned contributors have glossed over. + +(This disclaimer was originally written by +[Adrienne Lowe](https://github.com/adriennefriend) for a +[PyCon talk](https://www.youtube.com/watch?v=6Uj746j9Heo), and was adapted by yt +based on its use in the README file for the +[MetPy project](https://github.com/Unidata/MetPy)) + +## Resources + +We have some community and documentation resources available. + + * Our latest documentation is always at http://yt-project.org/docs/dev/ and it + includes recipes, tutorials, and API documentation + * The [discussion mailing + list](https://mail.python.org/archives/list/yt-users@python.org//) + should be your first stop for general questions + * The [development mailing + list](https://mail.python.org/archives/list/yt-dev@python.org//) is + better suited for more development issues + * You can also join us on Slack at yt-project.slack.com ([request an + invite](https://yt-project.org/slack.html)) + +Is your code compatible with yt ? Great ! Please consider giving us a shoutout as a shiny badge in your README + +- markdown +```markdown +[](https://yt-project.org) +``` +- rst +```reStructuredText +|yt-project| + +.. |yt-project| image:: https://img.shields.io/static/v1?label="works%20with"&message="yt"&color="blueviolet" + :target: https://yt-project.org +``` + +## Powered by NumFOCUS + +yt is a fiscally sponsored project of [NumFOCUS](https://numfocus.org/). +If you're interested in +supporting the active maintenance and development of this project, consider +[donating to the project](https://numfocus.salsalabs.org/donate-to-yt/index.html). + + +%package help +Summary: Development documents and examples for yt +Provides: python3-yt-doc +%description help +# The yt Project + +[](https://pypi.org/project/yt) +[](https://pypi.org/project/yt/) +[](http://yt-project.org/docs/dev/) +[](https://mail.python.org/archives/list/yt-users@python.org//) +[](https://mail.python.org/archives/list/yt-dev@python.org//) +[](https://hub.yt/) +[](http://numfocus.org) +[](https://numfocus.salsalabs.org/donate-to-yt/index.html) + +<!--- Tests and style ---> +[](https://github.com/yt-project/yt/actions/workflows/build-test.yaml) +[](https://github.com/yt-project/yt/actions/workflows/bleeding-edge.yaml) +[](https://results.pre-commit.ci/latest/github/yt-project/yt/main) +[](https://github.com/psf/black) +[](https://pycqa.github.io/isort/) +<!--- [](https://codecov.io/gh/yt-project/yt) ---> + +<a href="http://yt-project.org"><img src="https://raw.githubusercontent.com/yt-project/yt/main/doc/source/_static/yt_logo.png" width="300"></a> + +yt is an open-source, permissively-licensed Python library for analyzing and +visualizing volumetric data. + +yt supports structured, variable-resolution meshes, unstructured meshes, and +discrete or sampled data such as particles. Focused on driving +physically-meaningful inquiry, yt has been applied in domains such as +astrophysics, seismology, nuclear engineering, molecular dynamics, and +oceanography. Composed of a friendly community of users and developers, we want +to make it easy to use and develop - we'd love it if you got involved! + +We've written a [method +paper](https://ui.adsabs.harvard.edu/abs/2011ApJS..192....9T) you may be interested +in; if you use yt in the preparation of a publication, please consider citing +it. + +## Code of Conduct + +yt abides by a code of conduct partially modified from the PSF code of conduct, +and is found [in our contributing +guide](http://yt-project.org/docs/dev/developing/developing.html#yt-community-code-of-conduct). + +## Installation + +You can install the most recent stable version of yt either with conda from +[conda-forge](https://conda-forge.org/): + +```shell +conda install -c conda-forge yt +``` + +or with pip: + +```shell +python -m pip install yt +``` + +More information on the various ways to install yt, and in particular to install from source, +can be found on [the project's website](https://yt-project.org/docs/dev/installing.html). + +## Getting Started + +yt is designed to provide meaningful analysis of data. We have some Quickstart +example notebooks in the repository: + + * [Introduction](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/1\)_Introduction.ipynb) + * [Data Inspection](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/2\)_Data_Inspection.ipynb) + * [Simple Visualization](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/3\)_Simple_Visualization.ipynb) + * [Data Objects and Time Series](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/4\)_Data_Objects_and_Time_Series.ipynb) + * [Derived Fields and Profiles](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/5\)_Derived_Fields_and_Profiles.ipynb) + * [Volume Rendering](https://github.com/yt-project/yt/tree/main/doc/source/quickstart/6\)_Volume_Rendering.ipynb) + +If you'd like to try these online, you can visit our [yt Hub](https://hub.yt/) +and run a notebook next to some of our example data. + +## Contributing + +We love contributions! yt is open source, built on open source, and we'd love +to have you hang out in our community. + +We have developed some [guidelines](CONTRIBUTING.rst) for contributing to yt. + +**Imposter syndrome disclaimer**: We want your help. No, really. + +There may be a little voice inside your head that is telling you that you're not +ready to be an open source contributor; that your skills aren't nearly good +enough to contribute. What could you possibly offer a project like this one? + +We assure you - the little voice in your head is wrong. If you can write code at +all, you can contribute code to open source. Contributing to open source +projects is a fantastic way to advance one's coding skills. Writing perfect code +isn't the measure of a good developer (that would disqualify all of us!); it's +trying to create something, making mistakes, and learning from those +mistakes. That's how we all improve, and we are happy to help others learn. + +Being an open source contributor doesn't just mean writing code, either. You can +help out by writing documentation, tests, or even giving feedback about the +project (and yes - that includes giving feedback about the contribution +process). Some of these contributions may be the most valuable to the project as +a whole, because you're coming to the project with fresh eyes, so you can see +the errors and assumptions that seasoned contributors have glossed over. + +(This disclaimer was originally written by +[Adrienne Lowe](https://github.com/adriennefriend) for a +[PyCon talk](https://www.youtube.com/watch?v=6Uj746j9Heo), and was adapted by yt +based on its use in the README file for the +[MetPy project](https://github.com/Unidata/MetPy)) + +## Resources + +We have some community and documentation resources available. + + * Our latest documentation is always at http://yt-project.org/docs/dev/ and it + includes recipes, tutorials, and API documentation + * The [discussion mailing + list](https://mail.python.org/archives/list/yt-users@python.org//) + should be your first stop for general questions + * The [development mailing + list](https://mail.python.org/archives/list/yt-dev@python.org//) is + better suited for more development issues + * You can also join us on Slack at yt-project.slack.com ([request an + invite](https://yt-project.org/slack.html)) + +Is your code compatible with yt ? Great ! Please consider giving us a shoutout as a shiny badge in your README + +- markdown +```markdown +[](https://yt-project.org) +``` +- rst +```reStructuredText +|yt-project| + +.. |yt-project| image:: https://img.shields.io/static/v1?label="works%20with"&message="yt"&color="blueviolet" + :target: https://yt-project.org +``` + +## Powered by NumFOCUS + +yt is a fiscally sponsored project of [NumFOCUS](https://numfocus.org/). +If you're interested in +supporting the active maintenance and development of this project, consider +[donating to the project](https://numfocus.salsalabs.org/donate-to-yt/index.html). + + +%prep +%autosetup -n yt-4.1.4 + +%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-yt -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 4.1.4-1 +- Package Spec generated |