python-pylint/python-pylint.spec

227 lines
8.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-pylint
Version: 2.14.4
Release: 1mamba
Summary: Python code static checker
Group: Development/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/pylint/
Source: https://pypi.debian.net/pylint/pylint-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(astroid)
BuildRequires: python3.7dist(dill)
BuildRequires: python3.7dist(isort)
BuildRequires: python3.7dist(mccabe)
BuildRequires: python3.7dist(platformdirs)
BuildRequires: python3.7dist(setuptools)
BuildRequires: python3.7dist(tomli)
BuildRequires: python3.7dist(tomlkit)
BuildRequires: python3.7dist(typing-extensions)
## 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.
%package tools
Summary: Command line tools provided with Pylint
Group: Graphical Desktop/Applications/Development
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#Requires: python-tk
Obsoletes: pylint-gui < 2.6.0
Obsoletes: pylint-tools < 2.12.2-2mamba
%description tools
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.
This package provides the command line tools provided with Pylint.
%if "%{?with_pyver}"
%define py_requires_append \
Requires: python-pylint-tools = %{?epoch:%epoch:}%{version}-%{release} \
Provides: pylint \
Obsoletes: pylint < 2.6.0 \
Provides: pylint-py3 \
Obsoletes: pylint-py3 < 2.12.2-2mamba
%pyver_package
%endif
%prep
%setup -q -n pylint-%{version}
%build
%{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--single-version-externally-managed \
--record=%{name}.filelist
# Do not package testsuite
rm -rf %{buildroot}%{python_sitelib}/pylint/test
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz,;\,/test/,d" %{name}.filelist
#install -d -m 0755 %{buildroot}%{_mandir}/man1
#install -m 0644 man/*.1 %{buildroot}%{_mandir}/man1/
## Fix encoding in readme and other documentation files
#for f in README doc/*.txt; do
# iconv -f iso-8859-15 -t utf-8 $f > $f.utf8
# mv -f $f.utf8 $f
#done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/pylint-%{version}-py*.egg-info
%{python_sitearch}/pylint-%{version}-py*.egg-info/*
%exclude %{_bindir}
%doc LICENSE
%files tools
%defattr(-,root,root,-)
%{_bindir}/epylint
%{_bindir}/pylint
%{_bindir}/pyreverse
%{_bindir}/symilar
%changelog
* Wed Jun 29 2022 Automatic Build System <autodist@mambasoft.it> 2.14.4-1mamba
- automatic version update by autodist
* Sun Jun 19 2022 Automatic Build System <autodist@mambasoft.it> 2.14.3-1mamba
- automatic version update by autodist
* Thu Jun 16 2022 Automatic Build System <autodist@mambasoft.it> 2.14.2-1mamba
- automatic version update by autodist
* 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
* Sat May 14 2022 Automatic Build System <autodist@mambasoft.it> 2.13.9-1mamba
- automatic version update by autodist
* Tue May 03 2022 Automatic Build System <autodist@mambasoft.it> 2.13.8-1mamba
- automatic version update by autodist
* Thu Apr 21 2022 Automatic Build System <autodist@mambasoft.it> 2.13.7-1mamba
- automatic version update by autodist
* Thu Apr 07 2022 Automatic Build System <autodist@mambasoft.it> 2.13.5-1mamba
- automatic version update by autodist
* Sat Apr 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.13.4-1mamba
- update to 2.13.4
* 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