14
0

- Add python-311.patch to support python 3.11

gh#syrusakbary/promise#99

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-promise?expand=0&rev=11
This commit is contained in:
2023-02-24 11:23:34 +00:00
committed by Git OBS Bridge
parent 9e337e76a6
commit 965c333517
3 changed files with 51 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-promise
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-promise
Version: 2.3.0
Release: 0
@@ -26,6 +25,8 @@ URL: https://github.com/syrusakbary/promise
Source: https://github.com/syrusakbary/promise/archive/v%{version}.tar.gz#/promise-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#syrusakbary/promise#96
Patch0: pytest-7-support.patch
# PATCH-FIX-UPSTREAM python-311.patch gh#syrusakbary/promise#99
Patch1: python-311.patch
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-benchmark}
BuildRequires: %{python_module pytest}
@@ -56,6 +57,6 @@ This is an implementation of Promises in Python
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/promise*
%changelog