Group :: Development/Python3
RPM: python3-module-logutils
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%global modname logutils
Name: python3-module-%{modname}
Version: 0.3.5
Release: alt2
Summary: Logging utilities
Group: Development/Python3
License: BSD
URL: http://pypi.python.org/pypi/logutils
Source0: %{modname}-%{version}.tar
Patch: set-default-log-level.patch
BuildArch: noarch
BuildRequires: rpm-build-python3
%description
The logutils package provides a set of handlers for the Python standard
library's logging package.
Some of these handlers are out-of-scope for the standard library, and so
they are packaged here. Others are updated versions which have appeared in
recent Python releases, but are usable with older versions of Python and so
are packaged here.
%prep
%setup -n %{modname}-%{version}
%patch -p1
# Remove bundled egg-info in case it exists
rm -rf %{modname}.egg-info
%build
%python3_build
%install
%python3_install
%check
%{__python3} setup.py test
%files
%doc README.rst LICENSE.txt NEWS.txt doc/
%{python3_sitelibdir}/%{modname}/
%{python3_sitelibdir}/%{modname}-%{version}-*
%changelog
…
Full changelog you can see here
Name: python3-module-%{modname}
Version: 0.3.5
Release: alt2
Summary: Logging utilities
Group: Development/Python3
License: BSD
URL: http://pypi.python.org/pypi/logutils
Source0: %{modname}-%{version}.tar
Patch: set-default-log-level.patch
BuildArch: noarch
BuildRequires: rpm-build-python3
%description
The logutils package provides a set of handlers for the Python standard
library's logging package.
Some of these handlers are out-of-scope for the standard library, and so
they are packaged here. Others are updated versions which have appeared in
recent Python releases, but are usable with older versions of Python and so
are packaged here.
%prep
%setup -n %{modname}-%{version}
%patch -p1
# Remove bundled egg-info in case it exists
rm -rf %{modname}.egg-info
%build
%python3_build
%install
%python3_install
%check
%{__python3} setup.py test
%files
%doc README.rst LICENSE.txt NEWS.txt doc/
%{python3_sitelibdir}/%{modname}/
%{python3_sitelibdir}/%{modname}-%{version}-*
%changelog
…
Full changelog you can see here