diff --git a/python-audible.changes b/python-audible.changes index 8b41af2..7381610 100644 --- a/python-audible.changes +++ b/python-audible.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 26 13:00:14 UTC 2024 - Nico Krapp + +- Add remove-python-restriction.patch to enable build for python313 + ------------------------------------------------------------------- Fri Sep 27 10:41:01 UTC 2024 - Daniel Garcia diff --git a/python-audible.spec b/python-audible.spec index a390083..22e6b52 100644 --- a/python-audible.spec +++ b/python-audible.spec @@ -24,6 +24,8 @@ Summary: A(Sync) Interface for internal Audible API License: AGPL-3.0-only URL: https://github.com/mkb79/audible Source: https://files.pythonhosted.org/packages/source/a/audible/audible-%{version}.tar.gz +# PATCH-FIX-OPENSUSE remove-python-restriction.patch +Patch1: remove-python-restriction.patch BuildRequires: %{python_module Pillow} BuildRequires: %{python_module beautifulsoup4} BuildRequires: %{python_module httpx >= 0.20.0} diff --git a/remove-python-restriction.patch b/remove-python-restriction.patch new file mode 100644 index 0000000..03786e9 --- /dev/null +++ b/remove-python-restriction.patch @@ -0,0 +1,22 @@ +Index: audible-0.10.0/pyproject.toml +=================================================================== +--- audible-0.10.0.orig/pyproject.toml ++++ audible-0.10.0/pyproject.toml +@@ -22,14 +22,15 @@ classifiers = [ + "License :: OSI Approved :: GNU Affero General Public License v3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +- "Programming Language :: Python :: 3.12" ++ "Programming Language :: Python :: 3.12", ++ "Programming Language :: Python :: 3.13" + ] + + [tool.poetry.urls] + Changelog = "https://github.com/mkb79/Audible/releases" + + [tool.poetry.dependencies] +-python = ">=3.10,<3.13" ++python = ">=3.10" + Pillow = ">=9.4.0" + beautifulsoup4 = ">=4.11.2" + httpx = ">=0.23.3"