diff --git a/decorator-5.1.1.tar.gz b/decorator-5.1.1.tar.gz deleted file mode 100644 index 67c2697..0000000 --- a/decorator-5.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330 -size 35016 diff --git a/decorator-5.2.1.tar.gz b/decorator-5.2.1.tar.gz new file mode 100644 index 0000000..dda5a11 --- /dev/null +++ b/decorator-5.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65f266143752f734b0a7cc83c46f4618af75b8c5911b00ccb61d0ac9b6da0360 +size 56711 diff --git a/python-decorator.changes b/python-decorator.changes index c45cf9f..5324a2a 100644 --- a/python-decorator.changes +++ b/python-decorator.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Tue May 20 09:26:46 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 5.2.1 + * Updated CHANGES.md + * Update Makefile [ci skip] + * Include tests and documentation in sdist + * Managed functions without __name__ +- from version 5.2.0 + * Replace deprecated logging.warn with logging.warning + * Add support for Python 3.11 + * Update download links + * Fix codespell errors + * Add support for decorative partial functions + * Replace 'bytecode' by 'binary' in LICENSE.txt to align with BSD-2-Clause + * Add support for Python 3.12 + * Stop testing EOL Python 3.5 and 3.6 due to CI unavailability + * Requiring Python >= 3.7 + * Dropped support for Python <= 3.6 + * Use SPDX license identifier + * Add support for Python 3.13 + * codespell: assertIn is not a typo + * Testing only Python >= 3.8 + * Using asyncio.run + * Replaced setup.py with pyproject + * Updated copyright + * Moved tests outside of src +- 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 + ------------------------------------------------------------------- Fri Apr 21 12:24:11 UTC 2023 - Dirk Müller diff --git a/python-decorator.spec b/python-decorator.spec index e330374..611704f 100644 --- a/python-decorator.spec +++ b/python-decorator.spec @@ -1,7 +1,7 @@ # # spec file for package python-decorator # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,17 +18,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%global skip_python2 1 %{?sle15_python_module_pythons} Name: python-decorator -Version: 5.1.1 +Version: 5.2.1 Release: 0 Summary: Decorators for Humans License: BSD-2-Clause Group: Development/Languages/Python URL: https://github.com/micheles/decorator Source: https://files.pythonhosted.org/packages/source/d/decorator/decorator-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: dos2unix BuildRequires: fdupes @@ -50,20 +49,20 @@ redirecting_stdout, locked, etc. more accessible. %autopatch -p1 %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python src/tests/test.py -v +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python tests/test.py -v %files %{python_files} %license LICENSE.txt %doc CHANGES.md README.rst %{python_sitelib}/decorator.py* %pycache_only %{python_sitelib}/__pycache__/decorator.*.py* -%{python_sitelib}/decorator-%{version}-py*.egg-info +%{python_sitelib}/decorator-%{version}.dist-info %changelog