forked from pool/python-autopep8
Accepting request 632808 from devel:languages:python
- Install license
- Delete old archive
- update to version 1.4:
* py37
* W690 add DEFAULT_IGNORE. (because Python3 is mainstream now)
* strict pep8
* update readme
* fix E702 is not running in case of README.rst example
* add unit test for e128 with -aaa option
* fix exception in fix_w503, when do not pointing out W503
* fix E305, when E303 and E305 are detected on the subsequent line
* env: PEP8_VERSION=pypi,github
* Travis CI: Add Python 3.7 to the testing
* update acid test output data
* seperate to e113 and e116 fixed method
* Update links to PyPI in README.rst
* add W605 fixed method
* add unit test for w605 fixed method
* Make test_e225_with_indentation_fix() actually use the fixer for
E225
* Add fixer for E252 "Missing whitespace around parameter equals"
* ix: case that W503 in a continuous 5 or more lines
* add test case for W503 in a continuous 5 or more lines
* fix e731 with case of default argument
* add test for e731 with default arguments
* fix broken coverage script
* Handle ValueError from check_syntax
OBS-URL: https://build.opensuse.org/request/show/632808
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-autopep8?expand=0&rev=12
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2284d4ae2052fedb9f466c09728e30d2e231cfded5ffd7b1a20c34123fdc4ba4
|
||||
size 109415
|
||||
3
autopep8-1.4.tar.gz
Normal file
3
autopep8-1.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:655e3ee8b4545be6cfed18985f581ee9ecc74a232550ee46e9797b6fbf4f336d
|
||||
size 107925
|
||||
@@ -1,3 +1,38 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 3 09:03:49 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Install license
|
||||
- Delete old archive
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 1 18:31:27 UTC 2018 - arun@gmx.de
|
||||
|
||||
- update to version 1.4:
|
||||
* py37
|
||||
* W690 add DEFAULT_IGNORE. (because Python3 is mainstream now)
|
||||
* strict pep8
|
||||
* update readme
|
||||
* fix E702 is not running in case of README.rst example
|
||||
* add unit test for e128 with -aaa option
|
||||
* fix exception in fix_w503, when do not pointing out W503
|
||||
* fix E305, when E303 and E305 are detected on the subsequent line
|
||||
* env: PEP8_VERSION=pypi,github
|
||||
* Travis CI: Add Python 3.7 to the testing
|
||||
* update acid test output data
|
||||
* seperate to e113 and e116 fixed method
|
||||
* Update links to PyPI in README.rst
|
||||
* add W605 fixed method
|
||||
* add unit test for w605 fixed method
|
||||
* Make test_e225_with_indentation_fix() actually use the fixer for
|
||||
E225
|
||||
* Add fixer for E252 "Missing whitespace around parameter equals"
|
||||
* ix: case that W503 in a continuous 5 or more lines
|
||||
* add test case for W503 in a continuous 5 or more lines
|
||||
* fix e731 with case of default argument
|
||||
* add test for e731 with default arguments
|
||||
* fix broken coverage script
|
||||
* Handle ValueError from check_syntax
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 1 22:33:48 UTC 2018 - arun@gmx.de
|
||||
|
||||
|
||||
@@ -18,14 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-autopep8
|
||||
Version: 1.3.5
|
||||
Version: 1.4
|
||||
Release: 0
|
||||
Summary: Automatic generated to pep8 checked code
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/hhatto/autopep8
|
||||
URL: https://github.com/hhatto/autopep8
|
||||
Source: https://files.pythonhosted.org/packages/source/a/autopep8/autopep8-%{version}.tar.gz
|
||||
# Test requirements:
|
||||
BuildRequires: %{python_module pycodestyle >= 2.3}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -33,7 +32,6 @@ Requires: python-pycodestyle
|
||||
Requires: python-setuptools
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -53,7 +51,6 @@ sed -i '1s/^#!.*//' autopep8.py # Remove she-bang line
|
||||
%python_clone -a %{buildroot}%{_bindir}/autopep8
|
||||
|
||||
%check
|
||||
# need to set locale to avoid UnicodeEncodeError
|
||||
export LANG="en_US.UTF-8"
|
||||
%python_exec setup.py test -q
|
||||
|
||||
@@ -69,7 +66,7 @@ export LANG="en_US.UTF-8"
|
||||
%python_uninstall_alternative autopep8
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%python_alternative %{_bindir}/autopep8
|
||||
%pycache_only %{python_sitelib}/__pycache__/*
|
||||
|
||||
Reference in New Issue
Block a user