Hello community, here is the log from the commit of package python-neovim-remote for openSUSE:Factory checked in at 2019-12-05 17:34:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-neovim-remote (Old) and /work/SRC/openSUSE:Factory/.python-neovim-remote.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-neovim-remote" Thu Dec 5 17:34:02 2019 rev:5 rq:754206 version:2.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-neovim-remote/python-neovim-remote.changes 2019-11-24 00:46:53.775300544 +0100 +++ /work/SRC/openSUSE:Factory/.python-neovim-remote.new.4691/python-neovim-remote.changes 2019-12-05 17:34:25.141447499 +0100 @@ -1,0 +2,7 @@ +Thu Dec 5 01:31:44 CET 2019 - Matej Cepl <mc...@suse.com> + +- Upgade to 2.4.0: + - various plays with build requirements, back and forth. + - improved support for IPv6 + +------------------------------------------------------------------- Old: ---- neovim-remote-2.3.2.tar.gz New: ---- neovim-remote-2.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-neovim-remote.spec ++++++ --- /var/tmp/diff_new_pack.5mHhXJ/_old 2019-12-05 17:34:25.893447392 +0100 +++ /var/tmp/diff_new_pack.5mHhXJ/_new 2019-12-05 17:34:25.897447392 +0100 @@ -20,7 +20,7 @@ %define skip_python2 1 %define modname neovim-remote Name: python-neovim-remote -Version: 2.3.2 +Version: 2.4.0 Release: 0 Summary: Neovim process control utility License: MIT ++++++ neovim-remote-2.3.2.tar.gz -> neovim-remote-2.4.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/neovim-remote-2.3.2/PKG-INFO new/neovim-remote-2.4.0/PKG-INFO --- old/neovim-remote-2.3.2/PKG-INFO 2019-11-22 20:03:17.000000000 +0100 +++ new/neovim-remote-2.4.0/PKG-INFO 2019-11-29 16:37:59.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: neovim-remote -Version: 2.3.2 +Version: 2.4.0 Summary: Control nvim processes using "nvr" commandline tool Home-page: https://github.com/mhinz/neovim-remote Author: Marco Hinz diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/neovim-remote-2.3.2/neovim_remote.egg-info/PKG-INFO new/neovim-remote-2.4.0/neovim_remote.egg-info/PKG-INFO --- old/neovim-remote-2.3.2/neovim_remote.egg-info/PKG-INFO 2019-11-22 20:03:17.000000000 +0100 +++ new/neovim-remote-2.4.0/neovim_remote.egg-info/PKG-INFO 2019-11-29 16:37:59.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: neovim-remote -Version: 2.3.2 +Version: 2.4.0 Summary: Control nvim processes using "nvr" commandline tool Home-page: https://github.com/mhinz/neovim-remote Author: Marco Hinz diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/neovim-remote-2.3.2/neovim_remote.egg-info/requires.txt new/neovim-remote-2.4.0/neovim_remote.egg-info/requires.txt --- old/neovim-remote-2.3.2/neovim_remote.egg-info/requires.txt 2019-11-22 20:03:17.000000000 +0100 +++ new/neovim-remote-2.4.0/neovim_remote.egg-info/requires.txt 2019-11-29 16:37:59.000000000 +0100 @@ -1,3 +1,3 @@ -neovim +pynvim psutil setuptools diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/neovim-remote-2.3.2/nvr/nvr.py new/neovim-remote-2.4.0/nvr/nvr.py --- old/neovim-remote-2.3.2/nvr/nvr.py 2019-11-22 20:02:58.000000000 +0100 +++ new/neovim-remote-2.4.0/nvr/nvr.py 2019-11-29 16:37:41.000000000 +0100 @@ -23,15 +23,15 @@ """ import argparse -import pynvim import os -import psutil import re import sys import textwrap import time import traceback +import psutil +import pynvim class Nvr(): def __init__(self, address, silent=False): @@ -355,24 +355,35 @@ return cmds, files -def print_sockaddrs(): - sockaddrs = [] +def print_versions(): + import pkg_resources + print('nvr {}'.format(pkg_resources.require('neovim-remote')[0].version)) + print('pynvim {}'.format(pkg_resources.require('pynvim')[0].version)) + print('psutil {}'.format(pkg_resources.require('psutil')[0].version)) + print('Python {}'.format(sys.version.split('\n')[0])) + + +def print_addresses(): + addresses = [] + errors = [] - for proc in psutil.process_iter(): - if proc.name() == 'nvim': + for proc in psutil.process_iter(attrs=['name']): + if proc.info['name'] == 'nvim': try: for conn in proc.connections('inet4'): - sockaddrs.insert(0, ':'.join(map(str, conn.laddr))) + addresses.insert(0, ':'.join(map(str, conn.laddr))) for conn in proc.connections('inet6'): - sockaddrs.insert(0, ':'.join(map(str, conn.laddr))) + addresses.insert(0, ':'.join(map(str, conn.laddr))) for conn in proc.connections('unix'): if conn.laddr: - sockaddrs.insert(0, conn.laddr) + addresses.insert(0, conn.laddr) except psutil.AccessDenied: - sockaddrs.insert(0, 'Access denied for nvim ({})'.format(proc.pid)) + errors.insert(0, 'Access denied for nvim ({})'.format(proc.pid)) - for addr in sorted(sockaddrs): + for addr in sorted(addresses): print(addr) + for error in sorted(errors): + print(error, file=sys.stderr) def parse_address(address): @@ -389,13 +400,11 @@ options, arguments = parse_args(argv) if options.version: - import pkg_resources - version = pkg_resources.require('neovim-remote')[0].version - print('nvr {}'.format(version)) + print_versions() return if options.serverlist: - print_sockaddrs() + print_addresses() return address = options.servername or env.get('NVIM_LISTEN_ADDRESS') or '/tmp/nvimsocket' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/neovim-remote-2.3.2/setup.py new/neovim-remote-2.4.0/setup.py --- old/neovim-remote-2.3.2/setup.py 2019-11-22 20:02:58.000000000 +0100 +++ new/neovim-remote-2.4.0/setup.py 2019-11-29 16:37:41.000000000 +0100 @@ -15,12 +15,12 @@ long_description = long_description, long_description_content_type = 'text/markdown', python_requires = '>=3.5', - install_requires = ['neovim', 'psutil', 'setuptools'], + install_requires = ['pynvim', 'psutil', 'setuptools'], entry_points = { 'console_scripts': ['nvr = nvr.nvr:main'] }, packages = ['nvr'], - version = '2.3.2', + version = '2.4.0', license = 'MIT', keywords = 'neovim nvim nvr remote helper', classifiers = [