diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 23:37:30 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 23:37:30 +0000 |
| commit | 4a6c48a167cf42475a9b512f43c0e6869a5f6fe2 (patch) | |
| tree | 919c8887d10e004d42aa42c7d6244e8ae49bd0cd /python-qutip.spec | |
| parent | afb4d0275b1b2dfa7d080234ea5b1952dda59a65 (diff) | |
automatic import of python-qutip
Diffstat (limited to 'python-qutip.spec')
| -rw-r--r-- | python-qutip.spec | 160 |
1 files changed, 160 insertions, 0 deletions
diff --git a/python-qutip.spec b/python-qutip.spec new file mode 100644 index 0000000..57c1cc2 --- /dev/null +++ b/python-qutip.spec @@ -0,0 +1,160 @@ +%global _empty_manifest_terminate_build 0 +Name: python-qutip +Version: 4.7.1 +Release: 1 +Summary: QuTiP: The Quantum Toolbox in Python +License: BSD 3-Clause License +URL: https://qutip.org +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f3/b4/7dd554fb24f78e2c584ab9f5d204b41e8d7bd83b1d7b27b1bcdae0163800/qutip-4.7.1.tar.gz + +Requires: python3-numpy +Requires: python3-scipy +Requires: python3-packaging +Requires: python3-matplotlib +Requires: python3-cython +Requires: python3-cvxpy +Requires: python3-cvxopt +Requires: python3-pytest +Requires: python3-pytest-rerunfailures +Requires: python3-ipython +Requires: python3-matplotlib +Requires: python3-ipython +Requires: python3-cython +Requires: python3-cvxpy +Requires: python3-cvxopt +Requires: python3-pytest +Requires: python3-pytest-rerunfailures + +%description +[A. Pitchford](https://github.com/ajgpitch), +[C. Granade](https://github.com/cgranade), +[A. Grimsmo](https://github.com/arnelg), +[N. Shammah](https://github.com/nathanshammah), +[S. Ahmed](https://github.com/quantshah), +[N. Lambert](https://github.com/nwlambert), +[E. Giguère](https://github.com/ericgig), +[B. Li](https://github.com/boxili), +[J. Lishman](https://github.com/jakelishman), +[S. Cross](https://github.com/hodgestar), +[A. Galicia](https://github.com/AGaliciaMartinez), +[P. D. Nation](https://github.com/nonhermitian), +and [J. R. Johansson](https://github.com/jrjohansson) +[](https://github.com/qutip/qutip/actions/workflows/tests.yml) +[](https://coveralls.io/r/qutip/qutip) +[](https://codeclimate.com/github/qutip/qutip/maintainability) +[](https://opensource.org/licenses/BSD-3-Clause) +[](https://pypi.org/project/qutip) +[](https://anaconda.org/conda-forge/qutip) +QuTiP is open-source software for simulating the dynamics of closed and open quantum systems. +It uses the excellent Numpy, Scipy, and Cython packages as numerical backends, and graphical output is provided by Matplotlib. +QuTiP aims to provide user-friendly and efficient numerical simulations of a wide variety of quantum mechanical problems, including those with Hamiltonians and/or collapse operators with arbitrary time-dependence, commonly found in a wide range of physics applications. +QuTiP is freely available for use and/or modification, and it can be used on all Unix-based platforms and on Windows. +Being free of any licensing fees, QuTiP is ideal for exploring quantum mechanics in research as well as in the classroom. + +%package -n python3-qutip +Summary: QuTiP: The Quantum Toolbox in Python +Provides: python-qutip +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-qutip +[A. Pitchford](https://github.com/ajgpitch), +[C. Granade](https://github.com/cgranade), +[A. Grimsmo](https://github.com/arnelg), +[N. Shammah](https://github.com/nathanshammah), +[S. Ahmed](https://github.com/quantshah), +[N. Lambert](https://github.com/nwlambert), +[E. Giguère](https://github.com/ericgig), +[B. Li](https://github.com/boxili), +[J. Lishman](https://github.com/jakelishman), +[S. Cross](https://github.com/hodgestar), +[A. Galicia](https://github.com/AGaliciaMartinez), +[P. D. Nation](https://github.com/nonhermitian), +and [J. R. Johansson](https://github.com/jrjohansson) +[](https://github.com/qutip/qutip/actions/workflows/tests.yml) +[](https://coveralls.io/r/qutip/qutip) +[](https://codeclimate.com/github/qutip/qutip/maintainability) +[](https://opensource.org/licenses/BSD-3-Clause) +[](https://pypi.org/project/qutip) +[](https://anaconda.org/conda-forge/qutip) +QuTiP is open-source software for simulating the dynamics of closed and open quantum systems. +It uses the excellent Numpy, Scipy, and Cython packages as numerical backends, and graphical output is provided by Matplotlib. +QuTiP aims to provide user-friendly and efficient numerical simulations of a wide variety of quantum mechanical problems, including those with Hamiltonians and/or collapse operators with arbitrary time-dependence, commonly found in a wide range of physics applications. +QuTiP is freely available for use and/or modification, and it can be used on all Unix-based platforms and on Windows. +Being free of any licensing fees, QuTiP is ideal for exploring quantum mechanics in research as well as in the classroom. + +%package help +Summary: Development documents and examples for qutip +Provides: python3-qutip-doc +%description help +[A. Pitchford](https://github.com/ajgpitch), +[C. Granade](https://github.com/cgranade), +[A. Grimsmo](https://github.com/arnelg), +[N. Shammah](https://github.com/nathanshammah), +[S. Ahmed](https://github.com/quantshah), +[N. Lambert](https://github.com/nwlambert), +[E. Giguère](https://github.com/ericgig), +[B. Li](https://github.com/boxili), +[J. Lishman](https://github.com/jakelishman), +[S. Cross](https://github.com/hodgestar), +[A. Galicia](https://github.com/AGaliciaMartinez), +[P. D. Nation](https://github.com/nonhermitian), +and [J. R. Johansson](https://github.com/jrjohansson) +[](https://github.com/qutip/qutip/actions/workflows/tests.yml) +[](https://coveralls.io/r/qutip/qutip) +[](https://codeclimate.com/github/qutip/qutip/maintainability) +[](https://opensource.org/licenses/BSD-3-Clause) +[](https://pypi.org/project/qutip) +[](https://anaconda.org/conda-forge/qutip) +QuTiP is open-source software for simulating the dynamics of closed and open quantum systems. +It uses the excellent Numpy, Scipy, and Cython packages as numerical backends, and graphical output is provided by Matplotlib. +QuTiP aims to provide user-friendly and efficient numerical simulations of a wide variety of quantum mechanical problems, including those with Hamiltonians and/or collapse operators with arbitrary time-dependence, commonly found in a wide range of physics applications. +QuTiP is freely available for use and/or modification, and it can be used on all Unix-based platforms and on Windows. +Being free of any licensing fees, QuTiP is ideal for exploring quantum mechanics in research as well as in the classroom. + +%prep +%autosetup -n qutip-4.7.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-qutip -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 4.7.1-1 +- Package Spec generated |
