diff --git a/python-userpath.changes b/python-userpath.changes index 8ddae91..a3dcddd 100644 --- a/python-userpath.changes +++ b/python-userpath.changes @@ -1,9 +1,33 @@ +------------------------------------------------------------------- +Sat Mar 16 14:23:15 UTC 2024 - Dirk Müller + +- update to 1.9.2: + * Fix import error on Windows + +------------------------------------------------------------------- +Wed Dec 13 10:21:39 UTC 2023 - Dirk Müller + +- update to 1.9.1: + * Temporarily revert the change on non-Windows systems where + only login shells are modified + +------------------------------------------------------------------- +Thu Aug 10 07:10:31 UTC 2023 - Daniel Garcia + +- add sle15_python_module_pythons (jsc#PED-68, jsc#PED-5573) +- update to 1.9.0 + * Ignore the current directory for path detection on Windows + * On non-Windows systems only modify login shells +- v1.8.0 + * Broadcast WM_SETTINGCHANGE on Windows + * Drop Python 2.7 & 3.6 + ------------------------------------------------------------------- Mon Mar 14 10:06:06 UTC 2022 - PragmaticLinux - update to 1.7.0 * Fix path normalization to be aware of case-insensitive - platforms and symlinks. + platforms and symlinks. * Use locale's encoding when handling output from subprocesses * Modify bash start-up files based on their existence * Remove distro dependency diff --git a/python-userpath.spec b/python-userpath.spec index 361483f..16873d7 100644 --- a/python-userpath.spec +++ b/python-userpath.spec @@ -1,7 +1,7 @@ # # spec file for package python-userpath # -# Copyright (c) 2022 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 @@ -16,20 +16,22 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-userpath -Version: 1.7.0 +Version: 1.9.2 Release: 0 Summary: Tool for adding locations to the user PATH -License: Apache-2.0 OR MIT +License: MIT URL: https://github.com/ofek/userpath Source: https://files.pythonhosted.org/packages/source/u/userpath/userpath-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-click Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module click} @@ -42,13 +44,13 @@ Cross-platform tool for adding locations to the user PATH, with no elevated privileges required. %prep -%setup -q -n userpath-%{version} +%autosetup -p1 -n userpath-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/userpath %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -63,9 +65,10 @@ export LC_ALL=C.UTF-8 %python_uninstall_alternative userpath %files %{python_files} -%doc README.rst -%license LICENSE-APACHE LICENSE-MIT +%doc README.md +%license LICENSE.txt %python_alternative %{_bindir}/userpath -%{python_sitelib}/* +%{python_sitelib}/userpath +%{python_sitelib}/userpath-%{version}*-info %changelog diff --git a/userpath-1.7.0.tar.gz b/userpath-1.7.0.tar.gz deleted file mode 100644 index ef442ee..0000000 --- a/userpath-1.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dcd66c5fa9b1a3c12362f309bbb5bc7992bac8af86d17b4e6b1a4b166a11c43f -size 20360 diff --git a/userpath-1.9.2.tar.gz b/userpath-1.9.2.tar.gz new file mode 100644 index 0000000..0f3f54b --- /dev/null +++ b/userpath-1.9.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c52288dab069257cc831846d15d48133522455d4677ee69a9781f11dbefd815 +size 11140