15
0
forked from pool/python-patchy

- update to 2.8.0:

* Drop Python 3.7 support.
  * Support Python 3.12.
  * Use the --force flag to patch, so it doesn’t hang waiting
    input for invalid reverse patches. This seems to happen with
    the new version on macOS.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-patchy?expand=0&rev=6
This commit is contained in:
2024-01-13 20:31:44 +00:00
committed by Git OBS Bridge
parent 1765c940d1
commit a819e214bb
4 changed files with 21 additions and 8 deletions

View File

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

3
patchy-2.8.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Jan 13 20:28:45 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.8.0:
* Drop Python 3.7 support.
* Support Python 3.12.
* Use the --force flag to patch, so it doesnt hang waiting
input for invalid reverse patches. This seems to happen with
the new version on macOS.
-------------------------------------------------------------------
Tue Oct 4 22:48:48 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-patchy
#
# 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
@@ -19,16 +19,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
Name: python-patchy
Version: 2.6.0
Version: 2.8.0
Release: 0
License: BSD-3-Clause
Summary: Patch the inner source of python functions at runtime
URL: https://github.com/adamchainz/patchy
Group: Development/Languages/Python
Source: https://github.com/adamchainz/patchy/archive/refs/tags/%{version}.tar.gz#/patchy-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pkgutil-resolve-name}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pkgutil-resolve-name
@@ -43,10 +45,10 @@ Patch the inner source of python functions at runtime.
%setup -q -n patchy-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -55,6 +57,7 @@ Patch the inner source of python functions at runtime.
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/patchy
%{python_sitelib}/patchy-%{version}.dist-info
%changelog