commit python-userpath for openSUSE:Factory
Hello community, here is the log from the commit of package python-userpath for openSUSE:Factory checked in at 2020-07-24 10:06:30 Comparing /work/SRC/openSUSE:Factory/python-userpath (Old) and /work/SRC/openSUSE:Factory/.python-userpath.new.3592 (New) Package is "python-userpath" Fri Jul 24 10:06:30 2020 rev:3 rq:822369 version:1.4.1 Changes: --- /work/SRC/openSUSE:Factory/python-userpath/python-userpath.changes 2020-05-19 14:48:14.988040272 +0200 +++ /work/SRC/openSUSE:Factory/.python-userpath.new.3592/python-userpath.changes 2020-07-24 10:07:35.322027589 +0200 @@ -1,0 +2,7 @@ +Thu Jul 23 11:07:58 UTC 2020 - Marketa Calabkova + +- update to 1.4.1 + * Prevent adding paths multiple times on macOS/Linux + * Send CLI errors to stderr instead of stdout + +--- Old: userpath-1.3.0.tar.gz New: userpath-1.4.1.tar.gz Other differences: -- ++ python-userpath.spec ++ --- /var/tmp/diff_new_pack.4EQLVY/_old 2020-07-24 10:07:40.946033228 +0200 +++ /var/tmp/diff_new_pack.4EQLVY/_new 2020-07-24 10:07:40.950033231 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-userpath -Version:1.3.0 +Version:1.4.1 Release:0 Summary:Tool for adding locations to the user PATH License:MIT OR Apache-2.0 ++ userpath-1.3.0.tar.gz -> userpath-1.4.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/userpath-1.3.0/PKG-INFO new/userpath-1.4.1/PKG-INFO --- old/userpath-1.3.0/PKG-INFO 2019-10-20 15:37:22.0 +0200 +++ new/userpath-1.4.1/PKG-INFO 2020-06-25 18:19:01.448213800 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: userpath -Version: 1.3.0 +Version: 1.4.1 Summary: Cross-platform tool for adding locations to the user PATH, no elevated privileges required! Home-page: https://github.com/ofek/userpath Author: Ofek Lev @@ -124,6 +124,13 @@ Important changes are emphasized. +1.4.0 +^ + +- Fix duplicating system paths on Windows +- Prevent adding paths multiple times on macOS/Linux +- Send CLI errors to stderr instead of stdout + 1.3.0 ^ @@ -153,5 +160,7 @@ Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/userpath-1.3.0/README.rst new/userpath-1.4.1/README.rst --- old/userpath-1.3.0/README.rst 2019-10-20 07:03:42.0 +0200 +++ new/userpath-1.4.1/README.rst 2020-05-09 16:59:33.0 +0200 @@ -114,6 +114,13 @@ Important changes are emphasized. +1.4.0 +^ + +- Fix duplicating system paths on Windows +- Prevent adding paths multiple times on macOS/Linux +- Send CLI errors to stderr instead of stdout + 1.3.0 ^ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/userpath-1.3.0/setup.py new/userpath-1.4.1/setup.py --- old/userpath-1.3.0/setup.py 2019-10-20 05:42:51.0 +0200 +++ new/userpath-1.4.1/setup.py 2020-06-25 18:15:19.0 +0200 @@ -44,6 +44,8 @@ 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', +'Programming Language :: Python :: 3.8', +'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/userpath-1.3.0/tests/test_bash.py new/userpath-1.4.1/tests/test_bash.py --- old/userpath-1.3.0/tests/test_bash.py 2019-05-28 05:56:06.0 +0200 +++ new/userpath-1.4.1/tests/test_bash.py 2020-05-09 14:49:01.0 +0200 @@ -38,6 +38,22 @@ assert process.returncode == 0, (stdout + stderr).decode('utf-8') +def test_prepend_twice(self, request, shell_test): +if shell_test is None: +location = get_random_path() +assert not userpath.in_current_path(location) +assert userpath.prepend(location, check=True) +assert
commit python-userpath for openSUSE:Factory
Hello community, here is the log from the commit of package python-userpath for openSUSE:Factory checked in at 2020-05-19 14:48:13 Comparing /work/SRC/openSUSE:Factory/python-userpath (Old) and /work/SRC/openSUSE:Factory/.python-userpath.new.2738 (New) Package is "python-userpath" Tue May 19 14:48:13 2020 rev:2 rq:806958 version:1.3.0 Changes: --- /work/SRC/openSUSE:Factory/python-userpath/python-userpath.changes 2019-11-27 13:50:32.096509886 +0100 +++ /work/SRC/openSUSE:Factory/.python-userpath.new.2738/python-userpath.changes 2020-05-19 14:48:14.988040272 +0200 @@ -1,0 +2,5 @@ +Mon May 18 09:10:45 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +--- Other differences: -- ++ python-userpath.spec ++ --- /var/tmp/diff_new_pack.JisBsq/_old 2020-05-19 14:48:15.632041648 +0200 +++ /var/tmp/diff_new_pack.JisBsq/_new 2020-05-19 14:48:15.636041656 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-userpath # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,6 +29,8 @@ BuildRequires: python-rpm-macros Requires: python-click Requires: python-distro +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module click} @@ -49,16 +51,23 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/userpath %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LC_ALL=C.UTF-8 %pytest +%post +%python_install_alternative userpath + +%postun +%python_uninstall_alternative userpath + %files %{python_files} %doc README.rst %license LICENSE-APACHE LICENSE-MIT -%python3_only %{_bindir}/userpath +%python_alternative %{_bindir}/userpath %{python_sitelib}/* %changelog
commit python-userpath for openSUSE:Factory
Hello community, here is the log from the commit of package python-userpath for openSUSE:Factory checked in at 2019-11-27 13:50:30 Comparing /work/SRC/openSUSE:Factory/python-userpath (Old) and /work/SRC/openSUSE:Factory/.python-userpath.new.26869 (New) Package is "python-userpath" Wed Nov 27 13:50:30 2019 rev:1 rq:742000 version:1.3.0 Changes: New Changes file: --- /dev/null 2019-11-14 08:11:24.559789422 +0100 +++ /work/SRC/openSUSE:Factory/.python-userpath.new.26869/python-userpath.changes 2019-11-27 13:50:32.096509886 +0100 @@ -0,0 +1,19 @@ +--- +Wed Oct 23 07:06:02 UTC 2019 - Tomáš Chvátal + +- Fix license string + +--- +Mon Oct 21 09:06:03 UTC 2019 - John Vandenberg + +- Update to v1.3.0 + +--- +Wed Sep 11 08:18:27 AM UTC 2019 - John Vandenberg + +- Update spec for userpath v1.2.0 + +--- +Thu Aug 2 18:59:39 UTC 2018 - abo...@gmail.com + +- python-addduserpath initial packaging New: python-userpath.changes python-userpath.spec userpath-1.3.0.tar.gz Other differences: -- ++ python-userpath.spec ++ # # spec file for package python-userpath # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-userpath Version:1.3.0 Release:0 Summary:Tool for adding locations to the user PATH License:MIT OR Apache-2.0 URL:https://github.com/ofek/userpath Source: https://files.pythonhosted.org/packages/source/u/userpath/userpath-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-click Requires: python-distro BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module click} BuildRequires: %{python_module distro} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages %description Cross-platform tool for adding locations to the user PATH, with no elevated privileges required. %prep %setup -q -n userpath-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LC_ALL=C.UTF-8 %pytest %files %{python_files} %doc README.rst %license LICENSE-APACHE LICENSE-MIT %python3_only %{_bindir}/userpath %{python_sitelib}/* %changelog