From 186b75996093775e1d9013bc1d78c4c3121b589e8999f3fc2a0d0dfcbc42a2e7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 5 Sep 2018 20:28:02 +0000 Subject: [PATCH] - drop flake8 dependency OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=69 --- python-keyring.changes | 5 +++++ python-keyring.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-keyring.changes b/python-keyring.changes index 71b2040..4d89b00 100644 --- a/python-keyring.changes +++ b/python-keyring.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 5 20:27:43 UTC 2018 - dmueller@suse.com + +- drop flake8 dependency + ------------------------------------------------------------------- Mon Jul 9 13:37:36 UTC 2018 - dmueller@suse.com diff --git a/python-keyring.spec b/python-keyring.spec index e87517d..68d8cf2 100644 --- a/python-keyring.spec +++ b/python-keyring.spec @@ -30,7 +30,6 @@ BuildRequires: %{python_module devel} BuildRequires: %{python_module entrypoints} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest >= 3.5} -BuildRequires: %{python_module pytest-flake8} BuildRequires: %{python_module pytest-sugar >= 0.9.1} BuildRequires: %{python_module setuptools >= 17.1} BuildRequires: %{python_module setuptools_scm >= 1.15.0} @@ -59,6 +58,8 @@ sed -i '/^#!/d' keyring/cli.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# remove flake8 +sed -i -e 's,--flake8,,' pytest.ini # remove test expecting the /usr/bin rm -rf tests/test_packaging.py # sadly most tests need running dbus to communicate with secretstorage/etc