Group :: Development/Python3
RPM: python3-module-loguru
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name loguru
%ifarch ppc64le
%def_without check
%else
%def_with check
%endif
Name: python3-module-%pypi_name
Version: 0.7.0
Release: alt2
Summary: Python logging made (stupidly) simple
License: MIT
Group: Development/Python3
Url: https://github.com/Delgan/loguru
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
%if_with check
BuildRequires: python3(colorama)
BuildRequires: python3(freezegun)
BuildRequires: python3(mypy)
%endif
%description
Loguru is a library which aims to bring enjoyable logging in Python.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_create_default_config
%tox_check_pyproject
%files
%python3_sitelibdir/%pypi_name
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}
%changelog
…
Todas as alterações você pod ver aqui
%define pypi_name loguru
%ifarch ppc64le
%def_without check
%else
%def_with check
%endif
Name: python3-module-%pypi_name
Version: 0.7.0
Release: alt2
Summary: Python logging made (stupidly) simple
License: MIT
Group: Development/Python3
Url: https://github.com/Delgan/loguru
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
%if_with check
BuildRequires: python3(colorama)
BuildRequires: python3(freezegun)
BuildRequires: python3(mypy)
%endif
%description
Loguru is a library which aims to bring enjoyable logging in Python.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_create_default_config
%tox_check_pyproject
%files
%python3_sitelibdir/%pypi_name
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}
%changelog
…
Todas as alterações você pod ver aqui