- Only build for 3.8, some depends only built there.

- There is no test suite, remove trying to run it.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:avocado/python-inspektor?expand=0&rev=14
This commit is contained in:
Steve Kowalik 2021-04-14 04:52:27 +00:00 committed by Git OBS Bridge
parent 9f80333011
commit 411fbb3cab
2 changed files with 13 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 14 04:51:13 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Only build for 3.8, some depends only built there.
- There is no test suite, remove trying to run it.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 16 09:59:52 UTC 2019 - Martin Pluskal <mpluskal@suse.com> Tue Apr 16 09:59:52 UTC 2019 - Martin Pluskal <mpluskal@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-inspektor # spec file for package python-inspektor
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2021 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
@ -17,18 +17,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
# cliff and stevedore are not built for 3.6
%define skip_python36 1
%global pkgname inspektor %global pkgname inspektor
Name: python-%{pkgname} Name: python-%{pkgname}
Version: 0.5.2 Version: 0.5.2
Release: 0 Release: 0
Summary: Program used to verify the code of your python project Summary: Program used to verify the code of your python project
License: GPL-2.0-only License: GPL-2.0-only
Group: Development/Languages/Python
URL: https://github.com/avocado-framework/inspektor URL: https://github.com/avocado-framework/inspektor
#Source: https://github.com/avocado-framework/inspektor/archive/%{version}.tar.gz#/%{pkgname}-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/42/8a/9e375ac0bb498760fe2408a2e0f1fe09808933e593d1b6f04193492b9048/inspektor-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/42/8a/9e375ac0bb498760fe2408a2e0f1fe09808933e593d1b6f04193492b9048/inspektor-%{version}.tar.gz
BuildRequires: %{python_module astroid >= 1.2.1} BuildRequires: %{python_module astroid >= 1.2.1}
BuildRequires: %{python_module cliff}
BuildRequires: %{python_module cmd2} BuildRequires: %{python_module cmd2}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module logutils >= 0.3.3} BuildRequires: %{python_module logutils >= 0.3.3}
@ -36,9 +35,10 @@ BuildRequires: %{python_module pbr >= 1.4}
BuildRequires: %{python_module pycodestyle >= 2.0.0} BuildRequires: %{python_module pycodestyle >= 2.0.0}
BuildRequires: %{python_module pylint >= 1.3.1} BuildRequires: %{python_module pylint >= 1.3.1}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module stevedore}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: python3-cliff
BuildRequires: python3-stevedore
Requires: python-astroid >= 1.2.1 Requires: python-astroid >= 1.2.1
Requires: python-cliff Requires: python-cliff
Requires: python-cmd2 Requires: python-cmd2
@ -48,12 +48,10 @@ Requires: python-pycodestyle >= 2.0.0
Requires: python-pylint >= 1.3.1 Requires: python-pylint >= 1.3.1
Requires: python-stevedore Requires: python-stevedore
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun):update-alternatives
BuildArch: noarch BuildArch: noarch
%ifpython3
BuildRequires: python3-typed-ast BuildRequires: python3-typed-ast
Requires: python3-typed-ast Requires: python3-typed-ast
%endif
%python_subpackages %python_subpackages
%description %description
@ -70,10 +68,7 @@ Inspektor can work with Git and SVN checkouts.
%python_build %python_build
%check %check
# No worky on SLE # No test suite
%if 0%{?suse_version} >= 1500
%python_exec setup.py test
%endif
%install %install
%python_install %python_install