File python-colcon-ros.spec of Package python-colcon-ros

# spec file for package python-colcon-ros
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name:           python-colcon-ros
Version:        0.3.10
Release:        0
License:        Apache-2.0
Summary:        Extension for colcon to support ROS packages
Group:          Development/Languages/Python
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module setuptools}
# SECTION test requirements
BuildRequires:  %{python_module catkin-pkg}
BuildRequires:  %{python_module colcon-cmake >= 0.2.6}
BuildRequires:  %{python_module colcon-core >= 0.3.18}
BuildRequires:  %{python_module colcon-pkg-config}
BuildRequires:  %{python_module colcon-python-setup-py}
BuildRequires:  %{python_module colcon-recursive-crawl}
BuildRequires:  %{python_module flake8}
BuildRequires:  %{python_module flake8-blind-except}
BuildRequires:  %{python_module flake8-builtins}
BuildRequires:  %{python_module flake8-class-newline}
BuildRequires:  %{python_module flake8-comprehensions}
BuildRequires:  %{python_module flake8-deprecated}
BuildRequires:  %{python_module flake8-docstrings}
BuildRequires:  %{python_module flake8-import-order}
BuildRequires:  %{python_module flake8-quotes}
BuildRequires:  %{python_module pep8-naming}
BuildRequires:  %{python_module pylint}
BuildRequires:  %{python_module pytest}
BuildRequires:  %{python_module pytest-cov}
BuildRequires:  %{python_module scspell3k >= 2.2}
BuildRequires:  fdupes
Requires:       python-catkin-pkg
Requires:       python-colcon-cmake >= 0.2.6
Requires:       python-colcon-core >= 0.3.18
Requires:       python-colcon-pkg-config
Requires:       python-colcon-python-setup-py
Requires:       python-colcon-recursive-crawl
BuildArch:      noarch


An extension for colcon-core to support ROS packages.

%setup -q -n colcon-ros-%{version}


%python_expand %fdupes %{buildroot}%{$python_sitelib}

%if 1
%python_exec test

%files %{python_files}
%doc README.rst