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