diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-31 07:21:38 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-31 07:21:38 +0000 |
commit | e9b71179e2d7c1e388256ef4a58bb097b6ec3c26 (patch) | |
tree | 1f89655596574c95c70ba8b6043c96ab603740da | |
parent | 124f8c53c70773814c8e04bcbeaca0cbc99dec69 (diff) |
automatic import of python-ccsi-foqus
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-ccsi-foqus.spec | 88 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 90 insertions, 0 deletions
@@ -0,0 +1 @@ +/ccsi-foqus-3.17.1.tar.gz diff --git a/python-ccsi-foqus.spec b/python-ccsi-foqus.spec new file mode 100644 index 0000000..9de8f16 --- /dev/null +++ b/python-ccsi-foqus.spec @@ -0,0 +1,88 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ccsi-foqus +Version: 3.17.1 +Release: 1 +Summary: FOQUS tool for Simulation based Optimization, Uncertainty Quantification, and Surrogate modeling +License: BSD 3-Clause Variant (See LICENSE.md details) +URL: http://www.acceleratecarboncapture.org/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/18/b2/35e7ab18e2ec8b099f21bdc30865852ba35e63d9b8740c27d009c786220b/ccsi-foqus-3.17.1.tar.gz +BuildArch: noarch + +Requires: python3-boto3 +Requires: python3-cma +Requires: python3-matplotlib +Requires: python3-mlrose-hiive +Requires: python3-mplcursors +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-psutil +Requires: python3-PyQt5 +Requires: python3-requests +Requires: python3-scipy +Requires: python3-tqdm +Requires: python3-TurbineClient +Requires: python3-websocket-client +Requires: python3-pywin32 +Requires: python3-winshell + +%description + + +%package -n python3-ccsi-foqus +Summary: FOQUS tool for Simulation based Optimization, Uncertainty Quantification, and Surrogate modeling +Provides: python-ccsi-foqus +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-ccsi-foqus + + +%package help +Summary: Development documents and examples for ccsi-foqus +Provides: python3-ccsi-foqus-doc +%description help + + +%prep +%autosetup -n ccsi-foqus-3.17.1 + +%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-ccsi-foqus -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 3.17.1-1 +- Package Spec generated @@ -0,0 +1 @@ +a817cf68f1fa2643d93aec9f60fff66b ccsi-foqus-3.17.1.tar.gz |