Hello community,

here is the log from the commit of package python-pep8 for openSUSE:Factory 
checked in at 2012-06-26 17:57:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pep8 (Old)
 and      /work/SRC/openSUSE:Factory/.python-pep8.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pep8", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pep8/python-pep8.changes  2012-06-07 
15:39:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pep8.new/python-pep8.changes     
2012-06-26 17:57:28.000000000 +0200
@@ -1,0 +2,31 @@
+Tue Jun 26 08:54:37 UTC 2012 - sasc...@suse.de
+
+- Update to version 1.3.1:
+  + Explain which configuration options are expected. Accept and recommend
+    the options names with hyphen instead of underscore. (Issue #82)
+  + Do not read the user configuration when used as a module (except if
+    config_file=True is passed to the StyleGuide constructor).
+  + Fix wrong or missing cases for the E12 series.
+  + Fix cases where E122 was missed. (Issue #81)
+- Changes from version 1.3.0:
+  + Remove global configuration and refactor the library around a StyleGuide
+    class; add the ability to configure various reporters. (Issue #35 and #66)
+  + Read user configuration from ~/.config/pep8 and local configuration from
+    ./.pep8. (Issue #22)
+  + Fix E502 for backslash embedded in multi-line string. (Issue #68)
+  + Fix E225 for Python 3 iterable unpacking (PEP 3132). (Issue #72)
+  + Enable the new checkers from the E12 series in the default configuration.
+  + Suggest less error-prone alternatives for E712 errors.
+  + Rewrite checkers to run faster (E22, E251, E27).
+  + Fixed a crash when parsed code is invalid (too many closing brackets).
+  + Fix E127 and E128 for continuation line indentation. (Issue #74)
+  + New option --format to customize the error format. (Issue #23)
+  + New option --diff to check only modified code. The unified diff is read
+    from STDIN. Example: hg diff | pep8 --diff (Issue #39)
+  + Correctly report the count of failures and set the exit code to 1 when
+    the --doctest or the --testsuite fails.
+  + Correctly detect the encoding in Python 3. (Issue #69)
+  + Drop support for Python 2.3, 2.4 and 3.0. (Issue #78)
+- Don't package empty TODO.txt
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/python-pep8/python3-pep8.changes 2012-06-14 
22:26:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pep8.new/python3-pep8.changes    
2012-06-26 17:57:28.000000000 +0200
@@ -1,0 +2,33 @@
+Tue Jun 26 08:55:40 UTC 2012 - sasc...@suse.de
+
+- Update to version 1.3.1:
+  + Explain which configuration options are expected. Accept and recommend
+    the options names with hyphen instead of underscore. (Issue #82)
+  + Do not read the user configuration when used as a module (except if
+    config_file=True is passed to the StyleGuide constructor).
+  + Fix wrong or missing cases for the E12 series.
+  + Fix cases where E122 was missed. (Issue #81)
+- Changes from version 1.3.0:
+  + Remove global configuration and refactor the library around a StyleGuide
+    class; add the ability to configure various reporters. (Issue #35 and #66)
+  + Read user configuration from ~/.config/pep8 and local configuration from
+    ./.pep8. (Issue #22)
+  + Fix E502 for backslash embedded in multi-line string. (Issue #68)
+  + Fix E225 for Python 3 iterable unpacking (PEP 3132). (Issue #72)
+  + Enable the new checkers from the E12 series in the default configuration.
+  + Suggest less error-prone alternatives for E712 errors.
+  + Rewrite checkers to run faster (E22, E251, E27).
+  + Fixed a crash when parsed code is invalid (too many closing brackets).
+  + Fix E127 and E128 for continuation line indentation. (Issue #74)
+  + New option --format to customize the error format. (Issue #23)
+  + New option --diff to check only modified code. The unified diff is read
+    from STDIN. Example: hg diff | pep8 --diff (Issue #39)
+  + Correctly report the count of failures and set the exit code to 1 when
+    the --doctest or the --testsuite fails.
+  + Correctly detect the encoding in Python 3. (Issue #69)
+  + Drop support for Python 2.3, 2.4 and 3.0. (Issue #78)
+- Don't package empty TODO.txt
+- No need to BuildRequire: python3, python3-devel is enough
+- Require: python3 => %pyver
+
+-------------------------------------------------------------------

Old:
----
  pep8-1.2.tar.gz

New:
----
  pep8-1.3.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pep8.spec ++++++
--- /var/tmp/diff_new_pack.oi0biR/_old  2012-06-26 17:57:29.000000000 +0200
+++ /var/tmp/diff_new_pack.oi0biR/_new  2012-06-26 17:57:29.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-pep8
-Version:        1.2
+Version:        1.3.1
 Release:        0
 Url:            http://github.com/jcrocholl/pep8
 Summary:        Python style guide checker
@@ -41,18 +41,20 @@
 
 %prep
 %setup -q -n pep8-%{version}
-sed -i '1d' pep8.py # Remove she-bang line
 
 %build
 python setup.py build
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%fdupes %{buildroot}
+%fdupes %{buildroot}%{python_sitelib}
+
+%check
+python setup.py test
 
 %files
 %defattr(-,root,root)
-%doc CHANGES.txt README.rst TODO.txt
+%doc CHANGES.txt README.rst
 %{_bindir}/pep8
 %{python_sitelib}/pep8.py*
 %{python_sitelib}/pep8-%{version}-py%{py_ver}.egg-info/

++++++ python3-pep8.spec ++++++
--- /var/tmp/diff_new_pack.oi0biR/_old  2012-06-26 17:57:29.000000000 +0200
+++ /var/tmp/diff_new_pack.oi0biR/_new  2012-06-26 17:57:29.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-pep8
-Version:        1.2
+Version:        1.3.1
 Release:        0
 Url:            http://github.com/jcrocholl/pep8
 Summary:        Python style guide checker
@@ -26,15 +26,14 @@
 Source:         
http://pypi.python.org/packages/source/p/pep8/pep8-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
-BuildRequires:  python3
 BuildRequires:  python3-2to3
 BuildRequires:  python3-devel
 BuildRequires:  python3-distribute
 %if 0%{?suse_version} <= 1140
 %{!?python3_sitelib: %global python3_sitelib %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 %{!?py3_ver: %global py3_ver %(python3 -c "import sys; 
version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); 
print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
-%endif
 Requires:       python3 >= %{py3_ver}
+%endif
 BuildArch:      noarch
 
 %description
@@ -43,7 +42,7 @@
 
 %prep
 %setup -q -n pep8-%{version}
-sed -i '1d' pep8.py # Remove she-bang line
+sed -i "/\#\!\/usr\/bin\/env python/d" pep8.py # Remove she-bang line
 
 %build
 python3 setup.py build
@@ -52,11 +51,11 @@
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 mv %{buildroot}%{_bindir}/pep8 %{buildroot}%{_bindir}/pep8-python%{py3_ver}
 rm -rf %{buildroot}%{python3_sitelib}/__pycache__/
-%fdupes %{buildroot}
+%fdupes %{buildroot}%{python_sitelib}
 
 %files
 %defattr(-,root,root)
-%doc CHANGES.txt README.rst TODO.txt
+%doc CHANGES.txt README.rst
 %{_bindir}/pep8-python%{py3_ver}
 %{python3_sitelib}/pep8.py*
 %{python3_sitelib}/pep8-%{version}-py%{py3_ver}.egg-info/

++++++ pep8-1.2.tar.gz -> pep8-1.3.1.tar.gz ++++++
++++ 2893 lines of diff (skipped)

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

Reply via email to