diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-12 02:01:34 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 02:01:34 +0000 |
| commit | 20857660986894c0cb9c91a02a1f29ed8efc8a25 (patch) | |
| tree | c0bc3a5bf9f6da81a18e0b43ea1692a0e2bd769c | |
| parent | 7d7aa044eb4a74074cc27341cfeaecbdf982888d (diff) | |
automatic import of python-scikit-miscopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-scikit-misc.spec | 93 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 95 insertions, 0 deletions
@@ -0,0 +1 @@ +/scikit-misc-0.1.4.tar.gz diff --git a/python-scikit-misc.spec b/python-scikit-misc.spec new file mode 100644 index 0000000..65171b6 --- /dev/null +++ b/python-scikit-misc.spec @@ -0,0 +1,93 @@ +%global _empty_manifest_terminate_build 0 +Name: python-scikit-misc +Version: 0.1.4 +Release: 1 +Summary: Miscellaneous tools for scientific computing. +License: BSD (3-clause) +URL: https://github.com/has2k1/scikit-misc +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7f/4c/09b815280c0362fda3172272973b3e18d9347df7607d491abc53e9a47f00/scikit-misc-0.1.4.tar.gz + +Requires: python3-numpy + +%description + +scikit-misc + +Miscellaneous tools for data analysis and scientific computing. + + + + +%package -n python3-scikit-misc +Summary: Miscellaneous tools for scientific computing. +Provides: python-scikit-misc +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-scikit-misc + +scikit-misc + +Miscellaneous tools for data analysis and scientific computing. + + + + +%package help +Summary: Development documents and examples for scikit-misc +Provides: python3-scikit-misc-doc +%description help + +scikit-misc + +Miscellaneous tools for data analysis and scientific computing. + + + + +%prep +%autosetup -n scikit-misc-0.1.4 + +%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-scikit-misc -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.4-1 +- Package Spec generated @@ -0,0 +1 @@ +d7cd153471b49356b7848211db13fa32 scikit-misc-0.1.4.tar.gz |
