commit python-mccabe for openSUSE:Factory

2019-07-08 Thread root
Hello community,

here is the log from the commit of package python-mccabe for openSUSE:Factory 
checked in at 2019-07-08 15:02:02

Comparing /work/SRC/openSUSE:Factory/python-mccabe (Old)
 and  /work/SRC/openSUSE:Factory/.python-mccabe.new.4615 (New)


Package is "python-mccabe"

Mon Jul  8 15:02:02 2019 rev:8 rq:713189 version:0.6.1

Changes:

--- /work/SRC/openSUSE:Factory/python-mccabe/python-mccabe.changes  
2017-04-19 17:56:34.458798710 +0200
+++ /work/SRC/openSUSE:Factory/.python-mccabe.new.4615/python-mccabe.changes
2019-07-08 15:02:03.482628273 +0200
@@ -1,0 +2,5 @@
+Wed Jul  3 09:10:58 UTC 2019 - Tomáš Chvátal 
+
+- Fix the test run with new pytest
+
+---



Other differences:
--
++ python-mccabe.spec ++
--- /var/tmp/diff_new_pack.SleJH0/_old  2019-07-08 15:02:04.362629604 +0200
+++ /var/tmp/diff_new_pack.SleJH0/_new  2019-07-08 15:02:04.370629616 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mccabe
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -23,12 +23,12 @@
 Summary:McCabe checker, plugin for flake8
 License:MIT
 Group:  Development/Languages/Python
-Url:https://github.com/flintwork/mccabe
-Source: 
https://pypi.io/packages/source/m/mccabe/mccabe-%{version}.tar.gz
-BuildRequires:  %{python_module pytest-runner}
+URL:https://github.com/flintwork/mccabe
+Source: 
https://files.pythonhosted.org/packages/source/m/mccabe/mccabe-%{version}.tar.gz
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 %python_subpackages
 
@@ -38,19 +38,22 @@
 
 %prep
 %setup -q -n mccabe-%{version}
+# do not require pytest-runner for setup
+sed -i 's:pytest-runner::' setup.py
 
 %build
 %python_build
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec %{_bindir}/py.test
+%pytest
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE README.rst
+%license LICENSE
+%doc README.rst
 %{python_sitelib}/*
 
 %changelog




commit python-mccabe for openSUSE:Factory

2017-04-19 Thread root
Hello community,

here is the log from the commit of package python-mccabe for openSUSE:Factory 
checked in at 2017-04-19 17:56:33

Comparing /work/SRC/openSUSE:Factory/python-mccabe (Old)
 and  /work/SRC/openSUSE:Factory/.python-mccabe.new (New)


Package is "python-mccabe"

Wed Apr 19 17:56:33 2017 rev:7 rq:479716 version:0.6.1

Changes:

--- /work/SRC/openSUSE:Factory/python-mccabe/python-mccabe.changes  
2015-05-15 09:03:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-mccabe.new/python-mccabe.changes 
2017-04-19 17:56:34.458798710 +0200
@@ -1,0 +2,46 @@
+Mon Mar  6 14:03:34 UTC 2017 - jmate...@suse.com
+
+- update for singlespec
+- enable tests
+
+---
+Mon Feb 20 10:36:41 UTC 2017 - tbecht...@suse.com
+
+- Use pypi.io and https in Source
+
+---
+Wed Feb 15 08:55:16 UTC 2017 - kkae...@suse.com
+
+- update to version 0.6.1:
+  * Fix signature for PathGraphingAstVisitor.default to match the
+signature for ASTVisitor
+
+- update to version 0.6.0:
+  * Add support for Python 3.6
+  * Fix handling for missing statement types
+
+- update to version 0.5.3:
+  * Report actual column number of violation instead of the start
+of the line
+
+- update to version 0.5.2:
+  * When opening files ourselves, make sure we always name the file
+variable
+
+- update to version 0.5.1:
+  * Set default maximum complexity to -1 on the class itself
+
+- update to version 0.5.0:
+  * PyCon 2016 PDX release
+  * Add support for Flake8 3.0
+
+- update to version 0.4.0:
+  * Stop testing on Python 3.2
+  * Add support for async/await keywords on Python 3.5 from PEP 0492
+
+- update to version 0.3.1:
+  * Include test_mccabe.py in releases.
+  * Always coerce the max_complexity value from Flake8’s entry-point
+to an integer.
+
+---

Old:

  mccabe-0.3.tar.gz

New:

  mccabe-0.6.1.tar.gz



Other differences:
--
++ python-mccabe.spec ++
--- /var/tmp/diff_new_pack.7v64sO/_old  2017-04-19 17:56:35.194694598 +0200
+++ /var/tmp/diff_new_pack.7v64sO/_new  2017-04-19 17:56:35.198694033 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mccabe
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,21 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-mccabe
-Version:0.3
+Version:0.6.1
 Release:0
 Summary:McCabe checker, plugin for flake8
 License:MIT
 Group:  Development/Languages/Python
 Url:https://github.com/flintwork/mccabe
-Source: 
http://pypi.python.org/packages/source/m/mccabe/mccabe-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+Source: 
https://pypi.io/packages/source/m/mccabe/mccabe-%{version}.tar.gz
+BuildRequires:  %{python_module pytest-runner}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
-%endif
+%python_subpackages
 
 %description
 Ned's script to check McCabe complexity.
@@ -41,12 +40,15 @@
 %setup -q -n mccabe-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
-%files
+%check
+%python_exec %{_bindir}/py.test
+
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc LICENSE README.rst
 %{python_sitelib}/*

++ mccabe-0.3.tar.gz -> mccabe-0.6.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mccabe-0.3/MANIFEST.in new/mccabe-0.6.1/MANIFEST.in
--- old/mccabe-0.3/MANIFEST.in  2014-04-25 22:47:01.0 +0200
+++ new/mccabe-0.6.1/MANIFEST.in2017-01-23 13:24:16.0 +0100
@@ -1 +1,3 @@
-include LICENSE README.rst
+include LICENSE
+include README.rst
+include test_mccabe.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mccabe-0.3/PKG-INFO new/mccabe-0.6.1/PKG-INFO
--- old/mccabe-0.3/PKG-INFO 2014-12-17 02:23:10.0 +0100
+++ new/mccabe-0.6.1/PKG-INFO   2017-01-26 23:13:05.0 +0100
@@ -1,10 +1,10 @@
 Metadata-Version: 

commit python-mccabe for openSUSE:Factory

2015-05-15 Thread h_root
Hello community,

here is the log from the commit of package python-mccabe for openSUSE:Factory 
checked in at 2015-05-15 09:03:03

Comparing /work/SRC/openSUSE:Factory/python-mccabe (Old)
 and  /work/SRC/openSUSE:Factory/.python-mccabe.new (New)


Package is "python-mccabe"

Changes:

--- /work/SRC/openSUSE:Factory/python-mccabe/python-mccabe.changes  
2013-10-25 11:21:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-mccabe.new/python-mccabe.changes 
2015-05-15 09:03:05.0 +0200
@@ -1,0 +2,10 @@
+Thu May  7 16:34:53 UTC 2015 - benoit.mo...@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
+
+---

Old:

  mccabe-0.2.1.tar.gz

New:

  mccabe-0.3.tar.gz



Other differences:
--
++ python-mccabe.spec ++
--- /var/tmp/diff_new_pack.H1u2Be/_old  2015-05-15 09:03:07.0 +0200
+++ /var/tmp/diff_new_pack.H1u2Be/_new  2015-05-15 09:03:07.0 +0200
@@ -1,7 +1,7 @@
 #
 # 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
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   python-mccabe
-Version:0.2.1
+Version:0.3
 Release:0
 Summary:McCabe checker, plugin for flake8
 License:MIT
@@ -48,7 +48,7 @@
 
 %files
 %defattr(-,root,root,-)
-%doc README.rst
+%doc LICENSE README.rst
 %{python_sitelib}/*
 
 %changelog

++ mccabe-0.2.1.tar.gz -> mccabe-0.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mccabe-0.2.1/LICENSE new/mccabe-0.3/LICENSE
--- old/mccabe-0.2.1/LICENSE1970-01-01 01:00:00.0 +0100
+++ new/mccabe-0.3/LICENSE  2014-04-25 22:47:01.0 +0200
@@ -0,0 +1,25 @@
+Copyright ©  Ned Batchelder
+Copyright © 2011-2013 Tarek Ziade 
+Copyright © 2013 Florent Xicluna 
+
+Licensed under the terms of the Expat License
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation files
+(the "Software"), to deal in the Software without restriction,
+including without limitation the rights to use, copy, modify, merge,
+publish, distribute, sublicense, and/or sell copies of the Software,
+and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mccabe-0.2.1/MANIFEST.in new/mccabe-0.3/MANIFEST.in
--- old/mccabe-0.2.1/MANIFEST.in1970-01-01 01:00:00.0 +0100
+++ new/mccabe-0.3/MANIFEST.in  2014-04-25 22:47:01.0 +0200
@@ -0,0 +1 @@
+include LICENSE README.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mccabe-0.2.1/PKG-INFO new/mccabe-0.3/PKG-INFO
--- old/mccabe-0.2.1/PKG-INFO   2013-04-03 14:52:28.0 +0200
+++ new/mccabe-0.3/PKG-INFO 2014-12-17 02:23:10.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: mccabe
-Version: 0.2.1
+Version: 0.3
 Summary: McCabe checker, plugin for flake8
 Home-page: https://github.com/flintwork/mccabe
 Author: Florent Xicluna
@@ -55,7 +55,7 @@
 ...
 coolproject/mod.py:1204:1: C901 'CoolFactory.prepare' is too 
complex (14)
 
-This feature is quite useful to detect over-complex code. According to 
McCabe,
+This feature is quite useful to detect over-complex code.  According 
to McCabe,
 anything that goes beyond 10 is too complex.
 
 
@@ -73,6 +73,17 @@
 Changes
 ---
 
+0.3 - 2014-12-17
+
+
+* Computation was wro

commit python-mccabe for openSUSE:Factory

2013-10-25 Thread h_root
Hello community,

here is the log from the commit of package python-mccabe for openSUSE:Factory 
checked in at 2013-10-25 11:21:37

Comparing /work/SRC/openSUSE:Factory/python-mccabe (Old)
 and  /work/SRC/openSUSE:Factory/.python-mccabe.new (New)


Package is "python-mccabe"

Changes:

--- /work/SRC/openSUSE:Factory/python-mccabe/python-mccabe.changes  
2013-04-29 14:31:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-mccabe.new/python-mccabe.changes 
2013-10-25 11:21:49.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 24 11:08:23 UTC 2013 - speili...@suse.com
+
+- Require python-setuptools instead of distribute (upstreams merged)
+
+---



Other differences:
--
++ python-mccabe.spec ++
--- /var/tmp/diff_new_pack.oU9Fuc/_old  2013-10-25 11:21:50.0 +0200
+++ /var/tmp/diff_new_pack.oU9Fuc/_new  2013-10-25 11:21:50.0 +0200
@@ -25,7 +25,7 @@
 Url:https://github.com/flintwork/mccabe
 Source: 
http://pypi.python.org/packages/source/m/mccabe/mccabe-%{version}.tar.gz
 BuildRequires:  python-devel
-BuildRequires:  python-distribute
+BuildRequires:  python-setuptools
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-mccabe for openSUSE:Factory

2013-06-19 Thread h_root
Hello community,

here is the log from the commit of package python-mccabe for openSUSE:Factory 
checked in at 2013-06-19 16:39:38

Comparing /work/SRC/openSUSE:Factory/python-mccabe (Old)
 and  /work/SRC/openSUSE:Factory/.python-mccabe.new (New)


Package is "python-mccabe"

Changes:


Old:

  python3-mccabe.changes
  python3-mccabe.spec



Other differences:
--
++ python-mccabe.spec ++
--- /var/tmp/diff_new_pack.vErPDp/_old  2013-06-19 16:39:39.0 +0200
+++ /var/tmp/diff_new_pack.vErPDp/_new  2013-06-19 16:39:39.0 +0200
@@ -13,15 +13,16 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 Name:   python-mccabe
 Version:0.2.1
 Release:0
-License:MIT
 Summary:McCabe checker, plugin for flake8
-Url:https://github.com/flintwork/mccabe
+License:MIT
 Group:  Development/Languages/Python
+Url:https://github.com/flintwork/mccabe
 Source: 
http://pypi.python.org/packages/source/m/mccabe/mccabe-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-distribute

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org