From f1762799b9791d758cc393e4c978fccdd6780d39 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 23:29:31 +0000 Subject: automatic import of python-orange3 --- python-orange3.spec | 98 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 python-orange3.spec (limited to 'python-orange3.spec') 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 - 3.34.1-1 +- Package Spec generated -- cgit v1.2.3