update to version 2.17.2
This commit is contained in:
parent
7e14f9a884
commit
07932e044c
Binary file not shown.
27
pylint.spec
27
pylint.spec
@ -1,21 +1,28 @@
|
|||||||
Name: pylint
|
Name: pylint
|
||||||
Version: 2.12.2
|
Version: 2.17.2
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Analyzes Python code looking for bugs and signs of poor quality
|
Summary: Analyzes Python code looking for bugs and signs of poor quality
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.pylint.org/
|
URL: http://www.pylint.org/
|
||||||
Source0: https://files.pythonhosted.org/packages/9d/6b/732db4470fb03760af3aada21189c95676c0ec514c3b044b42929e018224/pylint-2.12.2.tar.gz
|
Source0: https://github.com/pylint-dev/pylint/archive/refs/tags/v%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-toml
|
BuildRequires: python3-toml
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-editables
|
||||||
|
BuildRequires: python3-hatch-vcs
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
# For tests
|
# For tests
|
||||||
BuildRequires: python3-astroid >= 2.0.2
|
BuildRequires: python3-astroid >= 2.12.1
|
||||||
|
BuildRequires: python3-dill
|
||||||
BuildRequires: python3-isort
|
BuildRequires: python3-isort
|
||||||
BuildRequires: python3-mccabe
|
BuildRequires: python3-mccabe
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-pytest-runner
|
BuildRequires: python3-pytest-runner
|
||||||
|
BuildRequires: python3-tomlkit
|
||||||
BuildRequires: python3-six
|
BuildRequires: python3-six
|
||||||
|
|
||||||
# For the main pylint package
|
# For the main pylint package
|
||||||
@ -35,10 +42,12 @@ Additionally, it is possible to write plugins to add your own checks.
|
|||||||
|
|
||||||
%package -n python3-%{name}
|
%package -n python3-%{name}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
Requires: python3-astroid >= 2.3.0
|
Requires: python3-astroid >= 2.12.1
|
||||||
|
Requires: python3-dill
|
||||||
Requires: python3-setuptools
|
Requires: python3-setuptools
|
||||||
Requires: python3-mccabe
|
Requires: python3-mccabe
|
||||||
Requires: python3-isort
|
Requires: python3-isort
|
||||||
|
Requires: python3-tomlkit
|
||||||
Obsoletes: python3-pylint-gui < 1.7
|
Obsoletes: python3-pylint-gui < 1.7
|
||||||
%{?python_provide:%python_provide python3-%{name}}
|
%{?python_provide:%python_provide python3-%{name}}
|
||||||
|
|
||||||
@ -55,13 +64,13 @@ and much more.
|
|||||||
Additionally, it is possible to write plugins to add your own checks.
|
Additionally, it is possible to write plugins to add your own checks.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1 -n pylint-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
rm -rf %{buildroot}%{python3_sitelib}/pylint/test
|
rm -rf %{buildroot}%{python3_sitelib}/pylint/test
|
||||||
|
|
||||||
# Add -%%{python3_version} to the binaries and manpages for backwards compatibility
|
# Add -%%{python3_version} to the binaries and manpages for backwards compatibility
|
||||||
@ -76,6 +85,7 @@ done
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/epylint
|
%{_bindir}/epylint
|
||||||
%{_bindir}/pylint
|
%{_bindir}/pylint
|
||||||
|
%{_bindir}/pylint-config
|
||||||
%{_bindir}/pyreverse
|
%{_bindir}/pyreverse
|
||||||
%{_bindir}/symilar
|
%{_bindir}/symilar
|
||||||
|
|
||||||
@ -87,6 +97,9 @@ done
|
|||||||
%{_bindir}/*-%{python3_version}
|
%{_bindir}/*-%{python3_version}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 15 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2.17.2-1
|
||||||
|
- update to 2.17.2
|
||||||
|
|
||||||
* Wed Apr 27 2022 caodongxia <caodongxia@h-partners.com> - 2.12.2-1
|
* Wed Apr 27 2022 caodongxia <caodongxia@h-partners.com> - 2.12.2-1
|
||||||
- update to 2.12.2
|
- update to 2.12.2
|
||||||
|
|
||||||
|
|||||||
BIN
v2.17.2.tar.gz
Normal file
BIN
v2.17.2.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user