14
0
forked from pool/python-bandit

- 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
This commit is contained in:
Tomáš Chvátal
2019-11-14 15:05:25 +00:00
committed by Git OBS Bridge
parent f1a0ccf07e
commit c8b47021fb
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 14 15:05:01 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Skip out python2 build as the dependencies are unresolvable
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 24 10:13:14 UTC 2019 - pgajdos@suse.com Wed Jul 24 10:13:14 UTC 2019 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-bandit # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Tests require python-hacking, which isn't compatible with pycodestyle # Tests require python-hacking, which isn't compatible with pycodestyle
%bcond_without builddocs %bcond_without builddocs
# dependencies are no longer py2 compatible
%define skip_python2 1
Name: python-bandit Name: python-bandit
Version: 1.6.2 Version: 1.6.2
Release: 0 Release: 0
Summary: Security oriented static analyser for Python code Summary: Security oriented static analyser for Python code
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python 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 Source: https://files.pythonhosted.org/packages/source/b/bandit/bandit-%{version}.tar.gz
Patch0: remove-non-test-deps.patch Patch0: remove-non-test-deps.patch
BuildRequires: %{python_module GitPython >= 1.0.1} BuildRequires: %{python_module GitPython >= 1.0.1}