forked from pool/python-flake8-debugger
- Update to 3.2.1:
* no changelog OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-debugger?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
672e6a011c
commit
f419c89109
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-flake8-debugger
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,25 +18,22 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-flake8-debugger
|
||||
Version: 3.1.0
|
||||
Version: 3.2.1
|
||||
Release: 0
|
||||
Summary: ipdb/pdb statement checker plugin for flake8
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/jbkahn/flake8-debugger
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flake8-debugger/flake8-debugger-%{version}.tar.gz
|
||||
URL: https://github.com/jbkahn/flake8-debugger
|
||||
Source: https://github.com/JBKahn/flake8-debugger/archive/%{version}.tar.gz
|
||||
Source1: LICENSE
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module flake8 >= 1.5}
|
||||
BuildRequires: %{python_module pycodestyle}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -44,7 +41,8 @@ ipdb/pdb statement checker plugin for flake8
|
||||
|
||||
%prep
|
||||
%setup -q -n flake8-debugger-%{version}
|
||||
cp %{SOURCE1} LICENSE
|
||||
cp %{SOURCE1} .
|
||||
sed -i -e '/pytest-runner/d' setup.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -53,8 +51,11 @@ cp %{SOURCE1} LICENSE
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
Reference in New Issue
Block a user