File python-testinstances.spec of Package python-testinstances

#
# spec file for package python-testinstances
#
# 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-testinstances
Version:        0.3.0
Release:        0
Summary:        Managed test instances for integration tests
License:        Apache-2.0
Group:          Development/Languages/Python
Url:            https://github.com/Parsely/testinstances
Source:         https://files.pythonhosted.org/packages/source/t/testinstances/testinstances-%{version}.tar.gz
BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
testinstances is a set of managed instance wrappers to make integration testing with redis and mongodb easier. If you
have the binaries on your path, it can handle creating and destroying sandboxed instances for you to test with.

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

%build
python setup.py build

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

%files
%defattr(-,root,root,-)
%doc README.rst
%{python_sitelib}/*

%changelog
openSUSE Build Service is sponsored by