Name: python-wcag-contrast-ratio Version: 0.9 Release: 7%{?dist} Summary: A library for computing contrast ratios, as required by WCAG 2.0 License: MIT URL: https://github.com/gsnedders/wcag-contrast-ratio Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: A library for computing contrast ratios, as required by WCAG 2.0.} %description %_description %package -n python3-wcag-contrast-ratio Summary: %{summary} %description -n python3-wcag-contrast-ratio %_description %prep %autosetup -p1 -n wcag-contrast-ratio-%{version} # - functionality of hypothesis-pytest is now included into hypothesis # - let our tox set the correct path to py.test # both issues reported: https://github.com/gsnedders/wcag-contrast-ratio/pull/5 sed -i 's/hypothesis-pytest/hypothesis/g' tox.ini sed -i 's/{envbindir}\/py.test/py.test/g' tox.ini %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files wcag_contrast_ratio %check %tox %files -n python3-wcag-contrast-ratio -f %{pyproject_files} %doc README.rst %changelog * Fri Jul 21 2023 Fedora Release Engineering - 0.9-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Python Maint - 0.9-6 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.9-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Jan 10 2022 Karolina Surma - 0.9-1 - Initial package