15
0
forked from pool/python-pipx

Accepting request 1195742 from home:VaiTon:branches:devel:languages:python

- Update to 1.7.0:
- Use obs-service-tar_scm instead of GitHub releases

OBS-URL: https://build.opensuse.org/request/show/1195742
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pipx?expand=0&rev=25
This commit is contained in:
2024-09-09 06:43:47 +00:00
committed by Git OBS Bridge
parent 6e77dd1f8f
commit 78d66cb567
7 changed files with 57 additions and 6 deletions

View File

@@ -18,12 +18,12 @@
%{?sle15_python_module_pythons}
Name: python-pipx
Version: 1.6.0
Version: 1.7.0
Release: 0
Summary: Install and Run Python Applications in Isolated Environments
License: MIT
URL: https://github.com/pypa/pipx
Source: https://files.pythonhosted.org/packages/source/p/pipx/pipx-%{version}.tar.gz
Source: pipx-%{version}.tar
BuildRequires: %{python_module hatch-vcs >= 0.4}
BuildRequires: %{python_module hatchling >= 1.18}
BuildRequires: %{python_module pip}
@@ -51,6 +51,7 @@ Install and Run Python Applications in Isolated Environments
%autosetup -p1 -n pipx-%{version}
%build
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_wheel
%install
@@ -65,7 +66,7 @@ Install and Run Python Applications in Isolated Environments
%python_uninstall_alternative pipx
%files %{python_files}
%doc CHANGELOG.md README.md
%doc docs/CHANGELOG.md docs/README.md
%license LICENSE
%python_alternative %{_bindir}/pipx
%{python_sitelib}/pipx