diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-29 10:43:58 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 10:43:58 +0000 |
commit | bc4b3fd4423e846bc1420e3e3f853237fc089031 (patch) | |
tree | fe3b2e16d257a0853b1c303252d5ed980d389202 | |
parent | f2ddbd46bd82991d15649328944ad575610ec9d8 (diff) |
automatic import of python-paramak
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-paramak.spec | 222 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 224 insertions, 0 deletions
@@ -0,0 +1 @@ +/paramak-0.8.7.tar.gz diff --git a/python-paramak.spec b/python-paramak.spec new file mode 100644 index 0000000..91e7fcd --- /dev/null +++ b/python-paramak.spec @@ -0,0 +1,222 @@ +%global _empty_manifest_terminate_build 0 +Name: python-paramak +Version: 0.8.7 +Release: 1 +Summary: Create 3D fusion reactor CAD models based on input parameters +License: MIT License Copyright (c) 2020 UKAEA Copyright (c) 2021 Paramak contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +URL: https://github.com/fusion-energy/paramak +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/19/75/cab0465656b53425c96790ae67fcb1fab57493814315f1488ac3421b98bd/paramak-0.8.7.tar.gz +BuildArch: noarch + +Requires: python3-plotly +Requires: python3-scipy +Requires: python3-sympy +Requires: python3-numpy +Requires: python3-matplotlib +Requires: python3-plasmaboundaries +Requires: python3-jupyter-client +Requires: python3-jupyter-cadquery +Requires: python3-cad-to-dagmc +Requires: python3-setuptools-scm[toml] +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-sphinx-autodoc-typehints +Requires: python3-sphinxcadquery +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-runner +Requires: python3-dagmc-h5m-file-inspector + +%description + +[](https://www.python.org) + +[](https://circleci.com/gh/fusion-energy/paramak/tree/main) +[](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_docker_build.yml) +[](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_install.yml) + +[](https://codecov.io/gh/fusion-energy/paramak) + +[](https://app.codiga.io/public/project/25342/paramak/dashboard) +[](https://app.codiga.io/public/project/25342/paramak/dashboard) + + +[](https://paramak.readthedocs.io/en/main/?badge=main) + + +[](https://github.com/fusion-energy/paramak/actions/workflows/python-publish.yml) +[](https://pypi.org/project/paramak/) + +[](https://github.com/fusion-energy/paramak/actions/workflows/anaconda-publish.yml) +[](https://anaconda.org/fusion-energy/paramak) + +[](https://github.com/fusion-energy/paramak/actions/workflows/docker_publish.yml) + +[](https://zenodo.org/badge/latestdoi/269635577) + +# Paramak + +Paramak python package allows rapid production of 3D CAD models and neutronics +models of fusion reactors. The purpose of Paramak is to provide geometry for +parametric studies. Paramak can create geometry in standard CAD formats such as +STP, STL, BRep, HTML and DAGMC h5m. + +:point_right: [Documentation](https://paramak.readthedocs.io) + +:point_right: [Video presentation](https://www.youtube.com/embed/fXboew3U7rw) + +:point_right: [Installation](https://paramak.readthedocs.io/en/main/install.html) + +:point_right: [Publication](https://f1000research.com/articles/10-27) + +:point_right: [Docker images](https://github.com/fusion-energy/paramak/pkgs/container/paramak) + +:point_right: Examples with Neutronics [1](https://github.com/fusion-energy/magnetic_fusion_openmc_dagmc_paramak_example), [2](https://github.com/fusion-energy/inertial_fusion_openmc_dagmc_paramak_example), [3](https://github.com/fusion-energy/neutronics-workshop) + + +%package -n python3-paramak +Summary: Create 3D fusion reactor CAD models based on input parameters +Provides: python-paramak +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-paramak + +[](https://www.python.org) + +[](https://circleci.com/gh/fusion-energy/paramak/tree/main) +[](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_docker_build.yml) +[](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_install.yml) + +[](https://codecov.io/gh/fusion-energy/paramak) + +[](https://app.codiga.io/public/project/25342/paramak/dashboard) +[](https://app.codiga.io/public/project/25342/paramak/dashboard) + + +[](https://paramak.readthedocs.io/en/main/?badge=main) + + +[](https://github.com/fusion-energy/paramak/actions/workflows/python-publish.yml) +[](https://pypi.org/project/paramak/) + +[](https://github.com/fusion-energy/paramak/actions/workflows/anaconda-publish.yml) +[](https://anaconda.org/fusion-energy/paramak) + +[](https://github.com/fusion-energy/paramak/actions/workflows/docker_publish.yml) + +[](https://zenodo.org/badge/latestdoi/269635577) + +# Paramak + +Paramak python package allows rapid production of 3D CAD models and neutronics +models of fusion reactors. The purpose of Paramak is to provide geometry for +parametric studies. Paramak can create geometry in standard CAD formats such as +STP, STL, BRep, HTML and DAGMC h5m. + +:point_right: [Documentation](https://paramak.readthedocs.io) + +:point_right: [Video presentation](https://www.youtube.com/embed/fXboew3U7rw) + +:point_right: [Installation](https://paramak.readthedocs.io/en/main/install.html) + +:point_right: [Publication](https://f1000research.com/articles/10-27) + +:point_right: [Docker images](https://github.com/fusion-energy/paramak/pkgs/container/paramak) + +:point_right: Examples with Neutronics [1](https://github.com/fusion-energy/magnetic_fusion_openmc_dagmc_paramak_example), [2](https://github.com/fusion-energy/inertial_fusion_openmc_dagmc_paramak_example), [3](https://github.com/fusion-energy/neutronics-workshop) + + +%package help +Summary: Development documents and examples for paramak +Provides: python3-paramak-doc +%description help + +[](https://www.python.org) + +[](https://circleci.com/gh/fusion-energy/paramak/tree/main) +[](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_docker_build.yml) +[](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_install.yml) + +[](https://codecov.io/gh/fusion-energy/paramak) + +[](https://app.codiga.io/public/project/25342/paramak/dashboard) +[](https://app.codiga.io/public/project/25342/paramak/dashboard) + + +[](https://paramak.readthedocs.io/en/main/?badge=main) + + +[](https://github.com/fusion-energy/paramak/actions/workflows/python-publish.yml) +[](https://pypi.org/project/paramak/) + +[](https://github.com/fusion-energy/paramak/actions/workflows/anaconda-publish.yml) +[](https://anaconda.org/fusion-energy/paramak) + +[](https://github.com/fusion-energy/paramak/actions/workflows/docker_publish.yml) + +[](https://zenodo.org/badge/latestdoi/269635577) + +# Paramak + +Paramak python package allows rapid production of 3D CAD models and neutronics +models of fusion reactors. The purpose of Paramak is to provide geometry for +parametric studies. Paramak can create geometry in standard CAD formats such as +STP, STL, BRep, HTML and DAGMC h5m. + +:point_right: [Documentation](https://paramak.readthedocs.io) + +:point_right: [Video presentation](https://www.youtube.com/embed/fXboew3U7rw) + +:point_right: [Installation](https://paramak.readthedocs.io/en/main/install.html) + +:point_right: [Publication](https://f1000research.com/articles/10-27) + +:point_right: [Docker images](https://github.com/fusion-energy/paramak/pkgs/container/paramak) + +:point_right: Examples with Neutronics [1](https://github.com/fusion-energy/magnetic_fusion_openmc_dagmc_paramak_example), [2](https://github.com/fusion-energy/inertial_fusion_openmc_dagmc_paramak_example), [3](https://github.com/fusion-energy/neutronics-workshop) + + +%prep +%autosetup -n paramak-0.8.7 + +%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-paramak -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8.7-1 +- Package Spec generated @@ -0,0 +1 @@ +0867a0dc6f637ea283c5ff021e16c042 paramak-0.8.7.tar.gz |