From a819e214bbee2298b3aa1d807b8cdde116aff4ca3ba37bab9617a7af52269525 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 13 Jan 2024 20:31:44 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=202.8.0:=20=20=20*=20Drop=20Pyt?= =?UTF-8?q?hon=203.7=20support.=20=20=20*=20Support=20Python=203.12.=20=20?= =?UTF-8?q?=20*=20Use=20the=20--force=20flag=20to=20patch,=20so=20it=20doe?= =?UTF-8?q?sn=E2=80=99t=20hang=20waiting=20=20=20=20=20input=20for=20inval?= =?UTF-8?q?id=20reverse=20patches.=20This=20seems=20to=20happen=20with=20?= =?UTF-8?q?=20=20=20=20the=20new=20version=20on=20macOS.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-patchy?expand=0&rev=6 --- patchy-2.6.0.tar.gz | 3 --- patchy-2.8.0.tar.gz | 3 +++ python-patchy.changes | 10 ++++++++++ python-patchy.spec | 13 ++++++++----- 4 files changed, 21 insertions(+), 8 deletions(-) delete mode 100644 patchy-2.6.0.tar.gz create mode 100644 patchy-2.8.0.tar.gz diff --git a/patchy-2.6.0.tar.gz b/patchy-2.6.0.tar.gz deleted file mode 100644 index a16bf29..0000000 --- a/patchy-2.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:01a395eb5a3cc6e7e37fbc5499b0a2a90a1fe874b2d5252473a7f221f5b98605 -size 51752 diff --git a/patchy-2.8.0.tar.gz b/patchy-2.8.0.tar.gz new file mode 100644 index 0000000..4f5957f --- /dev/null +++ b/patchy-2.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ab574b4659fb0f7fdafd0e0c49a65b60c84cfe3b9fdef313c11b2069edd2695 +size 52221 diff --git a/python-patchy.changes b/python-patchy.changes index 350e2a4..6758807 100644 --- a/python-patchy.changes +++ b/python-patchy.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Jan 13 20:28:45 UTC 2024 - Dirk Müller + +- 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. + ------------------------------------------------------------------- Tue Oct 4 22:48:48 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-patchy.spec b/python-patchy.spec index 762d0c7..337f7b9 100644 --- a/python-patchy.spec +++ b/python-patchy.spec @@ -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