Hello community, here is the log from the commit of package python-pydocstyle for openSUSE:Factory checked in at 2018-06-13 15:36:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pydocstyle (Old) and /work/SRC/openSUSE:Factory/.python-pydocstyle.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pydocstyle" Wed Jun 13 15:36:28 2018 rev:2 rq:614993 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pydocstyle/python-pydocstyle.changes 2018-05-15 10:32:40.273798531 +0200 +++ /work/SRC/openSUSE:Factory/.python-pydocstyle.new/python-pydocstyle.changes 2018-06-13 15:37:48.184065206 +0200 @@ -1,0 +2,6 @@ +Thu Jun 7 16:09:18 UTC 2018 - [email protected] + +- Add missing dependency. +- Attempt to import as a basic test. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pydocstyle.spec ++++++ --- /var/tmp/diff_new_pack.X0a4mU/_old 2018-06-13 15:37:49.300024137 +0200 +++ /var/tmp/diff_new_pack.X0a4mU/_new 2018-06-13 15:37:49.332022959 +0200 @@ -32,10 +32,14 @@ %if %{with test} BuildRequires: %{python_module six} BuildRequires: %{python_module snowballstemmer} +BuildRequires: python-configparser %endif BuildRequires: fdupes Requires: python-six Requires: python-snowballstemmer +%ifpython2 +Requires: python-configparser +%endif Provides: python-pep257 = %{version} Obsoletes: python-pep257 < %{version} BuildArch: noarch @@ -63,6 +67,15 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +mkdir empty +pushd empty +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} +$python -c "import pydocstyle" +$python -c "from pydocstyle import *" +} +popd + %files %{python_files} %defattr(-,root,root,-) %doc README.rst
