Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1
python-Logbook
python-Logbook.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-Logbook.spec of Package python-Logbook
# # spec file for package python-Logbook # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, 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-%{**}} # Tests require a network connection %bcond_with test Name: python-Logbook Version: 1.1.0 Release: 0 Summary: A logging replacement for Python License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/getlogbook/logbook Source: https://files.pythonhosted.org/packages/source/L/Logbook/Logbook-%{version}.tar.gz BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} %if %{with test} BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module SQLAlchemy} BuildRequires: %{python_module execnet >= 1.0.9} BuildRequires: %{python_module gevent} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pyzmq} BuildRequires: %{python_module redis} BuildRequires: python-mock %endif Recommends: python-Jinja2 Recommends: python-SQLAlchemy Recommends: python-execnet >= 1.0.9 Recommends: python-gevent Recommends: python-redis Recommends: python-pyzmq %python_subpackages %description An alternative logging implementation for python. %prep %setup -q -n Logbook-%{version} sed -i 's/\r$//' LICENSE rm tests/*.pyc rm -r tests/__pycache__ %build export CFLAGS="%{optflags}" %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %if %{with test} %check export CFLAGS="%{optflags}" %python_exec setup.py test %endif %files %{python_files} %defattr(-,root,root,-) %doc CHANGES LICENSE %{python_sitearch}/* %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