From 5420741f3fe285c99ee669afddfd361218c882ae6d4d894e401441ee726a8858 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 29 Oct 2024 21:11:40 +0000 Subject: [PATCH] - update to 1.15.6: * Fixed issue with legacy python 2.7 and 3.5. * Python 3.13 is now supported. * Fixed `SyntaxError: invalid syntax` happening when the default value of one argument of the created function is a * subclass of a basic primitive. `_` or contains a double `__` - Update to Version 1.13.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-makefun?expand=0&rev=14 --- makefun-1.15.2.tar.gz | 3 --- makefun-1.15.6.tar.gz | 3 +++ python-makefun.changes | 14 ++++++++++++-- python-makefun.spec | 14 ++++++++------ 4 files changed, 23 insertions(+), 11 deletions(-) delete mode 100644 makefun-1.15.2.tar.gz create mode 100644 makefun-1.15.6.tar.gz diff --git a/makefun-1.15.2.tar.gz b/makefun-1.15.2.tar.gz deleted file mode 100644 index 2712d2f..0000000 --- a/makefun-1.15.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:16f2a2b34d9ee0c2b578c960a1808c974e2822cf79f6e9b9c455aace10882d45 -size 74602 diff --git a/makefun-1.15.6.tar.gz b/makefun-1.15.6.tar.gz new file mode 100644 index 0000000..51e89a3 --- /dev/null +++ b/makefun-1.15.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26bc63442a6182fb75efed8b51741dd2d1db2f176bec8c64e20a586256b8f149 +size 72583 diff --git a/python-makefun.changes b/python-makefun.changes index 9176db0..6208069 100644 --- a/python-makefun.changes +++ b/python-makefun.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Oct 29 21:11:12 UTC 2024 - Dirk Müller + +- update to 1.15.6: + * Fixed issue with legacy python 2.7 and 3.5. + * Python 3.13 is now supported. + * Fixed `SyntaxError: invalid syntax` happening when the + default value of one argument of the created function is a + * subclass of a basic primitive. + ------------------------------------------------------------------- Thu Dec 7 22:55:39 UTC 2023 - Dirk Müller @@ -17,7 +27,7 @@ Sun Mar 26 18:45:31 UTC 2023 - Dirk Müller - update to 1.15.1: * Fixed `ValueError: Invalid co_name` happening on python 2 when the name of a function to create starts or ends with - `_` or contains a double `__` + `_` or contains a double `__` ------------------------------------------------------------------- Fri Dec 2 20:29:56 UTC 2022 - Yogalakshmi Arunachalam @@ -43,7 +53,7 @@ Thu Sep 29 15:46:07 UTC 2022 - Yogalakshmi Arunachalam - Fixed regression with generators in python 3.5 - Fixed an issue where using partial on a generator function in python 3.5 was raising a SyntaxError. Fixed #79 -- Update to Version 1.13.0 +- Update to Version 1.13.0 - Support for async generator functions async generator functions are now supported (See PEP525). Fixed #77. PR#78 by broglep-work. diff --git a/python-makefun.spec b/python-makefun.spec index 80fa435..dbad63f 100644 --- a/python-makefun.spec +++ b/python-makefun.spec @@ -1,7 +1,7 @@ # # spec file for package python-makefun # -# Copyright (c) 2023 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 @@ -17,16 +17,17 @@ Name: python-makefun -Version: 1.15.2 +Version: 1.15.6 Release: 0 License: BSD-3-Clause Summary: Small library to dynamically create python functions URL: https://github.com/smarie/python-makefun Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/m/makefun/makefun-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pytest} @@ -45,10 +46,10 @@ Small library to dynamically create python functions. sed -i '/pytest-runner/d' setup.cfg %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -57,6 +58,7 @@ sed -i '/pytest-runner/d' setup.cfg %files %{python_files} %doc README.md %license LICENSE -%{python_sitelib}/makefun* +%{python_sitelib}/makefun +%{python_sitelib}/makefun-%{version}.dist-info %changelog