File python-remoto.spec of Package python-remoto.3333
#
# spec file for package python-remoto
#
# Copyright (c) 2016 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-remoto
Version: 0.0.27
Release: 0
Summary: Remote command executor using ssh and Python in the remote end
License: MIT
Group: Development/Languages/Python
Url: https://pypi.python.org/pypi/remoto/0.0.27
Source0: https://pypi.python.org/packages/source/r/remoto/remoto-0.0.27.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-mock >= 1.0b1
BuildRequires: python-setuptools
BuildRequires: python-tox >= 1.2
BuildRequires: python-virtualenv
%if 0%{?suse_version}
BuildRequires: python-pytest >= 2.1.3
%else
BuildRequires: pytest
%endif
BuildRequires: python-execnet >= 1.4.1
BuildArch: noarch
Requires: python-execnet >= 1.4.1
Requires: python-setuptools
%description
Remote command executor using ssh and Python in the remote end. This
package is primarily built to support the ceph-deploy project.
python-remoto is built upon python-execnet which manages the
connections and processes.
%prep
%setup -q -n remoto-%{version}
%build
# force no new version of remoto
REMOTO_NO_VENDOR=no python setup.py build
%install
# force no new version of remoto
REMOTO_NO_VENDOR=no python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
# force no new version of remoto
REMOTO_NO_VENDOR=no python setup.py test
%files
%defattr(-,root,root,-)
%doc README.rst
%doc LICENSE
%{python_sitelib}/*
%changelog