diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-18 03:50:45 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-18 03:50:45 +0000 |
| commit | 9595a1879d53e9475dc651ea634ba288e2ff3835 (patch) | |
| tree | 7918b192a80bfb4ed4dd19688e687ad8b02c6a94 | |
| parent | 5ab5e2fcb96c88b17e446c4ebb7df15bbda0f1ad (diff) | |
automatic import of python-rheia
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-rheia.spec | 81 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 83 insertions, 0 deletions
@@ -0,0 +1 @@ +/rheia-1.1.9.tar.gz diff --git a/python-rheia.spec b/python-rheia.spec new file mode 100644 index 0000000..8144da2 --- /dev/null +++ b/python-rheia.spec @@ -0,0 +1,81 @@ +%global _empty_manifest_terminate_build 0 +Name: python-rheia +Version: 1.1.9 +Release: 1 +Summary: Robust design optimization of renewable Hydrogen and dErIved energy cArrier systems +License: MIT License +URL: https://github.com/rheia-framework/RHEIA +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/60/20/2e4bca1eb7991011611114cfbefd88a3d8e1b71d8e66c2a0c86ac513a970/rheia-1.1.9.tar.gz +BuildArch: noarch + +Requires: python3-pyDOE +Requires: python3-deap +Requires: python3-numpy +Requires: python3-scipy +Requires: python3-sobolsequence +Requires: python3-pandas +Requires: python3-matplotlib +Requires: python3-pvlib +Requires: python3-h5py + +%description + + +%package -n python3-rheia +Summary: Robust design optimization of renewable Hydrogen and dErIved energy cArrier systems +Provides: python-rheia +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-rheia + + +%package help +Summary: Development documents and examples for rheia +Provides: python3-rheia-doc +%description help + + +%prep +%autosetup -n rheia-1.1.9 + +%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-rheia -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.9-1 +- Package Spec generated @@ -0,0 +1 @@ +a66a7cd981ca940584c73b1545ad9525 rheia-1.1.9.tar.gz |
