- Add remove-python-restriction.patch to enable build for python313

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-audible?expand=0&rev=4
This commit is contained in:
Markéta Machová 2024-11-27 09:08:10 +00:00 committed by Git OBS Bridge
parent 53e68cee60
commit 7e77927b7f
3 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 26 13:00:14 UTC 2024 - Nico Krapp <nico.krapp@suse.com>
- Add remove-python-restriction.patch to enable build for python313
-------------------------------------------------------------------
Fri Sep 27 10:41:01 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -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}

View File

@ -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"