commit python-xonsh for openSUSE:Factory

2020-09-04 Thread root
Hello community,

here is the log from the commit of package python-xonsh for openSUSE:Factory 
checked in at 2020-09-04 11:02:14

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


Package is "python-xonsh"

Fri Sep  4 11:02:14 2020 rev:7 rq:830708 version:0.9.20

Changes:

--- /work/SRC/openSUSE:Factory/python-xonsh/python-xonsh.changes
2020-08-01 12:29:36.106368267 +0200
+++ /work/SRC/openSUSE:Factory/.python-xonsh.new.3399/python-xonsh.changes  
2020-09-04 11:03:02.926749903 +0200
@@ -1,0 +2,8 @@
+Mon Aug 31 08:56:51 UTC 2020 - Tomáš Chvátal 
+
+- Update to 0.9.20:
+  * Many bugfixes around
+- Add patch to fix tests:
+  * vox-tests.patch
+
+---

Old:

  xonsh-0.9.18.tar.gz

New:

  vox-tests.patch
  xonsh-0.9.20.tar.gz



Other differences:
--
++ python-xonsh.spec ++
--- /var/tmp/diff_new_pack.goSSIr/_old  2020-09-04 11:03:04.978751002 +0200
+++ /var/tmp/diff_new_pack.goSSIr/_new  2020-09-04 11:03:04.982751005 +0200
@@ -19,12 +19,13 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-xonsh
-Version:0.9.18
+Version:0.9.20
 Release:0
 Summary:Python-powered, cross-platform, Unix-gazing shell
 License:BSD-2-Clause
 URL:https://github.com/xonsh/xonsh
 Source: 
https://files.pythonhosted.org/packages/source/x/xonsh/xonsh-%{version}.tar.gz
+Patch0: vox-tests.patch
 BuildRequires:  %{python_module distro}
 BuildRequires:  %{python_module importlib_resources}
 BuildRequires:  %{python_module prompt_toolkit >= 2.0}
@@ -54,6 +55,13 @@
 
 %prep
 %setup -q -n xonsh-%{version}
+%autopatch -p1
+
+# remove bundled prompt_toolkit
+rm -r xonsh/vended_ptk/
+
+# do not run flake8 check
+sed -i -e '/python -m flake8/d' run-tests.xsh
 
 %build
 %python_build
@@ -70,7 +78,7 @@
 # test_man_completion needs installed manpages
 # test_xonsh_no_close_fds the makefile fails to compile
 %{python_expand export PYTHONPATH=":%{buildroot}%{$python_sitelib}"
-$python -m xonsh run-tests.xsh -k 'not (test_man_completion or 
test_xonsh_no_close_fds)'}
+$python -m xonsh run-tests.xsh -v -k 'not (test_man_completion or 
test_xonsh_no_close_fds)'}
 
 %post
 %python_install_alternative xonsh-cat

++ vox-tests.patch ++
>From 00aeb7645af97134495cc6bc5fe2f41922df8676 Mon Sep 17 00:00:00 2001
From: David Strobach 
Date: Sat, 29 Aug 2020 16:39:14 +0200
Subject: [PATCH] tests: Add VIRTUAL_ENV key to DummyEnv

Needed by test_vox.py.
---
 tests/tools.py | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/tools.py b/tests/tools.py
index 651cb6db4..d27c16705 100644
--- a/tests/tools.py
+++ b/tests/tools.py
@@ -106,7 +106,11 @@ def flush(self, *args, **kwargs):
 
 class DummyEnv(MutableMapping):
 
-DEFAULTS = {"XONSH_DEBUG": 1, "XONSH_COLOR_STYLE": "default"}
+DEFAULTS = {
+"XONSH_DEBUG": 1,
+"XONSH_COLOR_STYLE": "default",
+"VIRTUAL_ENV": "",
+}
 
 def __init__(self, *args, **kwargs):
 self._d = self.DEFAULTS.copy()
++ xonsh-0.9.18.tar.gz -> xonsh-0.9.20.tar.gz ++
 60369 lines of diff (skipped)




commit python-xonsh for openSUSE:Factory

2020-08-01 Thread root
Hello community,

here is the log from the commit of package python-xonsh for openSUSE:Factory 
checked in at 2020-08-01 12:29:16

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


Package is "python-xonsh"

Sat Aug  1 12:29:16 2020 rev:6 rq:822101 version:0.9.18

Changes:

--- /work/SRC/openSUSE:Factory/python-xonsh/python-xonsh.changes
2020-06-26 21:44:41.813687705 +0200
+++ /work/SRC/openSUSE:Factory/.python-xonsh.new.3592/python-xonsh.changes  
2020-08-01 12:29:36.106368267 +0200
@@ -1,0 +2,9 @@
+Tue Jul 21 11:38:00 UTC 2020 - Marketa Calabkova 
+
+- update to 0.9.18
+  * Support package prompt-toolkit V3 as well as V2 in prompt_toolkit shell.
+  * $SHELL_TYPE "prompt_toolkit" with any suffix creates the "prompt_toolkit" 
+shell, requires package prompt-toolkit >= 2.0
+  * minor changes and fixes
+
+---
@@ -16 +25 @@
-- Update to 0.9.1&:
+- Update to 0.9.17:

Old:

  xonsh-0.9.17.tar.gz

New:

  xonsh-0.9.18.tar.gz



Other differences:
--
++ python-xonsh.spec ++
--- /var/tmp/diff_new_pack.D9HgLD/_old  2020-08-01 12:29:39.418371367 +0200
+++ /var/tmp/diff_new_pack.D9HgLD/_new  2020-08-01 12:29:39.422371371 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-xonsh
-Version:0.9.17
+Version:0.9.18
 Release:0
 Summary:Python-powered, cross-platform, Unix-gazing shell
 License:BSD-2-Clause
@@ -27,7 +27,7 @@
 Source: 
https://files.pythonhosted.org/packages/source/x/xonsh/xonsh-%{version}.tar.gz
 BuildRequires:  %{python_module distro}
 BuildRequires:  %{python_module importlib_resources}
-BuildRequires:  %{python_module prompt_toolkit}
+BuildRequires:  %{python_module prompt_toolkit >= 2.0}
 BuildRequires:  %{python_module pygments >= 2.2}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setproctitle}
@@ -40,7 +40,7 @@
 Requires:   python
 Requires:   python-distro
 Requires:   python-importlib_resources
-Requires:   python-prompt_toolkit
+Requires:   python-prompt_toolkit >= 2.0
 Requires:   python-pygments >= 2.2
 Requires:   python-setproctitle
 Requires(post): update-alternatives

++ xonsh-0.9.17.tar.gz -> xonsh-0.9.18.tar.gz ++
 4970 lines of diff (skipped)




commit python-xonsh for openSUSE:Factory

2020-06-26 Thread root
Hello community,

here is the log from the commit of package python-xonsh for openSUSE:Factory 
checked in at 2020-06-26 21:44:40

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


Package is "python-xonsh"

Fri Jun 26 21:44:40 2020 rev:5 rq:816790 version:0.9.17

Changes:

--- /work/SRC/openSUSE:Factory/python-xonsh/python-xonsh.changes
2020-05-28 09:06:43.523592174 +0200
+++ /work/SRC/openSUSE:Factory/.python-xonsh.new.3060/python-xonsh.changes  
2020-06-26 21:44:41.813687705 +0200
@@ -1,0 +2,7 @@
+Tue Jun 23 19:56:57 UTC 2020 - Benjamin Greiner 
+
+- add local source dir to PYTHONPATH gh#openSUSE/python-rpm-macros#48 
+- switch to upstreams way of running the tests (%pytest fails without
+  extra workarounds, see gh#xonsh/xonsh#3633)
+
+---



Other differences:
--
++ python-xonsh.spec ++
--- /var/tmp/diff_new_pack.tPAjhm/_old  2020-06-26 21:44:42.773690778 +0200
+++ /var/tmp/diff_new_pack.tPAjhm/_new  2020-06-26 21:44:42.777690791 +0200
@@ -69,7 +69,8 @@
 export PATH=$PATH:%{buildroot}%{_bindir}
 # test_man_completion needs installed manpages
 # test_xonsh_no_close_fds the makefile fails to compile
-%pytest -k 'not (test_man_completion or test_xonsh_no_close_fds)'
+%{python_expand export PYTHONPATH=":%{buildroot}%{$python_sitelib}"
+$python -m xonsh run-tests.xsh -k 'not (test_man_completion or 
test_xonsh_no_close_fds)'}
 
 %post
 %python_install_alternative xonsh-cat




commit python-xonsh for openSUSE:Factory

2020-05-28 Thread root
Hello community,

here is the log from the commit of package python-xonsh for openSUSE:Factory 
checked in at 2020-05-28 09:06:40

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


Package is "python-xonsh"

Thu May 28 09:06:40 2020 rev:4 rq:805900 version:0.9.17

Changes:

--- /work/SRC/openSUSE:Factory/python-xonsh/python-xonsh.changes
2020-04-18 00:29:01.653878019 +0200
+++ /work/SRC/openSUSE:Factory/.python-xonsh.new.3606/python-xonsh.changes  
2020-05-28 09:06:43.523592174 +0200
@@ -1,0 +2,5 @@
+Fri May 15 12:55:14 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-xonsh.spec ++
--- /var/tmp/diff_new_pack.vjDBzS/_old  2020-05-28 09:06:44.339594621 +0200
+++ /var/tmp/diff_new_pack.vjDBzS/_new  2020-05-28 09:06:44.343594633 +0200
@@ -43,6 +43,8 @@
 Requires:   python-prompt_toolkit
 Requires:   python-pygments >= 2.2
 Requires:   python-setproctitle
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
 %python_subpackages
 
@@ -58,6 +60,9 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/xonsh-cat
+%python_clone -a %{buildroot}%{_bindir}/xonsh
+%python_clone -a %{buildroot}%{_bindir}/xon.sh
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -66,12 +71,22 @@
 # test_xonsh_no_close_fds the makefile fails to compile
 %pytest -k 'not (test_man_completion or test_xonsh_no_close_fds)'
 
+%post
+%python_install_alternative xonsh-cat
+%python_install_alternative xonsh
+%python_install_alternative xon.sh
+
+%postun
+%python_uninstall_alternative xonsh-cat
+%python_uninstall_alternative xonsh
+%python_uninstall_alternative xon.sh
+
 %files %{python_files}
 %doc README.rst CHANGELOG.rst
 %license license
 %{python_sitelib}/*
-%python3_only %{_bindir}/xon.sh
-%python3_only %{_bindir}/xonsh
-%python3_only %{_bindir}/xonsh-cat
+%python_alternative %{_bindir}/xon.sh
+%python_alternative %{_bindir}/xonsh
+%python_alternative %{_bindir}/xonsh-cat
 
 %changelog




commit python-xonsh for openSUSE:Factory

2020-03-24 Thread root
Hello community,

here is the log from the commit of package python-xonsh for openSUSE:Factory 
checked in at 2020-03-24 22:37:26

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


Package is "python-xonsh"

Tue Mar 24 22:37:26 2020 rev:2 rq:787855 version:0.9.15

Changes:

--- /work/SRC/openSUSE:Factory/python-xonsh/python-xonsh.changes
2020-03-17 13:07:52.797694598 +0100
+++ /work/SRC/openSUSE:Factory/.python-xonsh.new.3160/python-xonsh.changes  
2020-03-24 22:39:02.253284639 +0100
@@ -1,0 +2,26 @@
+Tue Mar 24 15:07:37 UTC 2020 - pgaj...@suse.com
+
+- version update to 0.9.15
+  **Added:**
+  * Adds documentation for how to setup an emacs editing mode for xonsh.
+  * New ``$XONSH_TRACE_SUBPROC`` environment variable.
+  * Added ``-l``, ``-c`` and ``-a`` options to ``xexec``, works now like 
``exec``
+in bash/zsh
+  * **$HISTCONTROL** - *errordups* support for history-sqlite backend
+  **Changed:**
+  * ``-l`` switch works like bash, loads environment in non-interactive shell
+  * The xonsh pytest plugin no longer messes up the test order for pytest. Xsh 
test
+are still executed first to avoid a bug were other tests would prevent 
``test_*.xsh``
+files to run correctly.
+  * New repo name for xxh
+  **Fixed:**
+  * Correctly follow symlinks when using dot-dot paths with cd -P.
+  * ``execx`` does not require the input string to be newline-terminated.
+  * ``evalx`` accepts newline-terminated input string.
+  * Fixed issue where negative exit codes (such as those produced
+by core dumps) where treated as logical successes when chaining
+processes with other boolean expressions.
+  * Fixed XONSH_TRACE_SUBPROC for pipeline command.
+  * updated CONTRIBUTING.rst about running pylint for changed files
+
+---

Old:

  xonsh-0.9.14.tar.gz

New:

  xonsh-0.9.15.tar.gz



Other differences:
--
++ python-xonsh.spec ++
--- /var/tmp/diff_new_pack.Ivz2kS/_old  2020-03-24 22:39:03.445285218 +0100
+++ /var/tmp/diff_new_pack.Ivz2kS/_new  2020-03-24 22:39:03.445285218 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-xonsh
-Version:0.9.14
+Version:0.9.15
 Release:0
 Summary:Python-powered, cross-platform, Unix-gazing shell
 License:BSD-2-Clause

++ xonsh-0.9.14.tar.gz -> xonsh-0.9.15.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xonsh-0.9.14/CHANGELOG.rst 
new/xonsh-0.9.15/CHANGELOG.rst
--- old/xonsh-0.9.14/CHANGELOG.rst  2020-02-28 22:07:39.0 +0100
+++ new/xonsh-0.9.15/CHANGELOG.rst  2020-03-19 21:38:46.0 +0100
@@ -4,6 +4,51 @@
 
 .. current developments
 
+v0.9.15
+
+
+**Added:**
+
+* Adds documentation for how to setup an emacs editing mode for xonsh.
+* New ``$XONSH_TRACE_SUBPROC`` environment variable.
+* Added ``-l``, ``-c`` and ``-a`` options to ``xexec``, works now like ``exec``
+  in bash/zsh
+* **$HISTCONTROL** - *errordups* support for history-sqlite backend
+
+**Changed:**
+
+* ``-l`` switch works like bash, loads environment in non-interactive shell
+* The xonsh pytest plugin no longer messes up the test order for pytest. Xsh 
test
+  are still executed first to avoid a bug were other tests would prevent 
``test_*.xsh`` 
+  files to run correctly.
+* New repo name for xxh
+
+**Fixed:**
+
+* Correctly follow symlinks when using dot-dot paths with cd -P.
+* ``execx`` does not require the input string to be newline-terminated.
+* ``evalx`` accepts newline-terminated input string.
+* Fixed issue where negative exit codes (such as those produced
+  by core dumps) where treated as logical successes when chaining
+  processes with other boolean expressions.
+* Fixed XONSH_TRACE_SUBPROC for pipeline command.
+* updated CONTRIBUTING.rst about running pylint for changed files
+
+**Authors:**
+
+* Anthony Scopatz
+* Morten Enemark Lund
+* David Strobach
+* anki-code
+* Samuel Lotz
+* Gyuri Horak
+* Noortheen Raja
+* Gabriel Vogel
+* anki
+* Jerzy Drozdz
+
+
+
 v0.9.14
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xonsh-0.9.14/PKG-INFO new/xonsh-0.9.15/PKG-INFO
--- old/xonsh-0.9.14/PKG-INFO   2020-02-28 22:12:08.0 +0100
+++ new/xonsh-0.9.15/PKG-INFO   2020-03-19 21:41:58.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: xonsh
-Version: 0.9.14
+Version: 0.9.15
 Summary: Python-powered, cross-platform, Unix-gazing shell
 Home-page: https://github.com/xonsh/xonsh
 Author: Anth