14
0

Accepting request 720017 from devel:languages:python

- Run tests
- Run fdupes

- version 0.9.0
  * Support out parameter of render
  * Write opendocument stream directly to the ZipFile

OBS-URL: https://build.opensuse.org/request/show/720017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-relatorio?expand=0&rev=8
This commit is contained in:
2019-07-31 12:36:54 +00:00
committed by Git OBS Bridge
4 changed files with 26 additions and 15 deletions

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Jul 31 09:24:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Run tests
- Run fdupes
-------------------------------------------------------------------
Tue Jul 30 18:41:41 UTC 2019 - Axel Braun <axel.braun@gmx.de>
- version 0.9.0
* Support out parameter of render
* Write opendocument stream directly to the ZipFile
-------------------------------------------------------------------
Fri Jul 5 16:33:12 UTC 2019 - Axel Braun <axel.braun@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-relatorio
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016-2019 Dr. Axel Braun
#
# All modifications and additions to the file contributed by third parties
@@ -13,32 +13,31 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with tests
%define mod_name relatorio
Name: python-relatorio
Version: 0.8.1
Version: 0.9.0
Release: 0
Summary: Python module to create reports from Python objects
License: GPL-3.0+
License: GPL-3.0-or-later
Group: Productivity/Office/Management
Url: https://pypi.python.org/pypi/relatorio
URL: https://pypi.python.org/pypi/relatorio
Source: https://pypi.io/packages/source/r/%{mod_name}/%{mod_name}-%{version}.tar.gz
BuildRequires: %{python_module Genshi}
BuildRequires: %{python_module lxml}
# It requires different magic for tests https://github.com/ahupp/python-magic
#BuildRequires: %{python_module magic}
BuildRequires: %{python_module python-magic}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Genshi
Requires: python-PyYAML
Requires: python-lxml
Requires: python-magic
Requires: python-pycha
Requires: python-python-magic
BuildArch: noarch
%python_subpackages
@@ -55,15 +54,14 @@ as documents (odt, ods, pdf) or images (png, svg).
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with tests}
%check
%python_exec setup.py test
%endif
%files %{python_files}
%license LICENSE
%doc README AUTHORS
%doc README AUTHORS
%{python_sitelib}/*
%changelog

View File

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

3
relatorio-0.9.0.tar.gz Normal file
View File

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