14
0
forked from pool/python-remoto

Accepting request 672832 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/672832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-remoto?expand=0&rev=3
This commit is contained in:
2019-02-11 20:23:47 +00:00
committed by Git OBS Bridge
4 changed files with 44 additions and 23 deletions

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Feb 8 13:36:12 UTC 2019 - ncutler@suse.com
- spec: fix tarball URL
- use official upstream release tarball
-------------------------------------------------------------------
Fri Feb 8 11:50:54 UTC 2019 - Ricardo Dias <ricardo.dias@suse.com>
- spec: python3-ify
- as of https://github.com/ceph/ceph/pull/26262 this package is a
runtime dependency of Ceph
- update to 0.0.35:
+ see changelog at https://github.com/alfredodeza/remoto/blob/master/CHANGELOG.rst
-------------------------------------------------------------------
Sun Feb 21 19:47:42 UTC 2016 - astieger@suse.com

View File

@@ -15,30 +15,32 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-remoto
Version: 0.0.27
Version: 0.0.35
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/%{version}
Source0: https://pypi.python.org/packages/source/r/remoto/remoto-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/01/6c/2be61c4afdfdfc5b18565def7ef40029d7bdabe9437734f02521f30c592a/remoto-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-execnet
BuildRequires: python-mock >= 1.0b1
BuildRequires: python-setuptools
BuildRequires: python-tox >= 1.2
BuildRequires: python-virtualenv
BuildRequires: %{python_module execnet}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module virtualenv}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-execnet
Requires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%if 0%{?suse_version}
BuildRequires: python-pytest >= 2.1.3
%else
BuildRequires: pytest
%if %{with test}
BuildRequires: %{python_module tox >= 1.2}
BuildRequires: %{python_module mock >= 1.0b1}
BuildRequires: %{python_module pytest >= 2.1.3}
%endif
%python_subpackages
%description
Remote command executor using ssh and Python in the remote end. This
@@ -50,20 +52,24 @@ connections and processes.
%setup -q -n remoto-%{version}
%build
# force no new version of remoto
REMOTO_NO_VENDOR=no python setup.py build
export REMOTO_NO_VENDOR=no
%python_build
%install
# force no new version of remoto
REMOTO_NO_VENDOR=no python setup.py install --prefix=%{_prefix} --root=%{buildroot}
export REMOTO_NO_VENDOR=no
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
# force no new version of remoto
REMOTO_NO_VENDOR=no python setup.py test
export REMOTO_NO_VENDOR=no
%python_exec setup.py test
%endif
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst LICENSE
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:833aca5a25735c27af1b18a4b520ef6131c8d2b72037dbf1ebd780e03ea5f713
size 73634

3
remoto-0.0.35.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a681de4353d7a0d297d233058712d0ceb80e98216731db1f151b3588f20290c
size 13586