diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 03:24:02 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 03:24:02 +0000 |
| commit | 93d8977e6d2840781fb8497acce1d10b00e08d79 (patch) | |
| tree | c89be72afae37c028cbb430d0ff49faafb44f7dd /python-qiskit-aqua.spec | |
| parent | 18fe72bc606f9714cfa5a891e3a70af9a3aaf7de (diff) | |
automatic import of python-qiskit-aqua
Diffstat (limited to 'python-qiskit-aqua.spec')
| -rw-r--r-- | python-qiskit-aqua.spec | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/python-qiskit-aqua.spec b/python-qiskit-aqua.spec new file mode 100644 index 0000000..677c7d9 --- /dev/null +++ b/python-qiskit-aqua.spec @@ -0,0 +1,118 @@ +%global _empty_manifest_terminate_build 0 +Name: python-qiskit-aqua +Version: 0.9.5 +Release: 1 +Summary: Qiskit Aqua: An extensible library of quantum computing algorithms +License: Apache-2.0 +URL: https://github.com/Qiskit/qiskit-aqua +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/00/52/d352ebb94877fa778315681906a785aa5a1c97f684f9a1c4bfe0717d1af4/qiskit-aqua-0.9.5.tar.gz +BuildArch: noarch + +Requires: python3-qiskit-terra +Requires: python3-qiskit-ignis +Requires: python3-scipy +Requires: python3-sympy +Requires: python3-numpy +Requires: python3-psutil +Requires: python3-scikit-learn +Requires: python3-dlx +Requires: python3-docplex +Requires: python3-fastdtw +Requires: python3-setuptools +Requires: python3-h5py +Requires: python3-pandas +Requires: python3-quandl +Requires: python3-yfinance +Requires: python3-retworkx +Requires: python3-dataclasses +Requires: python3-cplex +Requires: python3-cvxpy +Requires: python3-pyscf +Requires: python3-scikit-quant +Requires: python3-torch + +%description +<a href="https://qiskit.org/aqua" rel=nofollow>Qiskit Aqua</a> is an extensible, + modular, open-source library of quantum computing algorithms. + Researchers can experiment with Aqua algorithms, on near-term quantum devices and simulators, + and can also get involved by contributing new algorithms and algorithm-supporting objects, + such as optimizers and variational forms. + Qiskit Aqua also contains application domain support in the form of the chemistry, finance, + machine learning and optimization modules to experiment with real-world applications to quantum computing. + + + +%package -n python3-qiskit-aqua +Summary: Qiskit Aqua: An extensible library of quantum computing algorithms +Provides: python-qiskit-aqua +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-qiskit-aqua +<a href="https://qiskit.org/aqua" rel=nofollow>Qiskit Aqua</a> is an extensible, + modular, open-source library of quantum computing algorithms. + Researchers can experiment with Aqua algorithms, on near-term quantum devices and simulators, + and can also get involved by contributing new algorithms and algorithm-supporting objects, + such as optimizers and variational forms. + Qiskit Aqua also contains application domain support in the form of the chemistry, finance, + machine learning and optimization modules to experiment with real-world applications to quantum computing. + + + +%package help +Summary: Development documents and examples for qiskit-aqua +Provides: python3-qiskit-aqua-doc +%description help +<a href="https://qiskit.org/aqua" rel=nofollow>Qiskit Aqua</a> is an extensible, + modular, open-source library of quantum computing algorithms. + Researchers can experiment with Aqua algorithms, on near-term quantum devices and simulators, + and can also get involved by contributing new algorithms and algorithm-supporting objects, + such as optimizers and variational forms. + Qiskit Aqua also contains application domain support in the form of the chemistry, finance, + machine learning and optimization modules to experiment with real-world applications to quantum computing. + + + +%prep +%autosetup -n qiskit-aqua-0.9.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-qiskit-aqua -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.5-1 +- Package Spec generated |
