From e07fb2c0763fbfed3d455514cb92d430541381ea0449b8db4d865fb02c56d598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 3 Sep 2018 09:01:56 +0000 Subject: [PATCH 1/2] Accepting request 632655 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/632655 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autopep8?expand=0&rev=28 --- autopep8-1.4.tar.gz | 3 +++ python-autopep8.changes | 29 +++++++++++++++++++++++++++++ python-autopep8.spec | 6 ++---- 3 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 autopep8-1.4.tar.gz diff --git a/autopep8-1.4.tar.gz b/autopep8-1.4.tar.gz new file mode 100644 index 0000000..297f4da --- /dev/null +++ b/autopep8-1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:655e3ee8b4545be6cfed18985f581ee9ecc74a232550ee46e9797b6fbf4f336d +size 107925 diff --git a/python-autopep8.changes b/python-autopep8.changes index 33b36d4..39309e8 100644 --- a/python-autopep8.changes +++ b/python-autopep8.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +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 diff --git a/python-autopep8.spec b/python-autopep8.spec index fb29e30..27dcec9 100644 --- a/python-autopep8.spec +++ b/python-autopep8.spec @@ -18,12 +18,12 @@ %{?!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} @@ -33,7 +33,6 @@ Requires: python-pycodestyle Requires: python-setuptools Requires(post): update-alternatives Requires(postun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -69,7 +68,6 @@ export LANG="en_US.UTF-8" %python_uninstall_alternative autopep8 %files %{python_files} -%defattr(-,root,root,-) %doc README.rst %python_alternative %{_bindir}/autopep8 %pycache_only %{python_sitelib}/__pycache__/* From 682761977f7a3362d17270ce12d1171449ab0940cc0629c006cbc10c063973d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 3 Sep 2018 09:04:03 +0000 Subject: [PATCH 2/2] - Install license - Delete old archive OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autopep8?expand=0&rev=29 --- autopep8-1.3.5.tar.gz | 3 --- python-autopep8.changes | 6 ++++++ python-autopep8.spec | 3 +-- 3 files changed, 7 insertions(+), 5 deletions(-) delete mode 100644 autopep8-1.3.5.tar.gz diff --git a/autopep8-1.3.5.tar.gz b/autopep8-1.3.5.tar.gz deleted file mode 100644 index bc51686..0000000 --- a/autopep8-1.3.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2284d4ae2052fedb9f466c09728e30d2e231cfded5ffd7b1a20c34123fdc4ba4 -size 109415 diff --git a/python-autopep8.changes b/python-autopep8.changes index 39309e8..d029d73 100644 --- a/python-autopep8.changes +++ b/python-autopep8.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 3 09:03:49 UTC 2018 - Tomáš Chvátal + +- Install license +- Delete old archive + ------------------------------------------------------------------- Sat Sep 1 18:31:27 UTC 2018 - arun@gmx.de diff --git a/python-autopep8.spec b/python-autopep8.spec index 27dcec9..8844b06 100644 --- a/python-autopep8.spec +++ b/python-autopep8.spec @@ -25,7 +25,6 @@ License: MIT Group: Development/Languages/Python 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 @@ -52,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 @@ -68,6 +66,7 @@ export LANG="en_US.UTF-8" %python_uninstall_alternative autopep8 %files %{python_files} +%license LICENSE %doc README.rst %python_alternative %{_bindir}/autopep8 %pycache_only %{python_sitelib}/__pycache__/*