Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-neovim-remote for
openSUSE:Factory checked in at 2022-05-20 17:51:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-neovim-remote (Old)
and /work/SRC/openSUSE:Factory/.python-neovim-remote.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-neovim-remote"
Fri May 20 17:51:04 2022 rev:8 rq:978257 version:2.5.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-neovim-remote/python-neovim-remote.changes
2022-05-09 18:45:35.856312622 +0200
+++
/work/SRC/openSUSE:Factory/.python-neovim-remote.new.1538/python-neovim-remote.changes
2022-05-20 17:52:04.839299992 +0200
@@ -1,0 +2,8 @@
+Fri May 20 09:54:09 UTC 2022 - Matej Cepl <[email protected]>
+
+- Upgrade to 2.5.1:
+ - Fix bad def naming
+ - Use tcp address on Windows
+ - Fix $NVR_CMD (#179)
+
+-------------------------------------------------------------------
Old:
----
neovim-remote-2.5.0.tar.gz
New:
----
neovim-remote-2.5.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-neovim-remote.spec ++++++
--- /var/tmp/diff_new_pack.D6hS4P/_old 2022-05-20 17:52:05.363300469 +0200
+++ /var/tmp/diff_new_pack.D6hS4P/_new 2022-05-20 17:52:05.371300477 +0200
@@ -20,7 +20,7 @@
%define skip_python2 1
%define modname neovim-remote
Name: python-neovim-remote
-Version: 2.5.0
+Version: 2.5.1
Release: 0
Summary: Neovim process control utility
License: MIT
++++++ neovim-remote-2.5.0.tar.gz -> neovim-remote-2.5.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/neovim-remote-2.5.0/PKG-INFO
new/neovim-remote-2.5.1/PKG-INFO
--- old/neovim-remote-2.5.0/PKG-INFO 2022-05-06 21:40:09.078459500 +0200
+++ new/neovim-remote-2.5.1/PKG-INFO 2022-05-19 17:49:28.622353800 +0200
@@ -1,13 +1,12 @@
Metadata-Version: 2.1
Name: neovim-remote
-Version: 2.5.0
+Version: 2.5.1
Summary: Control nvim processes using "nvr" commandline tool
Home-page: https://github.com/mhinz/neovim-remote
Author: Marco Hinz
Author-email: [email protected]
License: MIT
Keywords: neovim nvim nvr remote helper
-Platform: UNKNOWN
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 5 - Production/Stable
@@ -320,5 +319,3 @@
If you want auto-completion for fish, you can add [this
file](contrib/completion.fish) to your fish completions dir.
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/neovim-remote-2.5.0/neovim_remote.egg-info/PKG-INFO
new/neovim-remote-2.5.1/neovim_remote.egg-info/PKG-INFO
--- old/neovim-remote-2.5.0/neovim_remote.egg-info/PKG-INFO 2022-05-06
21:40:08.000000000 +0200
+++ new/neovim-remote-2.5.1/neovim_remote.egg-info/PKG-INFO 2022-05-19
17:49:28.000000000 +0200
@@ -1,13 +1,12 @@
Metadata-Version: 2.1
Name: neovim-remote
-Version: 2.5.0
+Version: 2.5.1
Summary: Control nvim processes using "nvr" commandline tool
Home-page: https://github.com/mhinz/neovim-remote
Author: Marco Hinz
Author-email: [email protected]
License: MIT
Keywords: neovim nvim nvr remote helper
-Platform: UNKNOWN
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 5 - Production/Stable
@@ -320,5 +319,3 @@
If you want auto-completion for fish, you can add [this
file](contrib/completion.fish) to your fish completions dir.
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/neovim-remote-2.5.0/nvr/nvr.py
new/neovim-remote-2.5.1/nvr/nvr.py
--- old/neovim-remote-2.5.0/nvr/nvr.py 2022-05-06 21:32:23.000000000 +0200
+++ new/neovim-remote-2.5.1/nvr/nvr.py 2022-05-19 17:47:06.000000000 +0200
@@ -56,14 +56,14 @@
pass
def try_attach(self, args, nvr, options, arguments):
- for i in range(10):
- self.attach()
- if self.server:
- self.started_new_process = True
- return main2(nvr, options, arguments)
- time.sleep(0.2)
- print(f'[!] Unable to attach to the new nvim process. Is `{"
".join(args)}` working?')
- sys.exit(1)
+ for i in range(10):
+ self.attach()
+ if self.server:
+ self.started_new_process = True
+ return proceed_after_attach(nvr, options, arguments)
+ time.sleep(0.2)
+ print(f'[!] Unable to attach to the new nvim process. Is `{"
".join(args)}` working?')
+ sys.exit(1)
def execute_new_nvim_process(self, silent, nvr, options, arguments):
if not silent:
@@ -73,14 +73,16 @@
Use --nostart to avoid starting a new process.
'''))
- arg0 = os.environ.get('NVR_CMD') or 'nvim'
+ args = os.environ.get('NVR_CMD')
+ args = args.split(' ') if args else ['nvim']
+ args.extend(['--listen', self.address])
- multiprocessing.Process(target=self.try_attach, args=([arg0], nvr,
options, arguments)).start()
+ multiprocessing.Process(target=self.try_attach, args=(args[0], nvr,
options, arguments)).start()
try:
- os.execvpe(arg0, [arg0, '--listen', self.address], os.environ)
+ os.execvpe(args[0], args, os.environ)
except FileNotFoundError:
- print(f'[!] Can\'t start new nvim process: `{arg0}` is not in
$PATH.')
+ print(f'[!] Can\'t start new nvim process: `{args[0]}` is not in
$PATH.')
sys.exit(1)
def read_stdin_into_buffer(self, cmd):
@@ -414,7 +416,10 @@
print_addresses()
return
- address = options.servername or env.get('NVIM') or
env.get('NVIM_LISTEN_ADDRESS') or '/tmp/nvimsocket'
+ address = options.servername or env.get('NVIM') or
env.get('NVIM_LISTEN_ADDRESS')
+ if not address:
+ # Since before build 17063 windows doesn't support unix socket, we
need another way
+ address = '127.0.0.1:6789' if os.name == 'nt' else '/tmp/nvimsocket'
nvr = Nvr(address, options.s)
nvr.attach()
@@ -436,10 +441,10 @@
sys.exit(1)
nvr.execute_new_nvim_process(silent, nvr, options, arguments)
- main2(nvr, options, arguments)
+ proceed_after_attach(nvr, options, arguments)
-def main2(nvr, options, arguments):
+def proceed_after_attach(nvr, options, arguments):
if options.d:
nvr.diffmode = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/neovim-remote-2.5.0/setup.py
new/neovim-remote-2.5.1/setup.py
--- old/neovim-remote-2.5.0/setup.py 2022-05-06 21:39:34.000000000 +0200
+++ new/neovim-remote-2.5.1/setup.py 2022-05-19 17:48:15.000000000 +0200
@@ -20,7 +20,7 @@
'console_scripts': ['nvr = nvr.nvr:main']
},
packages = ['nvr'],
- version = '2.5.0',
+ version = '2.5.1',
license = 'MIT',
keywords = 'neovim nvim nvr remote helper',
classifiers = [