diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 23:29:31 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 23:29:31 +0000 |
| commit | f1762799b9791d758cc393e4c978fccdd6780d39 (patch) | |
| tree | 8a015411e88b670f8cbdb56ff22eb7435b35660f | |
| parent | 892a059badad0b53cec29f13b8ddd663ffdd47f4 (diff) | |
automatic import of python-orange3
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-orange3.spec | 98 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 100 insertions, 0 deletions
@@ -0,0 +1 @@ +/Orange3-3.34.1.tar.gz diff --git a/python-orange3.spec b/python-orange3.spec new file mode 100644 index 0000000..a3f9045 --- /dev/null +++ b/python-orange3.spec @@ -0,0 +1,98 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Orange3 +Version: 3.34.1 +Release: 1 +Summary: Orange, a component-based data mining framework. +License: GPLv3+ +URL: https://orangedatamining.com/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a0/c9/69a52abcbc7d8c43936ff30edd4d161eb8538e23058928d114b862a4c96e/Orange3-3.34.1.tar.gz + + +%description +[Orange] is a component-based data mining software. It includes a range of data +visualization, exploration, preprocessing and modeling techniques. It can be +used through a nice and intuitive user interface or, for more advanced users, +as a module for the Python programming language. +This is the latest version of Orange (for Python 3). The deprecated version of +Orange 2.7 (for Python 2.7) is still available ([binaries] and [sources]). +[Orange]: https://orange.biolab.si/ +[binaries]: https://orange.biolab.si/orange2/ +[sources]: https://github.com/biolab/orange2 + +%package -n python3-Orange3 +Summary: Orange, a component-based data mining framework. +Provides: python-Orange3 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-Orange3 +[Orange] is a component-based data mining software. It includes a range of data +visualization, exploration, preprocessing and modeling techniques. It can be +used through a nice and intuitive user interface or, for more advanced users, +as a module for the Python programming language. +This is the latest version of Orange (for Python 3). The deprecated version of +Orange 2.7 (for Python 2.7) is still available ([binaries] and [sources]). +[Orange]: https://orange.biolab.si/ +[binaries]: https://orange.biolab.si/orange2/ +[sources]: https://github.com/biolab/orange2 + +%package help +Summary: Development documents and examples for Orange3 +Provides: python3-Orange3-doc +%description help +[Orange] is a component-based data mining software. It includes a range of data +visualization, exploration, preprocessing and modeling techniques. It can be +used through a nice and intuitive user interface or, for more advanced users, +as a module for the Python programming language. +This is the latest version of Orange (for Python 3). The deprecated version of +Orange 2.7 (for Python 2.7) is still available ([binaries] and [sources]). +[Orange]: https://orange.biolab.si/ +[binaries]: https://orange.biolab.si/orange2/ +[sources]: https://github.com/biolab/orange2 + +%prep +%autosetup -n Orange3-3.34.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-Orange3 -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.34.1-1 +- Package Spec generated @@ -0,0 +1 @@ +298af4cb5df573abb04492a8d11ab84e Orange3-3.34.1.tar.gz |
