Accepting request 1081730 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1081730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wcag-contrast-ratio?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2023-04-22 19:58:14 +00:00 committed by Git OBS Bridge
commit 766b4a8f88
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Apr 21 12:38:37 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:45:50 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Mon Jul 18 12:22:17 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-wcag-contrast-ratio
#
# 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
@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-wcag-contrast-ratio
Version: 0.9
Release: 0
@ -24,11 +25,11 @@ Summary: A library for computing contrast ratios, as required by WCAG 20
License: MIT
URL: https://github.com/gsnedders/wcag-contrast-ratio
Source: https://files.pythonhosted.org/packages/source/w/wcag-contrast-ratio/wcag-contrast-ratio-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages