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