summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 08:00:07 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 08:00:07 +0000
commit50856fadd0e8b4b3447a1b075dba34f1d0a7a0a6 (patch)
tree684decf0354a430a7fca41f13536959d800d21a7
parent2cd2195a5cb3ef1f09ba7a491420480522276315 (diff)
automatic import of python-pycompadreopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-pycompadre.spec195
-rw-r--r--sources1
3 files changed, 197 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..dd73fb3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pycompadre-1.5.5.tar.gz
diff --git a/python-pycompadre.spec b/python-pycompadre.spec
new file mode 100644
index 0000000..a783565
--- /dev/null
+++ b/python-pycompadre.spec
@@ -0,0 +1,195 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pycompadre
+Version: 1.5.5
+Release: 1
+Summary: Compatible Particle Discretization and Remap
+License: BSD License
+URL: https://github.com/sandialabs/compadre
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/63/48/ff44bf3a6c1b2697cc9db19df8fe246d3f1c804a76cc84fe9a3c17e49d57/pycompadre-1.5.5.tar.gz
+BuildArch: noarch
+
+
+%description
+## Wiki Information
+Details about building and using the Compadre toolkit can be found on the [Wiki](https://github.com/sandialabs/compadre/wiki).
+## Recent Changes
+[Recent Changes](https://github.com/sandialabs/compadre/wiki/Changelog)
+## Installation
+[Installation of Kokkos and KokkosKernels](https://github.com/sandialabs/compadre/wiki/Kokkos-and-KokkosKernels) [Either automatically configured and built, or user installation location provided]
+[Installation of Compadre](https://github.com/sandialabs/compadre/wiki/Building-Compadre)
+## Documentation and Tutorials
+The toolkit is documented by Doxygen. <b>[Documentation is available online](https://sandialabs.github.io/compadre/index.html)</b> or can be compiled from source.
+To compile from source: 1.) install doxygen software on your computer, 2.) execute '>> make doc' after having installed the Compadre Toolkit. HTML and Latex documentation will be generated in the <b>doc/</b> folder, in-source.
+## Citing the Software
+If you write a paper using results obtained with the help of the Compadre Toolkit, please cite the following reference which is applicable to every version of the Compadre Toolkit:
+```
+@software{compadre_toolkit,
+ author = {Paul Kuberry and
+ Peter Bosler and
+ Nathaniel Trask},
+ title = {Compadre Toolkit},
+ month = jan,
+ year = 2019,
+ doi = {10.11578/dc.20190411.1},
+ url = {https://github.com/sandialabs/compadre}
+}
+```
+If you are using a particular release of the Compadre Toolkit and would like to help others to reproduce your results, please cite that release specifically. A reference to the most recent release is:
+```
+@software{compadre_toolkit_v1_5_0,
+ author = {Paul Kuberry and
+ Peter Bosler and
+ Nathaniel Trask},
+ title = {Compadre Toolkit},
+ month = sep,
+ year = 2022,
+ publisher = {Zenodo},
+ version = {v1.5.0},
+ doi = {10.5281/zenodo.7065758},
+ url = {https://doi.org/10.5281/zenodo.7065758}
+}
+```
+```diff
+! DOI: 10.11578/dc.20190411.1
+```
+
+%package -n python3-pycompadre
+Summary: Compatible Particle Discretization and Remap
+Provides: python-pycompadre
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pycompadre
+## Wiki Information
+Details about building and using the Compadre toolkit can be found on the [Wiki](https://github.com/sandialabs/compadre/wiki).
+## Recent Changes
+[Recent Changes](https://github.com/sandialabs/compadre/wiki/Changelog)
+## Installation
+[Installation of Kokkos and KokkosKernels](https://github.com/sandialabs/compadre/wiki/Kokkos-and-KokkosKernels) [Either automatically configured and built, or user installation location provided]
+[Installation of Compadre](https://github.com/sandialabs/compadre/wiki/Building-Compadre)
+## Documentation and Tutorials
+The toolkit is documented by Doxygen. <b>[Documentation is available online](https://sandialabs.github.io/compadre/index.html)</b> or can be compiled from source.
+To compile from source: 1.) install doxygen software on your computer, 2.) execute '>> make doc' after having installed the Compadre Toolkit. HTML and Latex documentation will be generated in the <b>doc/</b> folder, in-source.
+## Citing the Software
+If you write a paper using results obtained with the help of the Compadre Toolkit, please cite the following reference which is applicable to every version of the Compadre Toolkit:
+```
+@software{compadre_toolkit,
+ author = {Paul Kuberry and
+ Peter Bosler and
+ Nathaniel Trask},
+ title = {Compadre Toolkit},
+ month = jan,
+ year = 2019,
+ doi = {10.11578/dc.20190411.1},
+ url = {https://github.com/sandialabs/compadre}
+}
+```
+If you are using a particular release of the Compadre Toolkit and would like to help others to reproduce your results, please cite that release specifically. A reference to the most recent release is:
+```
+@software{compadre_toolkit_v1_5_0,
+ author = {Paul Kuberry and
+ Peter Bosler and
+ Nathaniel Trask},
+ title = {Compadre Toolkit},
+ month = sep,
+ year = 2022,
+ publisher = {Zenodo},
+ version = {v1.5.0},
+ doi = {10.5281/zenodo.7065758},
+ url = {https://doi.org/10.5281/zenodo.7065758}
+}
+```
+```diff
+! DOI: 10.11578/dc.20190411.1
+```
+
+%package help
+Summary: Development documents and examples for pycompadre
+Provides: python3-pycompadre-doc
+%description help
+## Wiki Information
+Details about building and using the Compadre toolkit can be found on the [Wiki](https://github.com/sandialabs/compadre/wiki).
+## Recent Changes
+[Recent Changes](https://github.com/sandialabs/compadre/wiki/Changelog)
+## Installation
+[Installation of Kokkos and KokkosKernels](https://github.com/sandialabs/compadre/wiki/Kokkos-and-KokkosKernels) [Either automatically configured and built, or user installation location provided]
+[Installation of Compadre](https://github.com/sandialabs/compadre/wiki/Building-Compadre)
+## Documentation and Tutorials
+The toolkit is documented by Doxygen. <b>[Documentation is available online](https://sandialabs.github.io/compadre/index.html)</b> or can be compiled from source.
+To compile from source: 1.) install doxygen software on your computer, 2.) execute '>> make doc' after having installed the Compadre Toolkit. HTML and Latex documentation will be generated in the <b>doc/</b> folder, in-source.
+## Citing the Software
+If you write a paper using results obtained with the help of the Compadre Toolkit, please cite the following reference which is applicable to every version of the Compadre Toolkit:
+```
+@software{compadre_toolkit,
+ author = {Paul Kuberry and
+ Peter Bosler and
+ Nathaniel Trask},
+ title = {Compadre Toolkit},
+ month = jan,
+ year = 2019,
+ doi = {10.11578/dc.20190411.1},
+ url = {https://github.com/sandialabs/compadre}
+}
+```
+If you are using a particular release of the Compadre Toolkit and would like to help others to reproduce your results, please cite that release specifically. A reference to the most recent release is:
+```
+@software{compadre_toolkit_v1_5_0,
+ author = {Paul Kuberry and
+ Peter Bosler and
+ Nathaniel Trask},
+ title = {Compadre Toolkit},
+ month = sep,
+ year = 2022,
+ publisher = {Zenodo},
+ version = {v1.5.0},
+ doi = {10.5281/zenodo.7065758},
+ url = {https://doi.org/10.5281/zenodo.7065758}
+}
+```
+```diff
+! DOI: 10.11578/dc.20190411.1
+```
+
+%prep
+%autosetup -n pycompadre-1.5.5
+
+%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-pycompadre -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..917b14c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+97a600e27daf9837b7af5b9853a08141 pycompadre-1.5.5.tar.gz