Hello community, here is the log from the commit of package python-keyring for openSUSE:Factory checked in at 2018-01-26 13:38:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-keyring (Old) and /work/SRC/openSUSE:Factory/.python-keyring.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-keyring" Fri Jan 26 13:38:43 2018 rev:28 rq:568852 version:10.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-keyring/python-keyring.changes 2017-12-03 10:08:25.277896197 +0100 +++ /work/SRC/openSUSE:Factory/.python-keyring.new/python-keyring.changes 2018-01-26 13:38:44.307427495 +0100 @@ -1,0 +2,6 @@ +Wed Jan 24 10:27:23 UTC 2018 - [email protected] + +- Fix building in py3 only enviroment +- Remove the test conditional which was always on anyway + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-keyring.spec ++++++ --- /var/tmp/diff_new_pack.B9HkMT/_old 2018-01-26 13:38:45.063392187 +0100 +++ /var/tmp/diff_new_pack.B9HkMT/_new 2018-01-26 13:38:45.071391814 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-keyring # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without tests Name: python-keyring Version: 10.5.0 Release: 0 @@ -26,7 +25,10 @@ Group: Development/Languages/Python Url: https://github.com/jaraco/keyring Source: https://files.pythonhosted.org/packages/source/k/keyring/keyring-%{version}.tar.gz +BuildRequires: %{python_module SecretStorage} BuildRequires: %{python_module devel} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm >= 1.15.0} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -34,13 +36,6 @@ Requires: python-SecretStorage Requires: python-setuptools BuildArch: noarch -%if %{with tests} -# Test requirements: -BuildRequires: %{python_module SecretStorage} -BuildRequires: %{python_module pytest} -# Python 2 test requirements: -BuildRequires: python-mock -%endif %python_subpackages %description @@ -59,14 +54,12 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with tests} %check pushd docs %{python_expand export PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{$python_bin_suffix} --pyargs keyring.tests } popd -%endif %files %{python_files} %doc README.rst CHANGES.rst
