commit python-neovim for openSUSE:Factory

2024-02-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-neovim for openSUSE:Factory 
checked in at 2024-02-18 20:24:38

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


Package is "python-neovim"

Sun Feb 18 20:24:38 2024 rev:19 rq:1147273 version:0.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes  
2024-01-03 12:23:48.652896672 +0100
+++ /work/SRC/openSUSE:Factory/.python-neovim.new.1815/python-neovim.changes
2024-02-18 20:25:14.926512094 +0100
@@ -1,0 +2,8 @@
+Fri Feb 16 20:50:09 UTC 2024 - Matej Cepl 
+
+- "Do not use %python_module for Requires"
+   (from 
https://en.opensuse.org/openSUSE:Packaging_Python#Requires,_Provides_and_similar)
+   Fixes bsc#1220005
+- Also, clean up the SPEC file a bit.
+
+---



Other differences:
--
++ python-neovim.spec ++
--- /var/tmp/diff_new_pack.khEro6/_old  2024-02-18 20:25:15.494532551 +0100
+++ /var/tmp/diff_new_pack.khEro6/_new  2024-02-18 20:25:15.498532694 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-neovim
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,33 +25,35 @@
 Group:  Productivity/Text/Editors
 URL:https://github.com/neovim/pynvim
 Source: 
https://github.com/neovim/%{modname}/archive/%{version}/%{modname}-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   neovim >= 0.9.0
+Requires:   python-greenlet
+Requires:   python-msgpack
+Provides:   python-nvim
+BuildArch:  noarch
 # SECTION test requirements
-BuildRequires:  %{python_module msgpack}
 BuildRequires:  %{python_module greenlet}
+BuildRequires:  %{python_module msgpack}
 BuildRequires:  neovim
 # /SECTION
-Requires:   neovim >= 0.9.0
-Requires:   %{python_module greenlet}
-Requires:   %{python_module msgpack}
-Provides:   python-nvim
-BuildArch:  noarch
 %python_subpackages
 
 %description
 Library for scripting Nvim processes through its msgpack-rpc API.
 
 %prep
-%autosetup -n %{modname}-%{version}
+%autosetup -p1 -n %{modname}-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -60,7 +62,7 @@
 %files %{python_files}
 %license LICENSE
 %doc README.md
-%{python_sitelib}/neovim/
-%{python_sitelib}/%{modname}/
-%{python_sitelib}/%{modname}-%{version}-*.egg-info/
+%{python_sitelib}/neovim
+%{python_sitelib}/%{modname}
+%{python_sitelib}/%{modname}-%{version}*-info
 


commit python-neovim for openSUSE:Factory

2024-01-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-neovim for openSUSE:Factory 
checked in at 2024-01-03 12:23:46

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


Package is "python-neovim"

Wed Jan  3 12:23:46 2024 rev:18 rq:1135605 version:0.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes  
2021-03-18 22:55:23.579560163 +0100
+++ /work/SRC/openSUSE:Factory/.python-neovim.new.28375/python-neovim.changes   
2024-01-03 12:23:48.652896672 +0100
@@ -1,0 +2,29 @@
+Thu Dec 28 11:53:21 UTC 2023 - Soc Virnyl Estela 

+
+- Remove deprecated python-rpm-macro definitions
+- Update to version 0.5.0:
+  * feat: Ex command ":py=" evaluate and print expression
+  * test: always use the same python regardless of $PATH
+  * packaging: Add pynvim.version attribute
+  * fix: ignore flaky OSError on windows
+  * fix: EOF error on piped stderr being closed on Windows
+  * fix: do not leak resources across tests so as to prevent side effects
+  * deps: Require greenlet >= 3.0 since it supports Python 3.12
+  * fix: broken dynamic import of rplugin modules
+  * fix: sphinx "invalid language code"
+  * fix: mypy type annotation warnings
+  * fix: sphinx "Unexpected indentation" warning
+  * fix: PEP 484 prohibits implicit Optional
+  * fix: undefined name 'original_find_module'
+  * fix(test): Unknown config option: timeout warning
+  * test_buffer: don't depend on version-dependent default values
+  * fix: imp module is deprecated
+  * Drop old python versions, add type annotations
+  * docs: python 2 is not supported
+  * test: update 'define' option default
+  * refactor: remove usage of imp
+  * packaging: conform to PEP 517 guidelines
+  * fix: vim.eval('v:true') should return python bool
+  * fix the first call to sync functions returning null
+
+---

Old:

  pynvim-0.4.3.tar.gz

New:

  pynvim-0.5.0.tar.gz



Other differences:
--
++ python-neovim.spec ++
--- /var/tmp/diff_new_pack.28ufnB/_old  2024-01-03 12:23:49.252918601 +0100
+++ /var/tmp/diff_new_pack.28ufnB/_new  2024-01-03 12:23:49.252918601 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-neovim
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,8 @@
 
 
 %define modname pynvim
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%if 0%{?rhel} >= 7
-%define python_module() python34-%{**}
-%endif
 Name:   python-neovim
-Version:0.4.3
+Version:0.5.0
 Release:0
 Summary:Python client to Neovim
 License:Apache-2.0
@@ -38,9 +34,9 @@
 BuildRequires:  %{python_module greenlet}
 BuildRequires:  neovim
 # /SECTION
-Requires:   neovim >= 0.1.6
-Requires:   python-greenlet
-Requires:   python-msgpack-python
+Requires:   neovim >= 0.9.0
+Requires:   %{python_module greenlet}
+Requires:   %{python_module msgpack}
 Provides:   python-nvim
 BuildArch:  noarch
 %python_subpackages

++ pynvim-0.4.3.tar.gz -> pynvim-0.5.0.tar.gz ++
 4492 lines of diff (skipped)


commit python-neovim for openSUSE:Factory

2021-03-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-neovim for openSUSE:Factory 
checked in at 2021-03-18 22:55:21

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


Package is "python-neovim"

Thu Mar 18 22:55:21 2021 rev:17 rq:879884 version:0.4.3

Changes:

--- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes  
2020-11-05 21:56:38.463951997 +0100
+++ /work/SRC/openSUSE:Factory/.python-neovim.new.2401/python-neovim.changes
2021-03-18 22:55:23.579560163 +0100
@@ -1,0 +2,6 @@
+Thu Mar 18 10:37:00 UTC 2021 - Matej Cepl 
+
+- Update to 0.4.3:
+  - Detect encoding correctly on non-standard locales
+
+---

Old:

  pynvim-0.4.2.tar.gz

New:

  pynvim-0.4.3.tar.gz



Other differences:
--
++ python-neovim.spec ++
--- /var/tmp/diff_new_pack.uumogx/_old  2021-03-18 22:55:24.099560725 +0100
+++ /var/tmp/diff_new_pack.uumogx/_new  2021-03-18 22:55:24.099560725 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-neovim
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 %define python_module() python34-%{**}
 %endif
 Name:   python-neovim
-Version:0.4.2
+Version:0.4.3
 Release:0
 Summary:Python client to Neovim
 License:Apache-2.0
@@ -33,6 +33,11 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+# SECTION test requirements
+BuildRequires:  %{python_module msgpack}
+BuildRequires:  %{python_module greenlet}
+BuildRequires:  neovim
+# /SECTION
 Requires:   neovim >= 0.1.6
 Requires:   python-greenlet
 Requires:   python-msgpack-python
@@ -53,6 +58,9 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+%pytest
+
 %files %{python_files}
 %license LICENSE
 %doc README.md

++ pynvim-0.4.2.tar.gz -> pynvim-0.4.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pynvim-0.4.2/pynvim/plugin/script_host.py 
new/pynvim-0.4.3/pynvim/plugin/script_host.py
--- old/pynvim-0.4.2/pynvim/plugin/script_host.py   2020-09-15 
14:11:11.0 +0200
+++ new/pynvim-0.4.3/pynvim/plugin/script_host.py   2021-02-25 
16:18:50.0 +0100
@@ -100,7 +100,7 @@
 def python_execute_file(self, file_path, range_start, range_stop):
 """Handle the `pyfile` ex command."""
 self._set_current_range(range_start, range_stop)
-with open(file_path) as f:
+with open(file_path, 'rb') as f:
 script = compile(f.read(), file_path, 'exec')
 try:
 exec(script, self.module.__dict__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pynvim-0.4.2/pynvim/util.py 
new/pynvim-0.4.3/pynvim/util.py
--- old/pynvim-0.4.2/pynvim/util.py 2020-09-15 14:11:11.0 +0200
+++ new/pynvim-0.4.3/pynvim/util.py 2021-02-25 16:18:50.0 +0100
@@ -39,4 +39,4 @@
 return (name, VERSION.__dict__, type_, method_spec, attributes)
 
 
-VERSION = Version(major=0, minor=4, patch=2, prerelease='')
+VERSION = Version(major=0, minor=4, patch=3, prerelease='')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pynvim-0.4.2/setup.py new/pynvim-0.4.3/setup.py
--- old/pynvim-0.4.2/setup.py   2020-09-15 14:11:11.0 +0200
+++ new/pynvim-0.4.3/setup.py   2021-02-25 16:18:50.0 +0100
@@ -35,10 +35,10 @@
 install_requires.append('greenlet')
 
 setup(name='pynvim',
-  version='0.4.2',
+  version='0.4.3',
   description='Python client to neovim',
   url='http://github.com/neovim/pynvim',
-  download_url='https://github.com/neovim/pynvim/archive/0.4.2.tar.gz',
+  download_url='https://github.com/neovim/pynvim/archive/0.4.3.tar.gz',
   author='Thiago de Arruda',
   author_email='tpadilh...@gmail.com',
   license='Apache',