Compare commits

1 Commits
main ... 1.1

4 changed files with 16 additions and 43 deletions

View File

@@ -1,27 +1,3 @@
-------------------------------------------------------------------
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> Mon Mar 14 10:06:06 UTC 2022 - PragmaticLinux <info@pragmaticlinux.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-userpath # spec file for package python-userpath
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,20 @@
# #
%{?sle15_python_module_pythons} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-userpath Name: python-userpath
Version: 1.9.2 Version: 1.7.0
Release: 0 Release: 0
Summary: Tool for adding locations to the user PATH Summary: Tool for adding locations to the user PATH
License: MIT License: Apache-2.0 OR MIT
URL: https://github.com/ofek/userpath URL: https://github.com/ofek/userpath
Source: https://files.pythonhosted.org/packages/source/u/userpath/userpath-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/u/userpath/userpath-%{version}.tar.gz
BuildRequires: %{python_module hatchling} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-click Requires: python-click
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun):update-alternatives
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module click} BuildRequires: %{python_module click}
@@ -44,13 +42,13 @@ Cross-platform tool for adding locations to the user PATH,
with no elevated privileges required. with no elevated privileges required.
%prep %prep
%autosetup -p1 -n userpath-%{version} %setup -q -n userpath-%{version}
%build %build
%pyproject_wheel %python_build
%install %install
%pyproject_install %python_install
%python_clone -a %{buildroot}%{_bindir}/userpath %python_clone -a %{buildroot}%{_bindir}/userpath
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -65,10 +63,9 @@ export LC_ALL=C.UTF-8
%python_uninstall_alternative userpath %python_uninstall_alternative userpath
%files %{python_files} %files %{python_files}
%doc README.md %doc README.rst
%license LICENSE.txt %license LICENSE-APACHE LICENSE-MIT
%python_alternative %{_bindir}/userpath %python_alternative %{_bindir}/userpath
%{python_sitelib}/userpath %{python_sitelib}/*
%{python_sitelib}/userpath-%{version}*-info
%changelog %changelog

BIN
userpath-1.7.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
userpath-1.9.2.tar.gz (Stored with Git LFS)

Binary file not shown.