Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python:misc
python-pyramid_exclog
python-pyramid_exclog.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pyramid_exclog.spec of Package python-pyramid_exclog
# # spec file for package python-pyramid_exclog # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyramid_exclog Version: 1.0 Release: 0 Url: http://docs.pylonsproject.org Summary: Pyramid exceptions logger License: BSD-4-Clause and ZPL-2.1 and MIT Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/p/pyramid_exclog/pyramid_exclog-%{version}.tar.gz Source1: fetch-intersphinx-files.sh Source2: pyramid.inv Requires: python-pyramid >= 1.5 BuildRequires: %{python_module devel} BuildRequires: %{python_module pyramid} >= 1.5 BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros # Documentation requirements: BuildRequires: python3-Sphinx BuildRequires: python3-pylons-sphinx-themes # Testing requirements: BuildRequires: %{python_module coverage} BuildRequires: %{python_module hupper} BuildRequires: %{python_module nose} BuildRequires: %{python_module plaster-pastedeploy} BuildRequires: %{python_module plaster} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages %description A package which logs Pyramid application exception (error) information to a standard Python logger. This add-on is most useful when used in production applications, because the logger can be configured to log to a file, to UNIX syslog, to the Windows Event Log, or even to email. Documentation: see -doc package or: https://docs.pylonsproject.org/projects/pyramid_exclog/en/latest/ %package -n %{name}-doc Summary: Pyramid exceptions logger Group: Development/Languages/Python Requires: %{name} = %{version} %description -n %{name}-doc This package contains documentation files for %{name}. %prep %setup -q -n pyramid_exclog-%{version} # patch in local intersphinx file sed -i "s|'\(.*\)', None|'\1', 'pyramid.inv'|g" docs/conf.py cp %SOURCE2 docs/ %build %python_build python3 setup.py build_sphinx && rm -f build/sphinx/html/.buildinfo %install %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check %python_exec setup.py nosetests --with-coverage %files %python_files %defattr(-,root,root,-) %if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320 %license LICENSE.txt %else %doc LICENSE.txt %endif %doc CHANGES.rst CONTRIBUTORS.txt COPYRIGHT.txt README.rst %{python_sitelib}/* %files -n %{name}-doc %defattr(-,root,root,-) %doc build/sphinx/html %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor