Группа :: Development/Python3
Пакет: python3-module-colorlog
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define pypi_name colorlog
%def_enable check
Name: python3-module-%pypi_name
Version: 6.7.0
Release: alt1
Summary: Python 3 module for log formatting with colors
Group: Development/Python3
License: MIT
Url: http://pypi.python.org/pypi/%pypi_name
Source: http://pypi.io/packages/source/c/%pypi_name/%pypi_name-%version.tar.gz
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-wheel python3-module-setuptools
%{?_enable_check:BuildRequires: python3-module-pytest}
%description
colorlog.ColoredFormatter is a formatter for use with Python's logging
module that outputs records using terminal colors.
%prep
%setup -n %pypi_name-%version
%build
%pyproject_build
%install
%pyproject_install
%check
export PYTHONPATH=%buildroot%python3_sitelibdir_noarch
py.test3
%files
%python3_sitelibdir_noarch/%pypi_name/
%python3_sitelibdir_noarch/%{pyproject_distinfo %pypi_name}
%doc README.md
%changelog
…
Полный changelog можно просмотреть здесь
%def_enable check
Name: python3-module-%pypi_name
Version: 6.7.0
Release: alt1
Summary: Python 3 module for log formatting with colors
Group: Development/Python3
License: MIT
Url: http://pypi.python.org/pypi/%pypi_name
Source: http://pypi.io/packages/source/c/%pypi_name/%pypi_name-%version.tar.gz
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-wheel python3-module-setuptools
%{?_enable_check:BuildRequires: python3-module-pytest}
%description
colorlog.ColoredFormatter is a formatter for use with Python's logging
module that outputs records using terminal colors.
%prep
%setup -n %pypi_name-%version
%build
%pyproject_build
%install
%pyproject_install
%check
export PYTHONPATH=%buildroot%python3_sitelibdir_noarch
py.test3
%files
%python3_sitelibdir_noarch/%pypi_name/
%python3_sitelibdir_noarch/%{pyproject_distinfo %pypi_name}
%doc README.md
%changelog
…
Полный changelog можно просмотреть здесь