commit python-parallax for openSUSE:Factory

2020-08-06 Thread root
Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2020-08-06 10:41:52

Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and  /work/SRC/openSUSE:Factory/.python-parallax.new.3399 (New)


Package is "python-parallax"

Thu Aug  6 10:41:52 2020 rev:17 rq:824576 version:1.0.6

Changes:

--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2020-05-19 14:49:51.792253567 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-parallax.new.3399/python-parallax.changes
2020-08-06 10:42:07.070119968 +0200
@@ -1,0 +2,6 @@
+Wed Aug  5 07:43:16 UTC 2020 - XinLiang 
+
+- Change format of scp command for ipv6 compatible(bsc#1174894)
+  Add patch 0002-Change-format-of-scp-command-for-ipv6-compatible.patch
+
+---

New:

  0002-Change-format-of-scp-command-for-ipv6-compatible.patch



Other differences:
--
++ python-parallax.spec ++
--- /var/tmp/diff_new_pack.R1ultc/_old  2020-08-06 10:42:07.762120315 +0200
+++ /var/tmp/diff_new_pack.R1ultc/_new  2020-08-06 10:42:07.762120315 +0200
@@ -26,6 +26,7 @@
 URL:https://github.com/krig/parallax/
 Source: 
https://files.pythonhosted.org/packages/source/p/parallax/parallax-%{version}.tar.gz
 Patch1: 0001-Add-ssh_key-option-used-by-i-option-of-ssh-scp.patch
+Patch2: 0002-Change-format-of-scp-command-for-ipv6-compatible.patch
 
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -51,6 +52,7 @@
 %prep
 %setup -q -n parallax-%{version}
 %patch1 -p1
+%patch2 -p1
 
 %build
 %python_build

++ 0002-Change-format-of-scp-command-for-ipv6-compatible.patch ++
>From 1b253513291fe6022b7b832547e43b372886059c Mon Sep 17 00:00:00 2001
From: liangxin1300 
Date: Thu, 16 Jul 2020 00:19:26 +0800
Subject: [PATCH] Change format of scp command for ipv6 compatible

---
 parallax/__init__.py | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/parallax/__init__.py b/parallax/__init__.py
index 1008ca2..50a2268 100644
--- a/parallax/__init__.py
+++ b/parallax/__init__.py
@@ -226,9 +226,9 @@ def _build_copy_cmd(host, port, user, src, dst, opts):
 cmd.extend(opts.ssh_extra)
 cmd.append(src)
 if user:
-cmd.append('%s@%s:%s' % (user, host, dst))
+cmd.append('%s@[%s]:%s' % (user, host, dst))
 else:
-cmd.append('%s:%s' % (host, dst))
+cmd.append('[%s]:%s' % (host, dst))
 return cmd
 
 
@@ -320,9 +320,9 @@ def _build_slurp_cmd(host, port, user, src, dst, opts):
 if opts.ssh_extra:
 cmd.extend(opts.ssh_extra)
 if user:
-cmd.append('%s@%s:%s' % (user, host, src))
+cmd.append('%s@[%s]:%s' % (user, host, src))
 else:
-cmd.append('%s:%s' % (host, src))
+cmd.append('[%s]:%s' % (host, src))
 cmd.append(dst)
 return cmd
 
-- 
2.21.1




commit python-parallax for openSUSE:Factory

2020-05-19 Thread root
Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2020-05-19 14:49:48

Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and  /work/SRC/openSUSE:Factory/.python-parallax.new.2738 (New)


Package is "python-parallax"

Tue May 19 14:49:48 2020 rev:16 rq:807100 version:1.0.6

Changes:

--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2020-04-01 19:19:40.251567088 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-parallax.new.2738/python-parallax.changes
2020-05-19 14:49:51.792253567 +0200
@@ -1,0 +2,6 @@
+Tue May 19 02:32:03 UTC 2020 - XinLiang 
+
+- Add ssh_key option used by -i option of ssh and scp(bsc#1169581)
+  Add patch 0001-Add-ssh_key-option-used-by-i-option-of-ssh-scp.patch 
+
+---

New:

  0001-Add-ssh_key-option-used-by-i-option-of-ssh-scp.patch



Other differences:
--
++ python-parallax.spec ++
--- /var/tmp/diff_new_pack.VC46bD/_old  2020-05-19 14:49:52.620255403 +0200
+++ /var/tmp/diff_new_pack.VC46bD/_new  2020-05-19 14:49:52.620255403 +0200
@@ -25,6 +25,8 @@
 Group:  Development/Languages/Python
 URL:https://github.com/krig/parallax/
 Source: 
https://files.pythonhosted.org/packages/source/p/parallax/parallax-%{version}.tar.gz
+Patch1: 0001-Add-ssh_key-option-used-by-i-option-of-ssh-scp.patch
+
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -48,6 +50,7 @@
 
 %prep
 %setup -q -n parallax-%{version}
+%patch1 -p1
 
 %build
 %python_build

++ 0001-Add-ssh_key-option-used-by-i-option-of-ssh-scp.patch ++
>From f5ccee901d346873adbe5d979b5b70d0ba029570 Mon Sep 17 00:00:00 2001
From: liangxin1300 
Date: Fri, 24 Apr 2020 07:05:13 +0800
Subject: [PATCH] Add ssh_key option used by -i option of ssh/scp

---
 parallax/__init__.py | 21 +
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/parallax/__init__.py b/parallax/__init__.py
index fc1a6e7..1008ca2 100644
--- a/parallax/__init__.py
+++ b/parallax/__init__.py
@@ -87,6 +87,7 @@ class Options(object):
 askpass = False  # Ask for a password
 outdir = None# Write stdout to a file per host in this 
directory
 errdir = None# Write stderr to a file per host in this 
directory
+ssh_key = None   # Specific ssh key used by ssh/scp -i option
 ssh_options = [] # Extra options to pass to SSH
 ssh_extra = []   # Extra arguments to pass to SSH
 verbose = False  # Warning and diagnostic messages
@@ -138,19 +139,21 @@ class _CallOutputBuilder(object):
 return ret
 
 
-def _build_call_cmd(host, port, user, cmdline, options, extra):
+def _build_call_cmd(host, port, user, cmdline, opts):
 cmd = ['ssh', host,
'-o', 'NumberOfPasswordPrompts=1',
'-o', 'SendEnv=PARALLAX_NODENUM PARALLAX_HOST']
-if options:
-for opt in options:
+if opts.ssh_options:
+for opt in opts.ssh_options:
 cmd += ['-o', opt]
 if user:
 cmd += ['-l', user]
 if port:
 cmd += ['-p', port]
-if extra:
-cmd.extend(extra)
+if opts.ssh_key:
+cmd += ['-i', opts.ssh_key]
+if opts.ssh_extra:
+cmd.extend(opts.ssh_extra)
 if cmdline:
 cmd.append(cmdline)
 return cmd
@@ -173,9 +176,7 @@ def call(hosts, cmdline, opts=Options()):
   warn_message=opts.warn_message,
   callbacks=_CallOutputBuilder())
 for host, port, user in _expand_host_port_user(hosts):
-cmd = _build_call_cmd(host, port, user, cmdline,
-  options=opts.ssh_options,
-  extra=opts.ssh_extra)
+cmd = _build_call_cmd(host, port, user, cmdline, opts)
 t = Task(host, port, user, cmd,
  stdin=opts.input_stream,
  verbose=opts.verbose,
@@ -219,6 +220,8 @@ def _build_copy_cmd(host, port, user, src, dst, opts):
 cmd += ['-P', port]
 if opts.recursive:
 cmd.append('-r')
+if opts.ssh_key:
+cmd += ['-i', opts.ssh_key]
 if opts.ssh_extra:
 cmd.extend(opts.ssh_extra)
 cmd.append(src)
@@ -312,6 +315,8 @@ def _build_slurp_cmd(host, port, user, src, dst, opts):
 cmd += ['-P', port]
 if opts.recursive:
 cmd.append('-r')
+if opts.ssh_key:
+cmd += ['-i', opts.ssh_key]
 if opts.ssh_extra:
 cmd.extend(opts.ssh_extra)
 if user:
-- 
2.21.1




commit python-parallax for openSUSE:Factory

2020-04-01 Thread root
Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2020-04-01 19:19:28

Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and  /work/SRC/openSUSE:Factory/.python-parallax.new.3248 (New)


Package is "python-parallax"

Wed Apr  1 19:19:28 2020 rev:15 rq:790509 version:1.0.6

Changes:

--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2019-08-22 15:17:32.746347927 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-parallax.new.3248/python-parallax.changes
2020-04-01 19:19:40.251567088 +0200
@@ -1,0 +2,7 @@
+Wed Apr  1 08:54:34 UTC 2020 - Kristoffer Gronlund 
+
+- Release 1.0.6
+- Replace preexec_fn as start_new_session
+- No need to mask signals for subprocess call
+
+---

Old:

  parallax-1.0.5.tar.gz

New:

  parallax-1.0.6.tar.gz



Other differences:
--
++ python-parallax.spec ++
--- /var/tmp/diff_new_pack.V7NPDd/_old  2020-04-01 19:19:40.943567399 +0200
+++ /var/tmp/diff_new_pack.V7NPDd/_new  2020-04-01 19:19:40.943567399 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-parallax
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-parallax
-Version:1.0.5
+Version:1.0.6
 Release:0
 Summary:Python module for multi-node SSH command execution and file 
copy
 License:BSD-3-Clause

++ parallax-1.0.5.tar.gz -> parallax-1.0.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.5/PKG-INFO new/parallax-1.0.6/PKG-INFO
--- old/parallax-1.0.5/PKG-INFO 2019-08-22 09:45:34.0 +0200
+++ new/parallax-1.0.6/PKG-INFO 2020-04-01 10:50:03.678191400 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: parallax
-Version: 1.0.5
+Version: 1.0.6
 Summary: Execute commands and copy files over SSH to multiple machines at once
 Home-page: https://github.com/krig/parallax/
 Author: Kristoffer Gronlund
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.5/README new/parallax-1.0.6/README
--- old/parallax-1.0.5/README   2014-12-25 18:53:06.0 +0100
+++ new/parallax-1.0.6/README   1970-01-01 01:00:00.0 +0100
@@ -1,76 +0,0 @@
-# Parallax SSH
-
-Parallax SSH is a fork of [Parallel SSH][pssh] which focuses less on
-command-line tools and more on providing a flexible and programmable
-API that can be used by Python application developers to perform SSH
-operations across multiple machines.
-
-## Installation
-
-Parallax intends to be compatible with Python 2.6 and above (including
-Python 3.1 and greater), but is primarily tested with Python 2.7.
-
-Installation requires setuptools or ez_setup.py. The latter can be
-downloaded [here][ez].
-
-Once those requirements are fulfilled, installation is as simple as:
-
-# sudo python setup.py install
-
-Packaged versions of Parallax SSH for various distributions can be
-downloaded from the openSUSE [OBS][obs].
-
-To install via PyPI, use `pip`:
-
-# pip install parallax
-
-Share and enjoy!
-
-## Usage
-
-* `parallax.call(hosts, cmdline, opts)`
-
-  Executes the given command on a set of hosts, collecting the output.
-
-  Returns a dict mapping the hostname of
-  each host either to a tuple containing a return code,
-  stdout and stderr, or an `parallax.Error` instance
-  describing the error.
-
-* `parallax.copy(hosts, src, dst, opts)`
-
-  Copies files from `src` on the local machine to `dst` on the
-  remote hosts.
-
-  Returns a dict mapping the hostname of
-  each host either to a path, or an `parallax.Error` instance
-  describing the error.
-
-* `parallax.slurp(hosts, src, dst, opts)`
-
-  Copies files from `src` on the remote hosts to a local folder for
-  each of the remote hosts.
-
-  Returns a dict mapping the hostname of
-  each host either to a path, or an `parallax.Error` instance
-  describing the error.
-
-## How it works
-
-By default, Parallax SSH uses at most 32 SSH process in parallel to
-SSH to the nodes. By default, it uses a timeout of one minute to SSH
-to a node and obtain a result.
-
-## Environment variables
-
-* `PARALLAX_HOSTS`
-* `PARALLAX_USER`
-* `PARALLAX_PAR`
-* `PARALLAX_OUTDIR`
-* `PARALLAX_VERBOSE`
-* `PARALLAX_OPTIONS`
-
-
-  [pssh]: https://code.google.com/p/parallel-ssh/ "parallel-ssh"
-  [ez]: http://peak.telecommunity.com/dist/ez_setup.py 

commit python-parallax for openSUSE:Factory

2019-08-22 Thread root
Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2019-08-22 15:05:07

Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and  /work/SRC/openSUSE:Factory/.python-parallax.new.7948 (New)


Package is "python-parallax"

Thu Aug 22 15:05:07 2019 rev:14 rq:725240 version:1.0.5

Changes:

--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2019-06-01 09:46:55.291377099 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-parallax.new.7948/python-parallax.changes
2019-08-22 15:17:32.746347927 +0200
@@ -1,0 +2,7 @@
+Thu Aug 22 07:50:06 UTC 2019 - Kristoffer Gronlund 
+
+- Release 1.0.5
+- Surpress warning messages when needed (bsc#1146748)
+- Fix assert_ DeprecationWarning
+
+---

Old:

  parallax-1.0.4.tar.gz

New:

  parallax-1.0.5.tar.gz



Other differences:
--
++ python-parallax.spec ++
--- /var/tmp/diff_new_pack.dQr10b/_old  2019-08-22 15:17:33.242347797 +0200
+++ /var/tmp/diff_new_pack.dQr10b/_new  2019-08-22 15:17:33.246347796 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-parallax
-Version:1.0.4
+Version:1.0.5
 Release:0
 Summary:Python module for multi-node SSH command execution and file 
copy
 License:BSD-3-Clause

++ parallax-1.0.4.tar.gz -> parallax-1.0.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.4/PKG-INFO new/parallax-1.0.5/PKG-INFO
--- old/parallax-1.0.4/PKG-INFO 2018-06-28 16:28:34.0 +0200
+++ new/parallax-1.0.5/PKG-INFO 2019-08-22 09:45:34.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: parallax
-Version: 1.0.4
+Version: 1.0.5
 Summary: Execute commands and copy files over SSH to multiple machines at once
 Home-page: https://github.com/krig/parallax/
 Author: Kristoffer Gronlund
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.4/parallax/__init__.py 
new/parallax-1.0.5/parallax/__init__.py
--- old/parallax-1.0.4/parallax/__init__.py 2018-06-28 16:25:14.0 
+0200
+++ new/parallax-1.0.5/parallax/__init__.py 2019-08-22 09:40:05.0 
+0200
@@ -98,6 +98,7 @@
 default_user = None  # User to connect as (unless overridden per 
host)
 recursive = True # (copy, slurp only) Copy recursively
 localdir = None  # (slurp only) Local base directory to copy to
+warn_message = True  # show warn message when asking for a password
 
 
 def _expand_host_port_user(lst):
@@ -169,6 +170,7 @@
   askpass=opts.askpass,
   outdir=opts.outdir,
   errdir=opts.errdir,
+  warn_message=opts.warn_message,
   callbacks=_CallOutputBuilder())
 for host, port, user in _expand_host_port_user(hosts):
 cmd = _build_call_cmd(host, port, user, cmdline,
@@ -245,6 +247,7 @@
   askpass=opts.askpass,
   outdir=opts.outdir,
   errdir=opts.errdir,
+  warn_message=opts.warn_message,
   callbacks=_CopyOutputBuilder())
 for host, port, user in _expand_host_port_user(hosts):
 cmd = _build_copy_cmd(host, port, user, src, dst, opts)
@@ -340,6 +343,7 @@
   askpass=opts.askpass,
   outdir=opts.outdir,
   errdir=opts.errdir,
+  warn_message=opts.warn_message,
   callbacks=_SlurpOutputBuilder(localdirs))
 for host, port, user in _expand_host_port_user(hosts):
 localpath = localdirs[host]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.4/parallax/askpass_server.py 
new/parallax-1.0.5/parallax/askpass_server.py
--- old/parallax-1.0.4/parallax/askpass_server.py   2017-11-03 
08:48:26.0 +0100
+++ new/parallax-1.0.5/parallax/askpass_server.py   2019-08-22 
09:40:05.0 +0200
@@ -26,15 +26,16 @@
 self.buffermap = {}
 self.password = ""
 
-def start(self, iomap, backlog):
+def start(self, iomap, backlog, warn=True):
 """Prompts for the password, creates a socket, and starts listening.
 
 The specified backlog should be the max number of clients connecting
 at once.
 """
-message = ('Warning: do not enter your password if anyone else has'
-   ' superuser privileges or access to your account.')
-

commit python-parallax for openSUSE:Factory

2019-06-01 Thread root
Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2019-06-01 09:46:51

Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and  /work/SRC/openSUSE:Factory/.python-parallax.new.5148 (New)


Package is "python-parallax"

Sat Jun  1 09:46:51 2019 rev:13 rq:705801 version:1.0.4

Changes:

--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2019-01-03 18:06:32.712144778 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-parallax.new.5148/python-parallax.changes
2019-06-01 09:46:55.291377099 +0200
@@ -1,0 +2,5 @@
+Tue May 28 07:12:30 UTC 2019 - Kristoffer Gronlund 
+
+- Work around hidden python packaging magic (bsc#1131136) 
+
+---



Other differences:
--
++ python-parallax.spec ++
--- /var/tmp/diff_new_pack.bKRCVs/_old  2019-06-01 09:46:55.783376931 +0200
+++ /var/tmp/diff_new_pack.bKRCVs/_new  2019-06-01 09:46:55.787376930 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-parallax
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -28,7 +28,8 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Obsoletes:  python-parallax < %{version}
+%define oldpython python
+Obsoletes:  %{oldpython}-parallax < %{version}
 Requires:   openssh
 BuildArch:  noarch
 %if 0%{?suse_version}




commit python-parallax for openSUSE:Factory

2019-01-03 Thread root
Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2019-01-03 18:06:31

Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and  /work/SRC/openSUSE:Factory/.python-parallax.new.28833 (New)


Package is "python-parallax"

Thu Jan  3 18:06:31 2019 rev:12 rq:659057 version:1.0.4

Changes:

--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2018-07-31 15:58:56.455499766 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-parallax.new.28833/python-parallax.changes   
2019-01-03 18:06:32.712144778 +0100
@@ -1,0 +2,11 @@
+Tue Dec 18 09:40:49 UTC 2018 - kgronl...@suse.com
+
+- Obsolete old python-parallax package (bsc#1103832) 
+
+---
+Mon Dec 10 12:30:31 UTC 2018 - Tomáš Chvátal 
+
+- Fix Source URL
+- Fix fdupes call
+
+---



Other differences:
--
++ python-parallax.spec ++
--- /var/tmp/diff_new_pack.OPA5EG/_old  2019-01-03 18:06:33.524144056 +0100
+++ /var/tmp/diff_new_pack.OPA5EG/_new  2019-01-03 18:06:33.528144053 +0100
@@ -12,41 +12,39 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-
 Name:   python-parallax
 Version:1.0.4
 Release:0
 Summary:Python module for multi-node SSH command execution and file 
copy
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:https://github.com/krig/parallax/
-Source: 
https://files.pythonhosted.org/packages/48/d9/2a5912db7d0bdc26972ecdb7bae50844c77ed098f63295c0283d102d6b0e/parallax-%{version}.tar.gz
+URL:https://github.com/krig/parallax/
+Source: 
https://files.pythonhosted.org/packages/source/p/parallax/parallax-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Obsoletes:  python-parallax < %{version}
 Requires:   openssh
 BuildArch:  noarch
 %if 0%{?suse_version}
 Requires(post):   update-alternatives
 Requires(postun): update-alternatives
 %else
-Requires(post):   /usr/sbin/update-alternatives
-Requires(postun): /usr/sbin/update-alternatives
+Requires(post): %{_sbindir}/update-alternatives
+Requires(postun): %{_sbindir}/update-alternatives
 %endif
+%python_subpackages
 
 %description
 Parallax SSH provides an interface to executing commands on multiple
 nodes at once using SSH. It also provides commands for sending and receiving 
files to
 multiple nodes using SCP.
 
-%python_subpackages
-
 %prep
 %setup -q -n parallax-%{version}
 
@@ -57,7 +55,7 @@
 %python_install
 %python_clone -a %{buildroot}%{_bindir}/parallax-askpass
 
-%fdupes %{buildroot}%{_prefix}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %post
 %python_install_alternative parallax-askpass
@@ -66,7 +64,6 @@
 %python_uninstall_alternative parallax-askpass
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc AUTHORS README.md
 %license COPYING
 %{python_sitelib}/parallax




commit python-parallax for openSUSE:Factory

2018-07-31 Thread root
Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2018-07-31 15:58:53

Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and  /work/SRC/openSUSE:Factory/.python-parallax.new (New)


Package is "python-parallax"

Tue Jul 31 15:58:53 2018 rev:11 rq:625969 version:1.0.4

Changes:

--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2018-06-29 22:36:35.357991985 +0200
+++ /work/SRC/openSUSE:Factory/.python-parallax.new/python-parallax.changes 
2018-07-31 15:58:56.455499766 +0200
@@ -1,0 +2,5 @@
+Fri Jul 27 14:41:09 UTC 2018 - jeng...@inai.de
+
+- Use noun phrase in summary.
+
+---



Other differences:
--
++ python-parallax.spec ++
--- /var/tmp/diff_new_pack.zWs6kU/_old  2018-07-31 15:58:57.567501652 +0200
+++ /var/tmp/diff_new_pack.zWs6kU/_new  2018-07-31 15:58:57.571501658 +0200
@@ -21,7 +21,7 @@
 Name:   python-parallax
 Version:1.0.4
 Release:0
-Summary:Execute commands and copy files over SSH to multiple machines 
at once
+Summary:Python module for multi-node SSH command execution and file 
copy
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/krig/parallax/




commit python-parallax for openSUSE:Factory

2018-06-29 Thread root
Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2018-06-29 22:36:27

Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and  /work/SRC/openSUSE:Factory/.python-parallax.new (New)


Package is "python-parallax"

Fri Jun 29 22:36:27 2018 rev:10 rq:619676 version:1.0.4

Changes:

--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2017-11-04 19:29:11.021352363 +0100
+++ /work/SRC/openSUSE:Factory/.python-parallax.new/python-parallax.changes 
2018-06-29 22:36:35.357991985 +0200
@@ -1,0 +2,6 @@
+Thu Jun 28 14:32:46 UTC 2018 - kgronl...@suse.com
+
+- Release 1.0.4
+- Fix super call for python2 (bsc#1099514) 
+
+---

Old:

  parallax-1.0.3.tar.gz

New:

  parallax-1.0.4.tar.gz



Other differences:
--
++ python-parallax.spec ++
--- /var/tmp/diff_new_pack.t59wYW/_old  2018-06-29 22:36:38.813988985 +0200
+++ /var/tmp/diff_new_pack.t59wYW/_new  2018-06-29 22:36:38.817988981 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-parallax
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -19,13 +19,13 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 
 Name:   python-parallax
-Version:1.0.3
+Version:1.0.4
 Release:0
 Summary:Execute commands and copy files over SSH to multiple machines 
at once
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/krig/parallax/
-Source: 
https://files.pythonhosted.org/packages/1c/21/acd162b334561a1989310d149407b7d6cd2ac7d51b7fae35cd897ed72ef7/parallax-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/48/d9/2a5912db7d0bdc26972ecdb7bae50844c77ed098f63295c0283d102d6b0e/parallax-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -67,7 +67,8 @@
 
 %files %{python_files}
 %defattr(-,root,root,-)
-%doc AUTHORS README.md COPYING
+%doc AUTHORS README.md
+%license COPYING
 %{python_sitelib}/parallax
 %{python_sitelib}/parallax-%{version}*.egg-info
 %python_alternative %{_bindir}/parallax-askpass

++ parallax-1.0.3.tar.gz -> parallax-1.0.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.3/PKG-INFO new/parallax-1.0.4/PKG-INFO
--- old/parallax-1.0.3/PKG-INFO 2017-11-03 09:07:18.0 +0100
+++ new/parallax-1.0.4/PKG-INFO 2018-06-28 16:28:34.0 +0200
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: parallax
-Version: 1.0.3
+Version: 1.0.4
 Summary: Execute commands and copy files over SSH to multiple machines at once
 Home-page: https://github.com/krig/parallax/
 Author: Kristoffer Gronlund
 Author-email: k...@koru.se
 License: BSD
-Description-Content-Type: UNKNOWN
 Description: Parallax SSH provides an interface to executing commands on 
multiple
 nodes at once using SSH. It also provides commands for sending and 
receiving files to
 multiple nodes using SCP.
@@ -24,6 +23,8 @@
 Classifier: Programming Language :: Python :: 3.2
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: System :: Clustering
 Classifier: Topic :: System :: Networking
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.3/parallax/__init__.py 
new/parallax-1.0.4/parallax/__init__.py
--- old/parallax-1.0.3/parallax/__init__.py 2017-11-03 08:59:18.0 
+0100
+++ new/parallax-1.0.4/parallax/__init__.py 2018-06-28 16:25:14.0 
+0200
@@ -61,7 +61,7 @@
 that host.
 """
 def __init__(self, msg, task):
-super().__init__(self)
+super(BaseException, self).__init__()
 self.msg = msg
 self.task = task
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.3/parallax/version.py 
new/parallax-1.0.4/parallax/version.py
--- old/parallax-1.0.3/parallax/version.py  2017-11-03 09:02:03.0 
+0100
+++ new/parallax-1.0.4/parallax/version.py  2018-06-28 16:25:52.0 
+0200
@@ -1 +1 @@
-VERSION = '1.0.3'
+VERSION = '1.0.4'
diff -urN 

commit python-parallax for openSUSE:Factory

2017-11-04 Thread root
Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2017-11-04 19:29:03

Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and  /work/SRC/openSUSE:Factory/.python-parallax.new (New)


Package is "python-parallax"

Sat Nov  4 19:29:03 2017 rev:9 rq:538596 version:1.0.3

Changes:

--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2017-08-29 11:47:19.484886029 +0200
+++ /work/SRC/openSUSE:Factory/.python-parallax.new/python-parallax.changes 
2017-11-04 19:29:11.021352363 +0100
@@ -1,0 +2,6 @@
+Fri Nov  3 08:14:07 UTC 2017 - kgronl...@suse.com
+
+- Release 1.0.3
+- Add to_ascii function to convert byte message to str (bsc#1066330) 
+
+---

Old:

  parallax-1.0.2.tar.gz

New:

  parallax-1.0.3.tar.gz



Other differences:
--
++ python-parallax.spec ++
--- /var/tmp/diff_new_pack.2KUbRj/_old  2017-11-04 19:29:11.581331902 +0100
+++ /var/tmp/diff_new_pack.2KUbRj/_new  2017-11-04 19:29:11.581331902 +0100
@@ -19,13 +19,13 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 
 Name:   python-parallax
-Version:1.0.2
+Version:1.0.3
 Release:0
 Summary:Execute commands and copy files over SSH to multiple machines 
at once
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/krig/parallax/
-Source: 
https://files.pythonhosted.org/packages/34/a7/039f774fcc9d1aff6bfe21969028781b8c61bd4e4938f1b2bb96387db68b/parallax-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/1c/21/acd162b334561a1989310d149407b7d6cd2ac7d51b7fae35cd897ed72ef7/parallax-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros

++ parallax-1.0.2.tar.gz -> parallax-1.0.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.2/PKG-INFO new/parallax-1.0.3/PKG-INFO
--- old/parallax-1.0.2/PKG-INFO 2017-08-28 14:51:12.0 +0200
+++ new/parallax-1.0.3/PKG-INFO 2017-11-03 09:07:18.0 +0100
@@ -1,11 +1,12 @@
 Metadata-Version: 1.1
 Name: parallax
-Version: 1.0.2
+Version: 1.0.3
 Summary: Execute commands and copy files over SSH to multiple machines at once
 Home-page: https://github.com/krig/parallax/
 Author: Kristoffer Gronlund
 Author-email: k...@koru.se
 License: BSD
+Description-Content-Type: UNKNOWN
 Description: Parallax SSH provides an interface to executing commands on 
multiple
 nodes at once using SSH. It also provides commands for sending and 
receiving files to
 multiple nodes using SCP.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.2/parallax/__init__.py 
new/parallax-1.0.3/parallax/__init__.py
--- old/parallax-1.0.2/parallax/__init__.py 2016-12-15 14:05:44.0 
+0100
+++ new/parallax-1.0.3/parallax/__init__.py 2017-11-03 08:59:18.0 
+0100
@@ -41,6 +41,19 @@
 basestring = str
 
 
+def to_ascii(s):
+"""Convert the bytes string to a ASCII string
+Usefull to remove accent (diacritics)"""
+if s is None:
+return s
+if isinstance(s, str):
+return s
+try:
+return str(s, 'utf-8')
+except UnicodeDecodeError:
+return s
+
+
 class Error(BaseException):
 """
 Returned instead of a result for a host
@@ -48,13 +61,14 @@
 that host.
 """
 def __init__(self, msg, task):
+super().__init__(self)
 self.msg = msg
 self.task = task
 
 def __str__(self):
 if self.task and self.task.errorbuffer:
 return "%s, Error output: %s" % (self.msg,
- self.task.errorbuffer)
+ to_ascii(self.task.errorbuffer))
 return self.msg
 
 
@@ -98,8 +112,7 @@
 return (v[0], None, None)
 elif len(v) == 2:
 return (v[0], v[1], None)
-else:
-return v
+return v
 return [expand(x) for x in lst]
 
 
@@ -268,8 +281,7 @@
 ret[task.host] = (task.exitstatus,
   task.outputbuffer or manager.outdir,
   task.errorbuffer or manager.errdir,
-  self.localdirs.get(task.host, None)
-)
+  self.localdirs.get(task.host, None))
 return ret
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit python-parallax for openSUSE:Factory

2017-08-29 Thread root
Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2017-08-29 11:45:56

Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and  /work/SRC/openSUSE:Factory/.python-parallax.new (New)


Package is "python-parallax"

Tue Aug 29 11:45:56 2017 rev:8 rq:519175 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2016-12-10 18:29:27.411464160 +0100
+++ /work/SRC/openSUSE:Factory/.python-parallax.new/python-parallax.changes 
2017-08-29 11:47:19.484886029 +0200
@@ -1,0 +2,6 @@
+Mon Aug 28 12:57:29 UTC 2017 - kgronl...@suse.com
+
+- Release 1.0.2
+- Switch to new singlespec packaging 
+
+---

Old:

  parallax-1.0.1.tar.gz

New:

  parallax-1.0.2.tar.gz



Other differences:
--
++ python-parallax.spec ++
--- /var/tmp/diff_new_pack.SMm5oJ/_old  2017-08-29 11:47:20.824697179 +0200
+++ /var/tmp/diff_new_pack.SMm5oJ/_new  2017-08-29 11:47:20.832696052 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-parallax
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -16,16 +16,19 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+
 Name:   python-parallax
-Version:1.0.1
+Version:1.0.2
 Release:0
 Summary:Execute commands and copy files over SSH to multiple machines 
at once
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/krig/parallax/
-Source: 
https://pypi.python.org/packages/source/p/parallax/parallax-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+Source: 
https://files.pythonhosted.org/packages/34/a7/039f774fcc9d1aff6bfe21969028781b8c61bd4e4938f1b2bb96387db68b/parallax-%{version}.tar.gz
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Requires:   openssh
 BuildArch:  noarch
@@ -42,36 +45,31 @@
 nodes at once using SSH. It also provides commands for sending and receiving 
files to
 multiple nodes using SCP.
 
+%python_subpackages
+
 %prep
 %setup -q -n parallax-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_clone -a %{buildroot}%{_bindir}/parallax-askpass
 
-# create a dummy target for /etc/alternatives/parallax-askpass
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-mv %{buildroot}%{_bindir}/parallax-askpass 
%{buildroot}%{_bindir}/parallax-askpass-%{py_ver}
-ln -s -f %{_sysconfdir}/alternatives/parallax-askpass 
%{buildroot}%{_bindir}/parallax-askpass
+%fdupes %{buildroot}%{_prefix}
 
 %post
-%_sbindir/update-alternatives \
-   --install %{_bindir}/parallax-askpass parallax-askpass 
%{_bindir}/parallax-askpass-%{py_ver} 20
+%python_install_alternative parallax-askpass
 
-%preun
-if [ "$1" = 0 ] ; then
-   %_sbindir/update-alternatives --remove parallax-askpass 
%{_bindir}/parallax-askpass-%{py_ver}
-fi
+%postun
+%python_uninstall_alternative parallax-askpass
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc AUTHORS README.md COPYING
 %{python_sitelib}/parallax
 %{python_sitelib}/parallax-%{version}*.egg-info
-%{_bindir}/parallax-askpass
-%{_bindir}/parallax-askpass-%{py_ver}
-%ghost %_sysconfdir/alternatives/parallax-askpass
+%python_alternative %{_bindir}/parallax-askpass
 
 %changelog

++ parallax-1.0.1.tar.gz -> parallax-1.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.1/MANIFEST.in 
new/parallax-1.0.2/MANIFEST.in
--- old/parallax-1.0.1/MANIFEST.in  1970-01-01 01:00:00.0 +0100
+++ new/parallax-1.0.2/MANIFEST.in  2017-08-28 14:50:48.0 +0200
@@ -0,0 +1,6 @@
+# Determines which files are included in sdist and bdist.
+# MANIFEST.in docs: http://docs.python.org/distutils/commandref.html
+
+include COPYING
+include AUTHORS
+include README
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.1/PKG-INFO new/parallax-1.0.2/PKG-INFO
--- old/parallax-1.0.1/PKG-INFO 2015-06-12 17:24:21.0 +0200
+++ new/parallax-1.0.2/PKG-INFO 2017-08-28 14:51:12.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: parallax
-Version: 1.0.1
+Version: 1.0.2
 Summary: Execute commands 

commit python-parallax for openSUSE:Factory

2016-08-17 Thread h_root
Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2016-08-17 12:05:37

Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and  /work/SRC/openSUSE:Factory/.python-parallax.new (New)


Package is "python-parallax"

Changes:

--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2016-05-02 10:44:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-parallax.new/python-parallax.changes 
2016-08-17 12:05:39.0 +0200
@@ -1,0 +2,5 @@
+Mon Aug 15 14:51:56 UTC 2016 - toddrme2...@gmail.com
+
+- Fix update-alternatives implementation.
+
+---



Other differences:
--
++ python-parallax.spec ++
--- /var/tmp/diff_new_pack.yZKxnk/_old  2016-08-17 12:05:40.0 +0200
+++ /var/tmp/diff_new_pack.yZKxnk/_new  2016-08-17 12:05:40.0 +0200
@@ -29,8 +29,8 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Requires:   openssh
 BuildArch:  noarch
-Requires(post):   /usr/sbin/update-alternatives
-Requires(postun): /usr/sbin/update-alternatives
+Requires(post): update-alternatives
+Requires(preun): update-alternatives
 
 %description
 Parallax SSH provides an interface to executing commands on multiple
@@ -47,18 +47,17 @@
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 # create a dummy target for /etc/alternatives/parallax-askpass
-mv %{buildroot}%{_bindir}/parallax-askpass 
%{buildroot}%{_bindir}/parallax-askpass-%{py_ver}
 mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-touch %{buildroot}%{_sysconfdir}/alternatives/parallax-askpass
+mv %{buildroot}%{_bindir}/parallax-askpass 
%{buildroot}%{_bindir}/parallax-askpass-%{py_ver}
 ln -s -f %{_sysconfdir}/alternatives/parallax-askpass 
%{buildroot}%{_bindir}/parallax-askpass
 
 %post
-"%_sbindir/update-alternatives" --install \
-   /%{_bindir}/parallax-askpass parallax-askpass 
%{_bindir}/parallax-askpass-%{py_ver} 20
+%_sbindir/update-alternatives \
+   --install %{_bindir}/parallax-askpass parallax-askpass 
%{_bindir}/parallax-askpass-%{py_ver} 20
 
-%postun
+%preun
 if [ "$1" = 0 ] ; then
-   "%_sbindir/update-alternatives" --remove parallax-askpass 
%{_bindir}/parallax-askpass-%{py_ver}
+   %_sbindir/update-alternatives --remove parallax-askpass 
%{_bindir}/parallax-askpass-%{py_ver}
 fi
 
 %files




commit python-parallax for openSUSE:Factory

2016-05-02 Thread h_root
Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2016-05-02 10:44:42

Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and  /work/SRC/openSUSE:Factory/.python-parallax.new (New)


Package is "python-parallax"

Changes:

--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2016-03-18 21:39:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-parallax.new/python-parallax.changes 
2016-05-02 10:44:43.0 +0200
@@ -1,0 +2,5 @@
+Wed Apr 27 08:49:44 UTC 2016 - kgronl...@suse.com
+
+- Fix broken package build for non-SUSE distributions 
+
+---



Other differences:
--
++ python-parallax.spec ++
--- /var/tmp/diff_new_pack.RnJi6M/_old  2016-05-02 10:44:43.0 +0200
+++ /var/tmp/diff_new_pack.RnJi6M/_new  2016-05-02 10:44:43.0 +0200
@@ -29,8 +29,8 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Requires:   openssh
 BuildArch:  noarch
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(post):   /usr/sbin/update-alternatives
+Requires(postun): /usr/sbin/update-alternatives
 
 %description
 Parallax SSH provides an interface to executing commands on multiple




commit python-parallax for openSUSE:Factory

2016-03-19 Thread h_root
Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2016-03-18 21:39:57

Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and  /work/SRC/openSUSE:Factory/.python-parallax.new (New)


Package is "python-parallax"

Changes:

--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2015-06-15 17:49:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-parallax.new/python-parallax.changes 
2016-03-18 21:39:58.0 +0100
@@ -1,0 +2,5 @@
+Mon Mar  7 08:48:52 UTC 2016 - kgronl...@suse.com
+
+- Add alternatives entry for parallax-askpass 
+
+---



Other differences:
--
++ python-parallax.spec ++
--- /var/tmp/diff_new_pack.3mTB47/_old  2016-03-18 21:39:59.0 +0100
+++ /var/tmp/diff_new_pack.3mTB47/_new  2016-03-18 21:39:59.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-parallax
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -28,11 +28,9 @@
 BuildRequires:  python-setuptools
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Requires:   openssh
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
-%endif
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 
 %description
 Parallax SSH provides an interface to executing commands on multiple
@@ -48,11 +46,28 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
+# create a dummy target for /etc/alternatives/parallax-askpass
+mv %{buildroot}%{_bindir}/parallax-askpass 
%{buildroot}%{_bindir}/parallax-askpass-%{py_ver}
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+touch %{buildroot}%{_sysconfdir}/alternatives/parallax-askpass
+ln -s -f %{_sysconfdir}/alternatives/parallax-askpass 
%{buildroot}%{_bindir}/parallax-askpass
+
+%post
+"%_sbindir/update-alternatives" --install \
+   /%{_bindir}/parallax-askpass parallax-askpass 
%{_bindir}/parallax-askpass-%{py_ver} 20
+
+%postun
+if [ "$1" = 0 ] ; then
+   "%_sbindir/update-alternatives" --remove parallax-askpass 
%{_bindir}/parallax-askpass-%{py_ver}
+fi
+
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS README.md COPYING
 %{python_sitelib}/parallax
 %{python_sitelib}/parallax-%{version}*.egg-info
 %{_bindir}/parallax-askpass
+%{_bindir}/parallax-askpass-%{py_ver}
+%ghost %_sysconfdir/alternatives/parallax-askpass
 
 %changelog




commit python-parallax for openSUSE:Factory

2015-06-15 Thread h_root
Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2015-06-15 17:49:40

Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and  /work/SRC/openSUSE:Factory/.python-parallax.new (New)


Package is python-parallax

Changes:

--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2015-02-18 12:08:52.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-parallax.new/python-parallax.changes 
2015-06-15 17:49:42.0 +0200
@@ -1,0 +2,8 @@
+Fri Jun 12 15:26:42 UTC 2015 - kgronl...@suse.com
+
+- Release 1.0.1
+  + The host list expander function was not unicode-safe (bsc#934594)
+  + Clean up and update documentation for Options.inline (#1)
+  + Fix python3 error using askpass option (krig/parallel-ssh#1)
+
+---

Old:

  parallax-1.0.0a3.tar.gz

New:

  parallax-1.0.1.tar.gz



Other differences:
--
++ python-parallax.spec ++
--- /var/tmp/diff_new_pack.ElIufF/_old  2015-06-15 17:49:43.0 +0200
+++ /var/tmp/diff_new_pack.ElIufF/_new  2015-06-15 17:49:43.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-parallax
-Version:1.0.0a3
+Version:1.0.1
 Release:0
 Summary:Execute commands and copy files over SSH to multiple machines 
at once
 License:BSD-3-Clause

++ parallax-1.0.0a3.tar.gz - parallax-1.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.0a3/PKG-INFO new/parallax-1.0.1/PKG-INFO
--- old/parallax-1.0.0a3/PKG-INFO   2015-02-12 17:45:29.0 +0100
+++ new/parallax-1.0.1/PKG-INFO 2015-06-12 17:24:21.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: parallax
-Version: 1.0.0a3
+Version: 1.0.1
 Summary: Execute commands and copy files over SSH to multiple machines at once
 Home-page: https://github.com/krig/parallax/
 Author: Kristoffer Gronlund
@@ -21,6 +21,8 @@
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.1
 Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: System :: Clustering
 Classifier: Topic :: System :: Networking
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.0a3/parallax/__init__.py 
new/parallax-1.0.1/parallax/__init__.py
--- old/parallax-1.0.0a3/parallax/__init__.py   2014-10-15 16:08:15.0 
+0200
+++ new/parallax-1.0.1/parallax/__init__.py 2015-06-12 17:05:57.0 
+0200
@@ -35,6 +35,12 @@
 from parallax.task import Task
 
 
+try:
+basestring
+except NameError:
+basestring = str
+
+
 class Error(BaseException):
 
 Returned instead of a result for a host
@@ -55,6 +61,12 @@
 class Options(object):
 
 Common options for call, copy and slurp.
+
+Note:
+Setting the inline or inline_stdout options prints the
+output to stdout unless an alternative manager callback
+has been set. inline is True by default. This is a change
+from pssh to parallax.
 
 limit = DEFAULT_PARALLELISM  # Max number of parallel threads
 timeout = DEFAULT_TIMEOUT# Timeout in seconds
@@ -80,7 +92,7 @@
 Output: list of (host, port, user)-tuples.
 
 def expand(v):
-if isinstance(v, str):
+if isinstance(v, basestring):
 return (v, None, None)
 elif len(v) == 1:
 return (v[0], None, None)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.0a3/parallax/askpass_server.py 
new/parallax-1.0.1/parallax/askpass_server.py
--- old/parallax-1.0.0a3/parallax/askpass_server.py 2014-10-15 
16:09:10.0 +0200
+++ new/parallax-1.0.1/parallax/askpass_server.py   2015-02-20 
17:02:50.0 +0100
@@ -62,7 +62,7 @@
 fd = conn.fileno()
 iomap.register_write(fd, self.handle_write)
 self.socketmap[fd] = conn
-self.buffermap[fd] = self.password
+self.buffermap[fd] = self.password.encode()
 
 def handle_write(self, fd, iomap):
 buffer = self.buffermap[fd]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.0a3/parallax/callbacks.py 
new/parallax-1.0.1/parallax/callbacks.py
--- old/parallax-1.0.0a3/parallax/callbacks.py  2014-12-24 17:04:19.0 
+0100
+++ new/parallax-1.0.1/parallax/callbacks.py2015-06-12 17:05:57.0 
+0200
@@ -37,14 +37,14 @@
 

commit python-parallax for openSUSE:Factory

2015-02-18 Thread h_root
Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2015-02-18 11:39:25

Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and  /work/SRC/openSUSE:Factory/.python-parallax.new (New)


Package is python-parallax

Changes:

--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2015-01-08 23:01:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-parallax.new/python-parallax.changes 
2015-02-18 12:08:52.0 +0100
@@ -1,0 +2,7 @@
+Thu Feb 12 16:47:44 UTC 2015 - kgronl...@suse.com
+
+- Release 1.0.0a3
+  - Be more accepting with format of limit argument
+  - Fix incorrect name of options attribute
+
+---

Old:

  parallax-1.0.0a2.tar.gz

New:

  parallax-1.0.0a3.tar.gz



Other differences:
--
++ python-parallax.spec ++
--- /var/tmp/diff_new_pack.OXwkPQ/_old  2015-02-18 12:08:52.0 +0100
+++ /var/tmp/diff_new_pack.OXwkPQ/_new  2015-02-18 12:08:52.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-parallax
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,12 +17,12 @@
 
 
 Name:   python-parallax
-Version:1.0.0a2
+Version:1.0.0a3
 Release:0
-License:BSD-3-Clause
 Summary:Execute commands and copy files over SSH to multiple machines 
at once
-Url:https://github.com/krig/parallax/
+License:BSD-3-Clause
 Group:  Development/Languages/Python
+Url:https://github.com/krig/parallax/
 Source: 
https://pypi.python.org/packages/source/p/parallax/parallax-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools

++ parallax-1.0.0a2.tar.gz - parallax-1.0.0a3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.0a2/AUTHORS new/parallax-1.0.0a3/AUTHORS
--- old/parallax-1.0.0a2/AUTHORS2014-10-15 15:40:04.0 +0200
+++ new/parallax-1.0.0a3/AUTHORS2015-02-12 17:42:26.0 +0100
@@ -1,3 +1,4 @@
 Andrew McNabb amcnabb at mcnabbs.org
 Brent Chun bnc at theether.org
-Kristoffer Gronlund krig at koru.se
\ No newline at end of file
+Kristoffer Gronlund krig at koru.se
+Vladislav Bogdanov bub...@hoster-ok.com
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.0a2/PKG-INFO 
new/parallax-1.0.0a3/PKG-INFO
--- old/parallax-1.0.0a2/PKG-INFO   2014-12-25 18:25:00.0 +0100
+++ new/parallax-1.0.0a3/PKG-INFO   2015-02-12 17:45:29.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: parallax
-Version: 1.0.0a2
+Version: 1.0.0a3
 Summary: Execute commands and copy files over SSH to multiple machines at once
 Home-page: https://github.com/krig/parallax/
 Author: Kristoffer Gronlund
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.0a2/README.md 
new/parallax-1.0.0a3/README.md
--- old/parallax-1.0.0a2/README.md  2014-10-15 17:30:41.0 +0200
+++ new/parallax-1.0.0a3/README.md  2014-12-25 18:53:06.0 +0100
@@ -73,4 +73,4 @@
 
   [pssh]: https://code.google.com/p/parallel-ssh/ parallel-ssh
   [ez]: http://peak.telecommunity.com/dist/ez_setup.py ez_setup.py
-  [obs]: 
https://build.opensuse.org/package/show/home:KGronlund/python-parallax 
OBS:python-parallax
+  [obs]: 
https://build.opensuse.org/package/show/devel:languages:python/python-parallax 
OBS:python-parallax
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.0a2/parallax/manager.py 
new/parallax-1.0.0a3/parallax/manager.py
--- old/parallax-1.0.0a2/parallax/manager.py2014-12-16 20:37:45.0 
+0100
+++ new/parallax-1.0.0a3/parallax/manager.py2015-02-12 17:40:11.0 
+0100
@@ -47,11 +47,28 @@
 # Backwards compatibility with old __init__
 # format: Only argument is an options dict
 if not isinstance(limit, int):
-self.limit = limit.par
-self.timeout = limit.timeout
-self.askpass = limit.askpass
-self.outdir = limit.outdir
-self.errdir = limit.errdir
+if hasattr(limit, 'limit'):
+self.limit = limit.limit
+elif hasattr(limit, 'par'):
+self.limit = limit.par
+else:
+self.limit = DEFAULT_PARALLELISM
+