File python-pifpaf.spec of Package python-pifpaf

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


Name:           python-pifpaf
Version:        1.9.2
Release:        0
Summary:        Suite of tools and fixtures to manage daemons for testing
License:        Apache-2.0
Group:          Development/Languages/Python
Url:            https://github.com/jd/pifpaf
Source:         https://pypi.io/packages/source/p/pifpaf/pifpaf-%{version}.tar.gz
BuildRequires:  python-devel
BuildRequires:  python-pbr
Requires:       python-cliff
Requires:       python-daiquiri
Requires:       python-fixtures
Requires:       python-os-testr
Requires:       python-oslotest
Requires:       python-requests
Requires:       python-six
Requires:       python-stevedore
Requires:       python-tenacity
Requires:       python-testrepository
Requires:       python-testtools
Requires:       python-xattr
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Pifpaf is a suite of `fixtures`_ and a command-line tool that allows to start
and stop daemons for a quick throw-away usage. This is typically useful when
needing these daemons to run `integration testing`_. It originaly evolved from
its precussor `overtest`_.

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

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog LICENSE README.rst
%{python_sitelib}/*
%{_bindir}/pifpaf

%changelog
openSUSE Build Service is sponsored by