From 946621d8158fdf3cac8d131ef08d27747daeb52c018906f246db8e5cd810dce7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 29 Jan 2024 21:04:34 +0000 Subject: [PATCH] - build for python 3.7 and above OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Arpeggio?expand=0&rev=36 --- python-Arpeggio.changes | 5 +++++ python-Arpeggio.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-Arpeggio.changes b/python-Arpeggio.changes index b25dbee..b47e189 100644 --- a/python-Arpeggio.changes +++ b/python-Arpeggio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 29 21:04:08 UTC 2024 - Dirk Müller + +- build for python 3.7 and above + ------------------------------------------------------------------- Tue Jul 11 13:21:36 UTC 2023 - Dirk Müller diff --git a/python-Arpeggio.spec b/python-Arpeggio.spec index 0a40b60..f123084 100644 --- a/python-Arpeggio.spec +++ b/python-Arpeggio.spec @@ -1,7 +1,7 @@ # # spec file for package python-Arpeggio # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-Arpeggio Version: 2.0.2 Release: 0 @@ -25,6 +24,7 @@ Summary: Packrat parser interpreter License: MIT URL: https://github.com/textX/Arpeggio/ Source: https://github.com/textX/Arpeggio/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel}