Accepting request 1244144 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1244144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-git-pw?expand=0&rev=10
This commit is contained in:
Ana Guerrero 2025-02-07 22:07:28 +00:00 committed by Git OBS Bridge
commit eacc0c00a7
4 changed files with 27 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:99cb0b4a603386127c8205358d9780428a0468f8b1cb73ace804a5a466a28ef4
size 45461

3
git_pw-2.7.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f69c57aafd13d21d6fa604dff680c4f9113a8f31bf3f65dd663bad0e1839b0e1
size 45779

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Feb 7 12:00:54 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.7.1
* pre-commit: Bump versions
* Don't decode error response bodies
- Switch package to modern Python Stack on SLE-15
* Use Python 3.11 on SLE-15 by default
* Drop support for older Python versions
- Switch build system from setuptools to pyproject.toml
* Add python-pip and python-wheel to BuildRequires
* Replace %python_build with %pyproject_wheel
* Replace %python_install with %pyproject_install
* Update name for dist directory in %files section
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 13 14:30:51 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Wed Nov 13 14:30:51 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-git-pw # spec file for package python-git-pw
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 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
@ -17,9 +17,9 @@
%define modname git_pw %define modname git_pw
%define skip_python2 1 %{?sle15_python_module_pythons}
Name: python-git-pw Name: python-git-pw
Version: 2.7.0 Version: 2.7.1
Release: 0 Release: 0
Summary: A tool for integrating Git with Patchwork Summary: A tool for integrating Git with Patchwork
License: MIT License: MIT
@ -29,11 +29,13 @@ BuildArch: noarch
BuildRequires: %{python_module arrow >= 0.10} BuildRequires: %{python_module arrow >= 0.10}
BuildRequires: %{python_module click >= 6.0} BuildRequires: %{python_module click >= 6.0}
BuildRequires: %{python_module pbr} BuildRequires: %{python_module pbr}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyaml >= 5.1} BuildRequires: %{python_module pyaml >= 5.1}
BuildRequires: %{python_module pytest >= 3.0} BuildRequires: %{python_module pytest >= 3.0}
BuildRequires: %{python_module requests > 2.0} BuildRequires: %{python_module requests > 2.0}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tabulate >= 0.8} BuildRequires: %{python_module tabulate >= 0.8}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: git-core BuildRequires: git-core
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@ -46,7 +48,7 @@ Requires: python-tabulate >= 0.8
Provides: git-pw = %{version} Provides: git-pw = %{version}
Obsoletes: git-pw < %{version} Obsoletes: git-pw < %{version}
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
%python_subpackages %python_subpackages
%description %description
@ -57,10 +59,10 @@ tracking system.
%autosetup -p1 -n %{modname}-%{version} %autosetup -p1 -n %{modname}-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/git-pw %python_clone -a %{buildroot}%{_bindir}/git-pw
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
@ -79,6 +81,6 @@ export LC_ALL=en_US.UTF-8
%doc README.rst %doc README.rst
%python_alternative %{_bindir}/git-pw %python_alternative %{_bindir}/git-pw
%{python_sitelib}/git_pw %{python_sitelib}/git_pw
%{python_sitelib}/git_pw-%{version}-py%{python_version}.egg-info %{python_sitelib}/git_pw-%{version}.dist-info
%changelog %changelog