Accepting request 479716 from devel:languages:python
- update for singlespec - enable tests (forwarded request 479715 from matejcik) OBS-URL: https://build.opensuse.org/request/show/479716 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mccabe?expand=0&rev=7
This commit is contained in:
commit
8804b350a2
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3d8ca9bf65c5014f469180544d1dd5bb5b9df709aad6304f9c2e4370ae0a7b7c
|
|
||||||
size 6127
|
|
3
mccabe-0.6.1.tar.gz
Normal file
3
mccabe-0.6.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f
|
||||||
|
size 8612
|
@ -1,3 +1,49 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 6 14:03:34 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- update for singlespec
|
||||||
|
- enable tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 20 10:36:41 UTC 2017 - tbechtold@suse.com
|
||||||
|
|
||||||
|
- Use pypi.io and https in Source
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 15 08:55:16 UTC 2017 - kkaempf@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.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 7 16:34:53 UTC 2015 - benoit.monin@gmx.fr
|
Thu May 7 16:34:53 UTC 2015 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-mccabe
|
# 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
|
# 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
|
||||||
@ -16,22 +16,21 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-mccabe
|
Name: python-mccabe
|
||||||
Version: 0.3
|
Version: 0.6.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: McCabe checker, plugin for flake8
|
Summary: McCabe checker, plugin for flake8
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/flintwork/mccabe
|
Url: https://github.com/flintwork/mccabe
|
||||||
Source: http://pypi.python.org/packages/source/m/mccabe/mccabe-%{version}.tar.gz
|
Source: https://pypi.io/packages/source/m/mccabe/mccabe-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module pytest-runner}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
BuildArch: noarch
|
||||||
%endif
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ned's script to check McCabe complexity.
|
Ned's script to check McCabe complexity.
|
||||||
@ -41,12 +40,15 @@ This module provides a plugin for flake8, the Python code checker.
|
|||||||
%setup -q -n mccabe-%{version}
|
%setup -q -n mccabe-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
|
||||||
%files
|
%check
|
||||||
|
%python_exec %{_bindir}/py.test
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE README.rst
|
%doc LICENSE README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
Loading…
Reference in New Issue
Block a user