A new user interface for you!

File python-msk.spec of Package python-msk

# spec file for package python-msk
# Copyright (c) 2018 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 https://bugs.opensuse.org/

%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-msk
Version:        0.3.11
Release:        0
Summary:        Mycroft Skills Kit
License:        Apache-2.0
Group:          Development/Languages/Python
URL:            https://github.com/MycroftAI/mycroft-skills-kit
Source:         https://files.pythonhosted.org/packages/source/m/msk/msk-%{version}.tar.gz
Source99:       https://raw.githubusercontent.com/MycroftAI/mycroft-skills-kit/master/LICENSE
Patch0:         fix-dependencies.patch
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Requires:       python-GitPython
Requires:       python-PyGithub
Requires:       python-msm >= 0.5.13
BuildArch:      noarch
Requires:       python-typing

Mycroft Skills Kit python module.

%setup -q -n msk-%{version}
%patch0 -p1
cp %{SOURCE99} .


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

%files %{python_files}
%license LICENSE
%doc README.md
%python3_only %{_bindir}/msk