File python3-stevedore.spec of Package python3-stevedore

#
# spec file for package python3-stevedore
#
# Copyright (c) 2017 SUSE LINUX Products 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 http://bugs.opensuse.org/
#


Name:           python3-stevedore
Version:        1.20.0
Release:        0
Summary:        Manage dynamic plugins for Python applications
License:        Apache-2.0
Group:          Development/Languages/Python
Url:            http://git.openstack.org/cgit/openstack/stevedore
Source:         https://files.pythonhosted.org/packages/source/s/stevedore/stevedore-%{version}.tar.gz
BuildRequires:  fdupes
BuildRequires:  python3-devel
BuildRequires:  python3-pbr
BuildRequires:  python3-setuptools
# Documentation requirements:
# BuildRequires:  python3-Sphinx
# Test requirements:
#BuildRequires:  python-mock
#BuildRequires:  python-nose
BuildArch:      noarch
Requires:       python3-pbr >= 1.6
Requires:       python3-six >= 1.9.0

%description
stevedore provides manager classes for implementing common patterns
for using dynamically loaded extensions in an effort to reduce
repetitive entry point management code.

%prep
%setup -q -n stevedore-%{version}

%build
python3 setup.py build
# (posophe) Documentation building fails for instance
# python3 setup.py build_sphinx

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%fdupes -s %{buildroot}

#%%check
#nosetests

%files
%defattr(-,root,root,-)
%doc LICENSE README.rst
#%doc build/sphinx/html
%{python3_sitelib}/*

%changelog
openSUSE Build Service is sponsored by