14
0

Accepting request 522425 from home:TheBlackCat:branches:devel:languages:python

- Implement single-spec version
- Update to Version 1.1.0
  * Added a handler for Riemann (thanks Šarūnas Navickas)
  * Added a handler for Slack (thanks @jonathanng)
  * Colorizing mixin can now force coloring on or off (thanks @ayalash)
- Update to Version 1.0.1
  * Fix PushOver handler cropping (thanks Sébastien Celles)

OBS-URL: https://build.opensuse.org/request/show/522425
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Logbook?expand=0&rev=5
This commit is contained in:
Todd R
2017-09-08 19:32:30 +00:00
committed by Git OBS Bridge
parent 6277f17086
commit 16b6cc80cb
4 changed files with 58 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:87da2515a6b3db866283cb9d4e5a6ec44e52a1d556ebb2ea3b6e7e704b5f1872
size 178113

3
Logbook-1.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e37a18f4f8244b02a1c44cfd2a3bab9513e6e22b67986ab6a91d52b87f0940b
size 186683

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Sep 8 18:57:09 UTC 2017 - toddrme2178@gmail.com
- Implement single-spec version
- Update to Version 1.1.0
* Added a handler for Riemann (thanks Šarūnas Navickas)
* Added a handler for Slack (thanks @jonathanng)
* Colorizing mixin can now force coloring on or off (thanks @ayalash)
- Update to Version 1.0.1
* Fix PushOver handler cropping (thanks Sébastien Celles)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 6 20:55:50 UTC 2017 - boris@steki.net Fri Jan 6 20:55:50 UTC 2017 - boris@steki.net

View File

@@ -16,39 +16,68 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Tests require a network connection
%bcond_with test
Name: python-Logbook Name: python-Logbook
Version: 1.0.0 Version: 1.1.0
Release: 0 Release: 0
Summary: A logging replacement for Python Summary: A logging replacement for Python
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://pypi.org/project/Logbook/ Url: https://github.com/getlogbook/logbook
Source: https://pypi.io/packages/34/e8/6419c217bbf464fe8a902418120cccaf476201bd03b50958db24d6e90f65/Logbook-1.0.0.tar.gz Source: https://files.pythonhosted.org/packages/source/L/Logbook/Logbook-%{version}.tar.gz
BuildRequires: python-devel BuildRequires: fdupes
BuildRequires: python-setuptools BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module Cython}
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 BuildRequires: %{python_module devel}
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} 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 %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 %description
An awesome logging implementation that is fun to use. An alternative logging implementation for python.
%prep %prep
%setup -q -n Logbook-%{version} %setup -q -n Logbook-%{version}
sed -i 's/\r$//' LICENSE
rm tests/*.pyc
rm -r tests/__pycache__
%build %build
CFLAGS="%{optflags}" python setup.py build export CFLAGS="%{optflags}"
%python_build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
#%%check %if %{with test}
#python setup.py test %check
export CFLAGS="%{optflags}"
%python_exec setup.py test
%endif
%files %files %{python_files}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc CHANGES %doc CHANGES LICENSE
%{python_sitearch}/* %{python_sitearch}/*
%changelog %changelog