14
0
forked from pool/python-ntfy

- Add python-311-compat.patch to achieve compatibility with Python

3.11.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ntfy?expand=0&rev=23
This commit is contained in:
Matthias Bach
2023-01-07 14:20:59 +00:00
committed by Git OBS Bridge
parent 2118c54465
commit e7b7251ff8
3 changed files with 49 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ntfy
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2020 Matthias Bach <marix@marix.org>.
#
# All modifications and additions to the file contributed by third parties
@@ -30,6 +30,7 @@ Source: ntfy-%{version}.tar.xz
Patch0: python-ntfy-no-mock.patch
Patch1: emoji-2.0-compatibility.patch
Patch2: drop-misleading-shebangs.patch
Patch3: python-311-compat.patch
BuildRequires: %{python_module appdirs}
# test requirements
BuildRequires: %{python_module emoji >= 1.6.2}