Projects
Eulaceura:Mainline
python-lightgbm
_service:obs_scm:python-lightgbm.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-lightgbm.spec of Package python-lightgbm
%global _empty_manifest_terminate_build 0 Name: python-lightgbm Version: 3.3.0 Release: 1 Summary: LightGBM Python Package License: The MIT License URL: https://github.com/microsoft/LightGBM Source0: https://files.pythonhosted.org/packages/source/l/lightgbm/lightgbm-%{version}.tar.gz Requires: python3-wheel Requires: python3-numpy Requires: python3-scipy Requires: python3-scikit-learn Requires: python3-dask[array] Requires: python3-dask[dataframe] Requires: python3-dask[distributed] Requires: python3-pandas %description LightGBM is a fast, distributed, high performance gradient boosting framework that uses tree based learning algorithms. %package -n python3-lightgbm Summary: LightGBM Python Package Provides: python-lightgbm BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-cffi BuildRequires: gcc BuildRequires: gdb BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: python3-wheel %description -n python3-lightgbm LightGBM is a fast, distributed, high performance gradient boosting framework that uses tree based learning algorithms. %package help Summary: Development documents and examples for lightgbm Provides: python3-lightgbm-doc %description help LightGBM is a fast, distributed, high performance gradient boosting framework that uses tree based learning algorithms. %prep %autosetup -n lightgbm-%{version} %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-lightgbm -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Wed Nov 06 2024 songliyang <songliyang@kylinos.cn> - 3.3.0-1 - upgrade to version 3.3.0 - fix possible precision loss in xentropy and fair loss objectives - remove unused DCGCalculator::CalDCGAtK() - allow inclusion in C programs - add param aliases from scikit-learn * Tue Jan 2 2024 Ouuleilei <wangliu@iscas.ac.cn> - 3.2.1-2 - Add BuildRequires to fix package error. * Thu May 27 2021 Python_Bot <Python_Bot@openeuler.org> - 3.2.1-1 - Package Spec generated
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2