From c8b47021fb0ef774d7e0790d25692851b814eec0cf3adb77cb612de317e025ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 14 Nov 2019 15:05:25 +0000 Subject: [PATCH] - Skip out python2 build as the dependencies are unresolvable OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bandit?expand=0&rev=10 --- python-bandit.changes | 5 +++++ python-bandit.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-bandit.changes b/python-bandit.changes index 8610728..766231d 100644 --- a/python-bandit.changes +++ b/python-bandit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 14 15:05:01 UTC 2019 - Tomáš Chvátal + +- Skip out python2 build as the dependencies are unresolvable + ------------------------------------------------------------------- Wed Jul 24 10:13:14 UTC 2019 - pgajdos@suse.com diff --git a/python-bandit.spec b/python-bandit.spec index a2647bf..f5ab5f3 100644 --- a/python-bandit.spec +++ b/python-bandit.spec @@ -1,7 +1,7 @@ # # spec file for package python-bandit # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,13 +19,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} # Tests require python-hacking, which isn't compatible with pycodestyle %bcond_without builddocs +# dependencies are no longer py2 compatible +%define skip_python2 1 Name: python-bandit Version: 1.6.2 Release: 0 Summary: Security oriented static analyser for Python code License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/PyCQA/bandit +URL: https://github.com/PyCQA/bandit Source: https://files.pythonhosted.org/packages/source/b/bandit/bandit-%{version}.tar.gz Patch0: remove-non-test-deps.patch BuildRequires: %{python_module GitPython >= 1.0.1}