summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 16:38:36 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 16:38:36 +0000
commit9bf6897e1fd376b5b7f7d5e9a847c14528c39f1b (patch)
treef7d9aa26164d112aaa29ad4331eb4ee5328db86b
parent90c1033b45e4ed7c23966a5372cc962a30311368 (diff)
automatic import of python-mceq
-rw-r--r--.gitignore1
-rw-r--r--python-mceq.spec207
-rw-r--r--sources1
3 files changed, 209 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..af7e165 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MCEq-1.2.6.tar.gz
diff --git a/python-mceq.spec b/python-mceq.spec
new file mode 100644
index 0000000..7b9a8a3
--- /dev/null
+++ b/python-mceq.spec
@@ -0,0 +1,207 @@
+%global _empty_manifest_terminate_build 0
+Name: python-MCEq
+Version: 1.2.6
+Release: 1
+Summary: Numerical cascade equation solver
+License: BSD 3-Clause License
+URL: https://github.com/afedynitch/MCEq
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/55/ba/17e4284159eba830074d0e1df50475d0ba71be0ef8316dbdd007b976a405/MCEq-1.2.6.tar.gz
+
+Requires: python3-six
+Requires: python3-h5py
+Requires: python3-particletools
+Requires: python3-crflux
+Requires: python3-scipy
+Requires: python3-numpy
+Requires: python3-tqdm
+Requires: python3-requests
+Requires: python3-cupy-cuda112
+Requires: python3-mkl
+
+%description
+# MCEq - Matrix cascade equations
+
+MCEq is a tool to numerically solve cascade equations that describe the evolution
+of particle densities as they propagate through a gaseous or dense medium.
+The main application are particle cascades in the Earth's atmosphere.
+Particles are represented by average densities on discrete energy bins.
+The results are differential energy spectra or total particle numbers.
+Various models/parameterizations for particle interactions and atmospheric
+density profiles are packaged with the code.
+
+This is a new version of the code and may break compatibility with the previous versions.
+The old versions known as 'master' and 'development' branch are deprecated and located in the
+[MCEq_classic repository](https://github.com/afedynitch/MCEq_classic).
+
+## [Documentation](http://mceq.readthedocs.org/en/latest/)
+
+[The documentation](http://mceq.readthedocs.org/en/latest/) contains installation instructions, a tutorial and more.
+
+### Version 1.2
+This is a significant update and some of the results. Please consult the
+[CHANGELOG](CHANGELOG) and the dedicated [doc page](http://mceq.readthedocs.org/en/latest/v12v11_diff.html).
+
+## Please cite our work
+
+If you are using this code in your scientific work, please cite the code **AND** the
+physical models. A complete list of references can be found in the
+[Citations section of the docs](http://mceq.readthedocs.org/en/latest/citations.html).
+
+### Authors:
+
+*Anatoli Fedynitch*
+
+### Contributers
+
+*[Hans Dembinski](https://github.com/HDembinski)*
+
+## Copyright and license
+
+Code released under [the BSD 3-clause license (see LICENSE)](LICENSE).
+
+
+
+
+%package -n python3-MCEq
+Summary: Numerical cascade equation solver
+Provides: python-MCEq
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-MCEq
+# MCEq - Matrix cascade equations
+
+MCEq is a tool to numerically solve cascade equations that describe the evolution
+of particle densities as they propagate through a gaseous or dense medium.
+The main application are particle cascades in the Earth's atmosphere.
+Particles are represented by average densities on discrete energy bins.
+The results are differential energy spectra or total particle numbers.
+Various models/parameterizations for particle interactions and atmospheric
+density profiles are packaged with the code.
+
+This is a new version of the code and may break compatibility with the previous versions.
+The old versions known as 'master' and 'development' branch are deprecated and located in the
+[MCEq_classic repository](https://github.com/afedynitch/MCEq_classic).
+
+## [Documentation](http://mceq.readthedocs.org/en/latest/)
+
+[The documentation](http://mceq.readthedocs.org/en/latest/) contains installation instructions, a tutorial and more.
+
+### Version 1.2
+This is a significant update and some of the results. Please consult the
+[CHANGELOG](CHANGELOG) and the dedicated [doc page](http://mceq.readthedocs.org/en/latest/v12v11_diff.html).
+
+## Please cite our work
+
+If you are using this code in your scientific work, please cite the code **AND** the
+physical models. A complete list of references can be found in the
+[Citations section of the docs](http://mceq.readthedocs.org/en/latest/citations.html).
+
+### Authors:
+
+*Anatoli Fedynitch*
+
+### Contributers
+
+*[Hans Dembinski](https://github.com/HDembinski)*
+
+## Copyright and license
+
+Code released under [the BSD 3-clause license (see LICENSE)](LICENSE).
+
+
+
+
+%package help
+Summary: Development documents and examples for MCEq
+Provides: python3-MCEq-doc
+%description help
+# MCEq - Matrix cascade equations
+
+MCEq is a tool to numerically solve cascade equations that describe the evolution
+of particle densities as they propagate through a gaseous or dense medium.
+The main application are particle cascades in the Earth's atmosphere.
+Particles are represented by average densities on discrete energy bins.
+The results are differential energy spectra or total particle numbers.
+Various models/parameterizations for particle interactions and atmospheric
+density profiles are packaged with the code.
+
+This is a new version of the code and may break compatibility with the previous versions.
+The old versions known as 'master' and 'development' branch are deprecated and located in the
+[MCEq_classic repository](https://github.com/afedynitch/MCEq_classic).
+
+## [Documentation](http://mceq.readthedocs.org/en/latest/)
+
+[The documentation](http://mceq.readthedocs.org/en/latest/) contains installation instructions, a tutorial and more.
+
+### Version 1.2
+This is a significant update and some of the results. Please consult the
+[CHANGELOG](CHANGELOG) and the dedicated [doc page](http://mceq.readthedocs.org/en/latest/v12v11_diff.html).
+
+## Please cite our work
+
+If you are using this code in your scientific work, please cite the code **AND** the
+physical models. A complete list of references can be found in the
+[Citations section of the docs](http://mceq.readthedocs.org/en/latest/citations.html).
+
+### Authors:
+
+*Anatoli Fedynitch*
+
+### Contributers
+
+*[Hans Dembinski](https://github.com/HDembinski)*
+
+## Copyright and license
+
+Code released under [the BSD 3-clause license (see LICENSE)](LICENSE).
+
+
+
+
+%prep
+%autosetup -n MCEq-1.2.6
+
+%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-MCEq -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.6-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..7b68ecd
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d8ba491abd91308c61391039e3b15231 MCEq-1.2.6.tar.gz