15
0

Accepting request 555893 from devel:languages:python

- Explain why the tests are conditioned around
- Specify all the runtime dependencies based on setup.py

- version 0.8.0 
  * Do not guess_type on styled cell content
  * Remove type attributes when guessing type
  * Add support for Python 3.6
  * Remove soft-page-break 
  * tests added to spec file

OBS-URL: https://build.opensuse.org/request/show/555893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-relatorio?expand=0&rev=5
This commit is contained in:
2017-12-14 09:57:26 +00:00
committed by Git OBS Bridge
4 changed files with 32 additions and 9 deletions

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Dec 11 09:55:31 UTC 2017 - tchvatal@suse.com
- Explain why the tests are conditioned around
- Specify all the runtime dependencies based on setup.py
-------------------------------------------------------------------
Sat Dec 9 16:12:18 UTC 2017 - axel.braun@gmx.de
- version 0.8.0
* Do not guess_type on styled cell content
* Remove type attributes when guessing type
* Add support for Python 3.6
* Remove soft-page-break
* tests added to spec file
-------------------------------------------------------------------
Fri Oct 20 06:26:54 UTC 2017 - axel.braun@gmx.de

View File

@@ -18,10 +18,10 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with tests
%define mod_name relatorio
Name: python-relatorio
Version: 0.7.1
Version: 0.8.0
Release: 0
Summary: Python module to create reports from Python objects
License: GPL-3.0+
@@ -30,16 +30,19 @@ 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 setuptools}
BuildRequires: python-rpm-macros
Requires: python-Genshi
Requires: python-PyYAML
Requires: python-lxml
Requires: python-pycha
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
This is a Python module to create reports from Python objects.
This is a Python module to create reports from Python objects.
Output plugins to several formats are included, such
as documents (odt, ods, pdf) or images (png, svg).
@@ -47,13 +50,17 @@ as documents (odt, ods, pdf) or images (png, svg).
%setup -q -n %{mod_name}-%{version}
%build
%python_build
%python_build
%install
%python_install
%if %{with tests}
%check
%python_exec setup.py test
%endif
%files %{python_files}
%defattr(-,root,root)
%doc README AUTHORS LICENSE
%{python_sitelib}/*

View File

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

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

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