diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-10 04:09:19 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 04:09:19 +0000 |
| commit | ed5f7153c6dcb0027b6eb01fd9fdbc7bd1ce5e66 (patch) | |
| tree | 572861a1ad8d770352b165a27c58c4f2819594e9 | |
| parent | 546ea367f9749dc8888d1130e78be250ab2faabc (diff) | |
automatic import of python-qncpopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-qncp.spec | 86 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 88 insertions, 0 deletions
@@ -0,0 +1 @@ +/QNCP-1.11.tar.gz diff --git a/python-qncp.spec b/python-qncp.spec new file mode 100644 index 0000000..2a1b726 --- /dev/null +++ b/python-qncp.spec @@ -0,0 +1,86 @@ +%global _empty_manifest_terminate_build 0 +Name: python-QNCP +Version: 1.11 +Release: 1 +Summary: please add a summary manually as the author left a blank one +License: MIT +URL: https://github.com/frozenbooger/QNCP +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ef/e2/838508373caaa899f9846e1081ea860ff723c11b094bb6a4485370305c21/QNCP-1.11.tar.gz +BuildArch: noarch + +Requires: python3-matplotlib +Requires: python3-numpy +Requires: python3-numpydoc +Requires: python3-paramiko +Requires: python3-pyvis +Requires: python3-PyVISA +Requires: python3-PyVISA-py +Requires: python3-regex +Requires: python3-scipy +Requires: python3-scikit-learn +Requires: python3-scp +Requires: python3-visa +Requires: python3-vxi11 +Requires: python3-torch + +%description + + +%package -n python3-QNCP +Summary: please add a summary manually as the author left a blank one +Provides: python-QNCP +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-QNCP + + +%package help +Summary: Development documents and examples for QNCP +Provides: python3-QNCP-doc +%description help + + +%prep +%autosetup -n QNCP-1.11 + +%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-QNCP -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.11-1 +- Package Spec generated @@ -0,0 +1 @@ +b32a4ee29c206378e4f386fa6a27896e QNCP-1.11.tar.gz |
