Hello community,
here is the log from the commit of package python-pycodestyle for
openSUSE:Factory checked in at 2018-08-10 09:44:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pycodestyle (Old)
and /work/SRC/openSUSE:Factory/.python-pycodestyle.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pycodestyle"
Fri Aug 10 09:44:17 2018 rev:4 rq:628090 version:2.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pycodestyle/python-pycodestyle.changes
2018-04-22 14:29:07.071814829 +0200
+++
/work/SRC/openSUSE:Factory/.python-pycodestyle.new/python-pycodestyle.changes
2018-08-10 09:44:24.485752119 +0200
@@ -1,0 +2,7 @@
+Wed Aug 8 12:39:45 UTC 2018 - [email protected]
+
+- Really run tests
+- Drop devel dependency
+- Fix provides/obsoletes for pep8
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pycodestyle.spec ++++++
--- /var/tmp/diff_new_pack.VLgDst/_old 2018-08-10 09:44:25.105753112 +0200
+++ /var/tmp/diff_new_pack.VLgDst/_new 2018-08-10 09:44:25.105753112 +0200
@@ -18,7 +18,6 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
-%bcond_without test
Name: python-pycodestyle
Version: 2.4.0
Release: 0
@@ -27,7 +26,6 @@
Group: Development/Languages/Python
Url: https://pycodestyle.readthedocs.io/
Source:
https://files.pythonhosted.org/packages/source/p/pycodestyle/pycodestyle-%{version}.tar.gz
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -35,10 +33,8 @@
Provides: %{oldpython}-pep8 = %{version}
Obsoletes: %{oldpython}-pep8 < %{version}
%endif
-%ifpython3
-Provides: python3-pep8 = %{version}
-Obsoletes: python3-pep8 < %{version}
-%endif
+Provides: python-pep8 = %{version}
+Obsoletes: python-pep8 < %{version}
%python_subpackages
%description
@@ -48,18 +44,6 @@
This package used to be called ``pep8`` but was renamed to ``pycodestyle``
to reduce confusion.
-Features
---------
-
-* Plugin architecture: Adding new checks is easy.
-
-* Parseable output: Jump to error location in your editor.
-
-* Small: Just one Python file, requires only stdlib. You can use just
- the ``pycodestyle.py`` file for this purpose.
-
-* Comes with a comprehensive test suite.
-
%prep
%setup -q -n pycodestyle-%{version}
sed -ri '1s/^#!.*//' pycodestyle.py
@@ -72,6 +56,9 @@
%python_clone %{buildroot}%{_bindir}/pycodestyle
ln -sf pycodestyle-%{python3_bin_suffix} %{buildroot}%{_bindir}/pycodestyle
+%check
+%python_exec setup.py test
+
%files %{python_files}
%license LICENSE
%doc README.rst