Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-userpath for openSUSE:Factory 
checked in at 2023-12-13 18:36:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-userpath (Old)
 and      /work/SRC/openSUSE:Factory/.python-userpath.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-userpath"

Wed Dec 13 18:36:07 2023 rev:6 rq:1132842 version:1.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-userpath/python-userpath.changes  
2023-08-10 15:34:56.048550579 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-userpath.new.25432/python-userpath.changes   
    2023-12-13 18:36:20.697469062 +0100
@@ -1,0 +2,7 @@
+Wed Dec 13 10:21:39 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 1.9.1:
+  * Temporarily revert the change on non-Windows systems where
+    only login shells are modified
+
+-------------------------------------------------------------------

Old:
----
  userpath-1.9.0.tar.gz

New:
----
  userpath-1.9.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-userpath.spec ++++++
--- /var/tmp/diff_new_pack.NuBZ5G/_old  2023-12-13 18:36:21.245489310 +0100
+++ /var/tmp/diff_new_pack.NuBZ5G/_new  2023-12-13 18:36:21.245489310 +0100
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-userpath
-Version:        1.9.0
+Version:        1.9.1
 Release:        0
 Summary:        Tool for adding locations to the user PATH
 License:        MIT

++++++ userpath-1.9.0.tar.gz -> userpath-1.9.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/userpath-1.9.0/HISTORY.rst 
new/userpath-1.9.1/HISTORY.rst
--- old/userpath-1.9.0/HISTORY.rst      2020-02-02 01:00:00.000000000 +0100
+++ new/userpath-1.9.1/HISTORY.rst      2020-02-02 01:00:00.000000000 +0100
@@ -4,6 +4,11 @@
 master
 ^^^^^^
 
+1.9.1
+^^^^^
+
+- Temporarily revert the change on non-Windows systems where only login shells 
are modified
+
 1.9.0
 ^^^^^
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/userpath-1.9.0/PKG-INFO new/userpath-1.9.1/PKG-INFO
--- old/userpath-1.9.0/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/userpath-1.9.1/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: userpath
-Version: 1.9.0
+Version: 1.9.1
 Summary: Cross-platform tool for adding locations to the user PATH
 Project-URL: Funding, https://github.com/sponsors/ofek
 Project-URL: History, https://github.com/ofek/userpath/blob/master/HISTORY.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/userpath-1.9.0/userpath/__init__.py 
new/userpath-1.9.1/userpath/__init__.py
--- old/userpath-1.9.0/userpath/__init__.py     2020-02-02 01:00:00.000000000 
+0100
+++ new/userpath-1.9.1/userpath/__init__.py     2020-02-02 01:00:00.000000000 
+0100
@@ -1,4 +1,4 @@
 from .core import append, in_new_path, need_shell_restart, prepend
 from .utils import in_current_path
 
-__version__ = '1.9.0'
+__version__ = '1.9.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/userpath-1.9.0/userpath/shells.py 
new/userpath-1.9.1/userpath/shells.py
--- old/userpath-1.9.0/userpath/shells.py       2020-02-02 01:00:00.000000000 
+0100
+++ new/userpath-1.9.1/userpath/shells.py       2020-02-02 01:00:00.000000000 
+0100
@@ -30,6 +30,8 @@
         new_path = '{}{}{}'.format(head, pathsep, tail)
         contents = 'export PATH="{}"'.format(new_path)
 
+        configs = {path.join(self.home, '.bashrc'): contents}
+
         # https://github.com/ofek/userpath/issues/3#issuecomment-492491977
         profile_path = path.join(self.home, '.profile')
         bash_profile_path = path.join(self.home, '.bash_profile')
@@ -42,11 +44,13 @@
             # Terminal.app runs a login shell by default for each new terminal 
window.
             login_config = bash_profile_path
 
-        return {login_config: contents}
+        configs[login_config] = contents
+
+        return configs
 
     @classmethod
     def show_path_commands(cls):
-        return [['bash', '-i', '-l', '-c', 'echo $PATH']]
+        return [['bash', '-i', '-c', 'echo $PATH'], ['bash', '-i', '-l', '-c', 
'echo $PATH']]
 
 
 class Fish(Shell):
@@ -91,12 +95,11 @@
         contents = 'export PATH="{}"'.format(new_path)
 
         zdotdir = environ.get('ZDOTDIR', self.home)
-
-        return {path.join(zdotdir, '.zprofile'): contents}
+        return {path.join(zdotdir, '.zshrc'): contents, path.join(zdotdir, 
'.zprofile'): contents}
 
     @classmethod
     def show_path_commands(cls):
-        return [['zsh', '-i', '-l', '-c', 'echo $PATH']]
+        return [['zsh', '-i', '-c', 'echo $PATH'], ['zsh', '-i', '-l', '-c', 
'echo $PATH']]
 
 
 SHELLS = {

Reply via email to