diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-31 03:41:34 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-31 03:41:34 +0000 |
commit | 258813796abb79303c130153e2dc6b0edfe1d73f (patch) | |
tree | 0ac5e12637857d9d104c91e7c5dbf9dbc547fd28 | |
parent | d68616914dce86e9c752be7ac66766baede16113 (diff) |
automatic import of python-ironpy
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-ironpy.spec | 80 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 82 insertions, 0 deletions
@@ -0,0 +1 @@ +/IRonPy-0.3.88.tar.gz diff --git a/python-ironpy.spec b/python-ironpy.spec new file mode 100644 index 0000000..1a70d9b --- /dev/null +++ b/python-ironpy.spec @@ -0,0 +1,80 @@ +%global _empty_manifest_terminate_build 0 +Name: python-IRonPy +Version: 0.3.88 +Release: 1 +Summary: IRon Package +License: MIT +URL: https://github.com/berreergun/IRonPy +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1d/73/c7f603c20c2ea4185b02a625cff5c447ec217b3c5a13bc71bdc5d791040e/IRonPy-0.3.88.tar.gz +BuildArch: noarch + +Requires: python3-matplotlib +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-sklearn +Requires: python3-pywin32 + +%description +[](http://www.repostatus.org/#active) +A Python Package for solving **I**mbalanced **R**egressi**on** tasks + +%package -n python3-IRonPy +Summary: IRon Package +Provides: python-IRonPy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-IRonPy +[](http://www.repostatus.org/#active) +A Python Package for solving **I**mbalanced **R**egressi**on** tasks + +%package help +Summary: Development documents and examples for IRonPy +Provides: python3-IRonPy-doc +%description help +[](http://www.repostatus.org/#active) +A Python Package for solving **I**mbalanced **R**egressi**on** tasks + +%prep +%autosetup -n IRonPy-0.3.88 + +%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-IRonPy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.88-1 +- Package Spec generated @@ -0,0 +1 @@ +1e55c230ef0a50ad5e27b7a5d283f54a IRonPy-0.3.88.tar.gz |