- And then BuildRequires pocketlint. (clumens)

- Fix the couple last pylint warnings. (clumens)
- Tell pylint to ignore a couple places where we catch all exceptions. (clumens)
- Don't use [] as a default argument to loadModules. (clumens)
- Define bytesPerInode in __init__ methods. (clumens)
- Don't pointlessly redefine the command attr in some tests. (clumens)
- tstList -> tests (clumens)
- lan -> len (clumens)
- Fix wildcard imports and other import-related pylint problems. (clumens)
- Remove some unused variables. (clumens)
- Fix string substitutions into translatable strings. (clumens)
- Start using pocketlint to run pylint. (clumens)
This commit is contained in:
Chris Lumens 2015-03-24 12:05:09 -04:00
parent 7f9716dc3d
commit b127559ca0
3 changed files with 23 additions and 9 deletions

1
.gitignore vendored
View File

@ -140,3 +140,4 @@ pykickstart-1.78.tar.gz
/pykickstart-1.99.66.tar.gz
/pykickstart-2.0.tar.gz
/pykickstart-2.1.tar.gz
/pykickstart-2.2.tar.gz

View File

@ -1,7 +1,5 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
Name: pykickstart
Version: 2.1
Version: 2.2
Release: 1%{?dist}
License: GPLv2 and MIT
Group: System Environment/Libraries
@ -23,8 +21,9 @@ BuildRequires: transifex-client
%endif
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pocketlint
BuildRequires: python3-requests
BuildRequires: python3-setuptools
BuildRequires: python3-six
Requires: python3-kickstart
@ -98,10 +97,10 @@ popd
%defattr(-,root,root,-)
%doc docs/programmers-guide
%doc docs/kickstart-docs.txt
%{python_sitelib}/pykickstart*egg*
%{python_sitelib}/pykickstart/*py*
%{python_sitelib}/pykickstart/commands/*py*
%{python_sitelib}/pykickstart/handlers/*py*
%{python2_sitelib}/pykickstart*egg*
%{python2_sitelib}/pykickstart/*py*
%{python2_sitelib}/pykickstart/commands/*py*
%{python2_sitelib}/pykickstart/handlers/*py*
%files -n python3-kickstart -f %{name}.lang
%defattr(-,root,root,-)
@ -113,6 +112,20 @@ popd
%{python3_sitelib}/pykickstart/handlers/*py*
%changelog
* Tue Mar 24 2015 Chris Lumens <clumens@redhat.com> - 2.2-1
- And then BuildRequires pocketlint. (clumens)
- Fix the couple last pylint warnings. (clumens)
- Tell pylint to ignore a couple places where we catch all exceptions. (clumens)
- Don't use [] as a default argument to loadModules. (clumens)
- Define bytesPerInode in __init__ methods. (clumens)
- Don't pointlessly redefine the command attr in some tests. (clumens)
- tstList -> tests (clumens)
- lan -> len (clumens)
- Fix wildcard imports and other import-related pylint problems. (clumens)
- Remove some unused variables. (clumens)
- Fix string substitutions into translatable strings. (clumens)
- Start using pocketlint to run pylint. (clumens)
* Thu Feb 26 2015 Chris Lumens <clumens@redhat.com> - 2.1-1
- Both library packages need to require python-six of some variety (#1195715). (clumens)
- Fix the python-six requirement for python3-kickstart (#1195719). (clumens)

View File

@ -1 +1 @@
0f7f33dd124e1f23a5e38e4e9e377118 pykickstart-2.1.tar.gz
7b84011f9900291e811fd65190cf5440 pykickstart-2.2.tar.gz