summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 10:43:58 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 10:43:58 +0000
commitbc4b3fd4423e846bc1420e3e3f853237fc089031 (patch)
treefe3b2e16d257a0853b1c303252d5ed980d389202
parentf2ddbd46bd82991d15649328944ad575610ec9d8 (diff)
automatic import of python-paramak
-rw-r--r--.gitignore1
-rw-r--r--python-paramak.spec222
-rw-r--r--sources1
3 files changed, 224 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d18f8db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
+
+[![N|Python](https://www.python.org/static/community_logos/python-powered-w-100x40.png)](https://www.python.org)
+
+[![CircleCI](https://circleci.com/gh/fusion-energy/paramak/tree/main.svg?style=svg)](https://circleci.com/gh/fusion-energy/paramak/tree/main)
+[![CI with docker build](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_docker_build.yml/badge.svg?branch=main)](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_docker_build.yml)
+[![CI with install](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_install.yml/badge.svg?branch=main)](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_install.yml)
+
+[![codecov](https://codecov.io/gh/fusion-energy/paramak/branch/main/graph/badge.svg)](https://codecov.io/gh/fusion-energy/paramak)
+
+[![Code Grade](https://api.codiga.io/project/25342/score/svg)](https://app.codiga.io/public/project/25342/paramak/dashboard)
+[![Code Grade](https://api.codiga.io/project/25342/status/svg)](https://app.codiga.io/public/project/25342/paramak/dashboard)
+
+
+[![Documentation Status](https://readthedocs.org/projects/paramak/badge/?version=main)](https://paramak.readthedocs.io/en/main/?badge=main)
+
+
+[![Upload Python Package](https://github.com/fusion-energy/paramak/actions/workflows/python-publish.yml/badge.svg)](https://github.com/fusion-energy/paramak/actions/workflows/python-publish.yml)
+[![PyPI](https://img.shields.io/pypi/v/paramak?color=brightgreen&label=pypi&logo=grebrightgreenen&logoColor=green)](https://pypi.org/project/paramak/)
+
+[![anaconda-publish](https://github.com/fusion-energy/paramak/actions/workflows/anaconda-publish.yml/badge.svg)](https://github.com/fusion-energy/paramak/actions/workflows/anaconda-publish.yml)
+[![anaconda.org](https://anaconda.org/fusion-energy/paramak/badges/version.svg)](https://anaconda.org/fusion-energy/paramak)
+
+[![docker-publish-release](https://github.com/fusion-energy/paramak/actions/workflows/docker_publish.yml/badge.svg)](https://github.com/fusion-energy/paramak/actions/workflows/docker_publish.yml)
+
+[![DOI](https://zenodo.org/badge/269635577.svg)](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
+
+[![N|Python](https://www.python.org/static/community_logos/python-powered-w-100x40.png)](https://www.python.org)
+
+[![CircleCI](https://circleci.com/gh/fusion-energy/paramak/tree/main.svg?style=svg)](https://circleci.com/gh/fusion-energy/paramak/tree/main)
+[![CI with docker build](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_docker_build.yml/badge.svg?branch=main)](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_docker_build.yml)
+[![CI with install](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_install.yml/badge.svg?branch=main)](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_install.yml)
+
+[![codecov](https://codecov.io/gh/fusion-energy/paramak/branch/main/graph/badge.svg)](https://codecov.io/gh/fusion-energy/paramak)
+
+[![Code Grade](https://api.codiga.io/project/25342/score/svg)](https://app.codiga.io/public/project/25342/paramak/dashboard)
+[![Code Grade](https://api.codiga.io/project/25342/status/svg)](https://app.codiga.io/public/project/25342/paramak/dashboard)
+
+
+[![Documentation Status](https://readthedocs.org/projects/paramak/badge/?version=main)](https://paramak.readthedocs.io/en/main/?badge=main)
+
+
+[![Upload Python Package](https://github.com/fusion-energy/paramak/actions/workflows/python-publish.yml/badge.svg)](https://github.com/fusion-energy/paramak/actions/workflows/python-publish.yml)
+[![PyPI](https://img.shields.io/pypi/v/paramak?color=brightgreen&label=pypi&logo=grebrightgreenen&logoColor=green)](https://pypi.org/project/paramak/)
+
+[![anaconda-publish](https://github.com/fusion-energy/paramak/actions/workflows/anaconda-publish.yml/badge.svg)](https://github.com/fusion-energy/paramak/actions/workflows/anaconda-publish.yml)
+[![anaconda.org](https://anaconda.org/fusion-energy/paramak/badges/version.svg)](https://anaconda.org/fusion-energy/paramak)
+
+[![docker-publish-release](https://github.com/fusion-energy/paramak/actions/workflows/docker_publish.yml/badge.svg)](https://github.com/fusion-energy/paramak/actions/workflows/docker_publish.yml)
+
+[![DOI](https://zenodo.org/badge/269635577.svg)](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
+
+[![N|Python](https://www.python.org/static/community_logos/python-powered-w-100x40.png)](https://www.python.org)
+
+[![CircleCI](https://circleci.com/gh/fusion-energy/paramak/tree/main.svg?style=svg)](https://circleci.com/gh/fusion-energy/paramak/tree/main)
+[![CI with docker build](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_docker_build.yml/badge.svg?branch=main)](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_docker_build.yml)
+[![CI with install](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_install.yml/badge.svg?branch=main)](https://github.com/fusion-energy/paramak/actions/workflows/ci_with_install.yml)
+
+[![codecov](https://codecov.io/gh/fusion-energy/paramak/branch/main/graph/badge.svg)](https://codecov.io/gh/fusion-energy/paramak)
+
+[![Code Grade](https://api.codiga.io/project/25342/score/svg)](https://app.codiga.io/public/project/25342/paramak/dashboard)
+[![Code Grade](https://api.codiga.io/project/25342/status/svg)](https://app.codiga.io/public/project/25342/paramak/dashboard)
+
+
+[![Documentation Status](https://readthedocs.org/projects/paramak/badge/?version=main)](https://paramak.readthedocs.io/en/main/?badge=main)
+
+
+[![Upload Python Package](https://github.com/fusion-energy/paramak/actions/workflows/python-publish.yml/badge.svg)](https://github.com/fusion-energy/paramak/actions/workflows/python-publish.yml)
+[![PyPI](https://img.shields.io/pypi/v/paramak?color=brightgreen&label=pypi&logo=grebrightgreenen&logoColor=green)](https://pypi.org/project/paramak/)
+
+[![anaconda-publish](https://github.com/fusion-energy/paramak/actions/workflows/anaconda-publish.yml/badge.svg)](https://github.com/fusion-energy/paramak/actions/workflows/anaconda-publish.yml)
+[![anaconda.org](https://anaconda.org/fusion-energy/paramak/badges/version.svg)](https://anaconda.org/fusion-energy/paramak)
+
+[![docker-publish-release](https://github.com/fusion-energy/paramak/actions/workflows/docker_publish.yml/badge.svg)](https://github.com/fusion-energy/paramak/actions/workflows/docker_publish.yml)
+
+[![DOI](https://zenodo.org/badge/269635577.svg)](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
diff --git a/sources b/sources
new file mode 100644
index 0000000..bd00465
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+0867a0dc6f637ea283c5ff021e16c042 paramak-0.8.7.tar.gz