Sync from SUSE:SLFO:Main python-userpath revision e99ca051ac05fff9f94e58d7f4dafef4
This commit is contained in:
parent
ce2163592e
commit
4fc0bf25bf
@ -1,9 +1,33 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 16 14:23:15 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.9.2:
|
||||
* Fix import error on Windows
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 13 10:21:39 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <daniel.garcia@suse.com>
|
||||
|
||||
- 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 <info@pragmaticlinux.com>
|
||||
|
||||
- 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
|
||||
|
@ -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
|
||||
|
BIN
userpath-1.7.0.tar.gz
(Stored with Git LFS)
BIN
userpath-1.7.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
userpath-1.9.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
userpath-1.9.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user