%global pypi_name confuse Name: python-%{pypi_name} Version: 1.0.0 Release: 13%{?dist} Summary: A Python module for handling YAML configuration files License: MIT URL: https://github.com/beetbox/confuse Source0: https://github.com/beetbox/confuse/archive/v%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch %description Confuse is a configuration library for Python that uses YAML. It takes care of defaults, overrides, type checking, command-line integration, human- readable errors, and standard OS-specific locations. %package -n python3-%{pypi_name} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools #BuildRequires: python3-PyYAML #BuildRequires: python3-tox %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} Confuse is a configuration library for Python that uses YAML. It takes care of defaults, overrides, type checking, command-line integration, human- readable errors, and standard OS-specific locations. %prep %autosetup -n %{pypi_name}-%{version} %build %py3_build %install %py3_install # Python 3.7 is not yet support by upstream #%check #tox -e py%{python3_version_nodots} %files -n python3-%{pypi_name} %doc README.rst %license LICENSE %{python3_sitelib}/%{pypi_name}.py %{python3_sitelib}/__pycache__/* %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.0.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.0.0-12 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.0.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 1.0.0-10 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.0.0-9 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.0.0-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.0.0-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.0.0-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jun 25 2019 Fabian Affolter - 1.0.0-1 - Initial package for Fedora