2024-01-05 16:26:48 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-05 16:26:44 +01:00
|
|
|
Name: python-pylint
|
2024-09-22 02:48:57 +02:00
|
|
|
Version: 3.3.0
|
2024-01-05 16:26:48 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 16:26:44 +01:00
|
|
|
Summary: Python code static checker
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 16:26:44 +01:00
|
|
|
URL: https://pypi.org/project/pylint/
|
2024-01-05 16:26:44 +01:00
|
|
|
Source: https://pypi.debian.net/pylint/pylint-%{version}.tar.gz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:26:49 +01:00
|
|
|
BuildRequires: (python3.11dist(isort) < 5.13 or python3.11dist(isort) > 5.13)
|
2024-01-05 16:26:48 +01:00
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(astroid)
|
|
|
|
BuildRequires: python3.11dist(dill)
|
|
|
|
BuildRequires: python3.11dist(isort)
|
|
|
|
BuildRequires: python3.11dist(mccabe)
|
|
|
|
BuildRequires: python3.11dist(platformdirs)
|
|
|
|
BuildRequires: python3.11dist(tomlkit)
|
2024-01-05 16:26:44 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
Pylint is a python tool that checks if a module satisfies a coding standard.
|
|
|
|
Pylint is similar to PyChecker but offers more features, like checking line-code's length, checking if variable names are well-formed according to your coding standard, or checking if declared interfaces are truly implemented, and much more (see the complete check list).
|
|
|
|
The big advantage with Pylint is that it is highly configurable, customizable, and you can easily write a small plugin to add a personal feature.
|
|
|
|
|
|
|
|
%if "%{?with_pyver}"
|
2024-01-05 16:26:47 +01:00
|
|
|
%if "%{?with_pyver}" == "3"
|
2024-01-05 16:26:44 +01:00
|
|
|
%define py_requires_append \
|
2024-01-05 16:26:47 +01:00
|
|
|
Obsoletes: python-pylint-tools <= 2.14.5-2mamba \
|
|
|
|
Obsoletes: pylint-tools < 2.12.2-2mamba \
|
|
|
|
Obsoletes: pylint-gui < 2.6.0 \
|
2024-01-05 16:26:44 +01:00
|
|
|
Provides: pylint \
|
|
|
|
Obsoletes: pylint < 2.6.0 \
|
|
|
|
Provides: pylint-py3 \
|
|
|
|
Obsoletes: pylint-py3 < 2.12.2-2mamba
|
2024-01-05 16:26:47 +01:00
|
|
|
%endif
|
2024-01-05 16:26:44 +01:00
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n pylint-%{version}
|
2024-01-05 16:26:48 +01:00
|
|
|
# Remove conflicting build time dependencies
|
|
|
|
sed -i -E '/^requires/s/~=[0-9.]+//g' pyproject.toml
|
|
|
|
# Remove overly restrictive dependency
|
|
|
|
sed -i -e '/>=/{s/>.*//;p}' -e '/python_requires/d' setup.cfg
|
2024-01-05 16:26:44 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 16:26:48 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-05 16:26:44 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 16:26:48 +01:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-05 16:26:44 +01:00
|
|
|
|
|
|
|
# Do not package testsuite
|
|
|
|
rm -rf %{buildroot}%{python_sitelib}/pylint/test
|
|
|
|
|
2024-01-05 16:26:47 +01:00
|
|
|
%if "%{?with_pyver}" != "3"
|
|
|
|
# Rename any conflicting file outside of python site packages tree
|
2024-01-05 16:26:49 +01:00
|
|
|
for f in %{_bindir}/{pylint,pylint-config,pyreverse,symilar}; do
|
2024-01-05 16:26:47 +01:00
|
|
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
done
|
|
|
|
%endif
|
2024-01-05 16:26:44 +01:00
|
|
|
|
2024-01-05 16:26:48 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-05 16:26:44 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:26:47 +01:00
|
|
|
%{_bindir}/pylint*
|
|
|
|
%{_bindir}/pyreverse*
|
|
|
|
%{_bindir}/symilar*
|
2024-01-05 16:26:48 +01:00
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
%dir %{python_sitelib}/%{pkgname}
|
|
|
|
%{python_sitelib}/%{pkgname}/*
|
2024-01-05 16:26:44 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-09-22 02:48:57 +02:00
|
|
|
* Sat Sep 21 2024 Automatic Build System <autodist@openmamba.org> 3.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 01 2024 Automatic Build System <autodist@openmamba.org> 3.2.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-07-22 10:41:51 +02:00
|
|
|
* Mon Jul 22 2024 Automatic Build System <autodist@openmamba.org> 3.2.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-30 21:28:10 +02:00
|
|
|
* Sat Jun 29 2024 Automatic Build System <autodist@openmamba.org> 3.2.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-26 19:29:42 +02:00
|
|
|
* Wed Jun 26 2024 Automatic Build System <autodist@openmamba.org> 3.2.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-08 10:30:23 +02:00
|
|
|
* Thu Jun 06 2024 Automatic Build System <autodist@openmamba.org> 3.2.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-22 10:06:38 +02:00
|
|
|
* Tue May 21 2024 Automatic Build System <autodist@openmamba.org> 3.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-20 09:59:51 +02:00
|
|
|
* Sun May 19 2024 Automatic Build System <autodist@openmamba.org> 3.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-15 10:54:59 +02:00
|
|
|
* Tue May 14 2024 Automatic Build System <autodist@openmamba.org> 3.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue May 14 2024 Automatic Build System <autodist@openmamba.org> 3.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-28 10:05:04 +01:00
|
|
|
* Mon Feb 26 2024 Automatic Build System <autodist@openmamba.org> 3.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-25 19:47:24 +01:00
|
|
|
* Sat Feb 24 2024 Automatic Build System <autodist@openmamba.org> 3.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:26:49 +01:00
|
|
|
* Mon Dec 11 2023 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:26:49 +01:00
|
|
|
* Sun Oct 22 2023 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Oct 06 2023 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 04 2023 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:26:48 +01:00
|
|
|
* Sun Oct 01 2023 Automatic Build System <autodist@mambasoft.it> 2.17.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Sep 25 2023 Automatic Build System <autodist@mambasoft.it> 2.17.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:26:48 +01:00
|
|
|
* Sun Sep 10 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.17.5-2mamba
|
|
|
|
- fix conflicting binary pylint-config
|
|
|
|
|
|
|
|
* Sat Sep 09 2023 Automatic Build System <autodist@mambasoft.it> 2.17.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:26:47 +01:00
|
|
|
* Tue Apr 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.14.5-3mamba
|
|
|
|
- fix cross-obsolete in -py3 and -py310 subpackages; remove python-pylint-tools subpackage in favour of renamed binaries
|
|
|
|
|
2024-01-05 16:26:46 +01:00
|
|
|
* Fri Apr 07 2023 Sdk Build System <sdk@mambasoft.it> 2.14.5-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-05 16:26:45 +01:00
|
|
|
* Mon Jul 18 2022 Automatic Build System <autodist@mambasoft.it> 2.14.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:26:45 +01:00
|
|
|
* Wed Jun 29 2022 Automatic Build System <autodist@mambasoft.it> 2.14.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:26:45 +01:00
|
|
|
* Sun Jun 19 2022 Automatic Build System <autodist@mambasoft.it> 2.14.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:26:45 +01:00
|
|
|
* Thu Jun 16 2022 Automatic Build System <autodist@mambasoft.it> 2.14.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:26:45 +01:00
|
|
|
* Thu Jun 09 2022 Automatic Build System <autodist@mambasoft.it> 2.14.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jun 03 2022 Automatic Build System <autodist@mambasoft.it> 2.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:26:45 +01:00
|
|
|
* Sat May 14 2022 Automatic Build System <autodist@mambasoft.it> 2.13.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:26:45 +01:00
|
|
|
* Tue May 03 2022 Automatic Build System <autodist@mambasoft.it> 2.13.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:26:45 +01:00
|
|
|
* Thu Apr 21 2022 Automatic Build System <autodist@mambasoft.it> 2.13.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:26:45 +01:00
|
|
|
* Thu Apr 07 2022 Automatic Build System <autodist@mambasoft.it> 2.13.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:26:44 +01:00
|
|
|
* Sat Apr 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.13.4-1mamba
|
|
|
|
- update to 2.13.4
|
|
|
|
|
2024-01-05 16:26:44 +01:00
|
|
|
* Sun Feb 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.2-2mamba
|
|
|
|
- rebuilt with distdeps
|
|
|
|
|
|
|
|
* Sat Dec 04 2021 Automatic Build System <autodist@mambasoft.it> 2.12.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Nov 26 2021 Automatic Build System <autodist@mambasoft.it> 2.12.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Nov 25 2021 Automatic Build System <autodist@mambasoft.it> 2.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Sep 17 2021 Automatic Build System <autodist@mambasoft.it> 2.11.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Aug 22 2021 Automatic Build System <autodist@mambasoft.it> 2.10.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Aug 22 2021 Automatic Build System <autodist@mambasoft.it> 2.10.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Aug 21 2021 Automatic Build System <autodist@mambasoft.it> 2.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 29 2021 Automatic Build System <autodist@mambasoft.it> 2.9.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Automatic Build System <autodist@mambasoft.it> 2.9.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Automatic Build System <autodist@mambasoft.it> 2.9.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jul 18 2021 Automatic Build System <autodist@mambasoft.it> 2.9.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 01 2021 Automatic Build System <autodist@mambasoft.it> 2.8.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun May 23 2021 Automatic Build System <autodist@mambasoft.it> 2.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Mar 30 2021 Automatic Build System <autodist@mambasoft.it> 2.7.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Mar 30 2021 Automatic Build System <autodist@mambasoft.it> 2.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Mar 01 2021 Automatic Build System <autodist@mambasoft.it> 2.7.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Feb 24 2021 Automatic Build System <autodist@mambasoft.it> 2.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Feb 22 2021 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.0-1mamba
|
|
|
|
- update to 2.6.0
|
|
|
|
|
|
|
|
* Sun Dec 07 2014 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon May 26 2014 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Feb 25 2014 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 01 2013 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri May 24 2013 Automatic Build System <autodist@mambasoft.it> 0.28.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Mar 08 2013 Automatic Build System <autodist@mambasoft.it> 0.27.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Oct 14 2012 Automatic Build System <autodist@mambasoft.it> 0.26.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 02 2012 Automatic Build System <autodist@mambasoft.it> 0.25.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Aug 06 2011 Automatic Build System <autodist@mambasoft.it> 0.24.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Feb 28 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.23.0-1mamba
|
|
|
|
- update to 0.23.0
|
|
|
|
|
|
|
|
* Mon May 31 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.21.0-1mamba
|
|
|
|
- package created by autospec
|