Accepting request 306663 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/306663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mccabe?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2015-05-15 07:03:03 +00:00 committed by Git OBS Bridge
commit fd90b02f3e
4 changed files with 16 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5a2a170e47de5593a6abfae1e9542bd2c3924ac62bbe4e6ed96c953c0352243a
size 5031

3
mccabe-0.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d8ca9bf65c5014f469180544d1dd5bb5b9df709aad6304f9c2e4370ae0a7b7c
size 6127

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu May 7 16:34:53 UTC 2015 - benoit.monin@gmx.fr
- update to version 0.3:
* Computation was wrong: the mccabe complexity starts at 1, not 2
* The max-complexity value is now inclusive. E.g.: if the value
is 10 and the reported complexity is 10, then it passes
* Add tests
- add the LICENSE to the package documentation
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 24 11:08:23 UTC 2013 - speilicke@suse.com Thu Oct 24 11:08:23 UTC 2013 - speilicke@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-mccabe # spec file for package python-mccabe
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: python-mccabe Name: python-mccabe
Version: 0.2.1 Version: 0.3
Release: 0 Release: 0
Summary: McCabe checker, plugin for flake8 Summary: McCabe checker, plugin for flake8
License: MIT License: MIT
@ -48,7 +48,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README.rst %doc LICENSE README.rst
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog