diff --git a/python-relatorio.changes b/python-relatorio.changes index 74f4a90..dd97e19 100644 --- a/python-relatorio.changes +++ b/python-relatorio.changes @@ -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 diff --git a/python-relatorio.spec b/python-relatorio.spec index 066afd1..4bf7028 100644 --- a/python-relatorio.spec +++ b/python-relatorio.spec @@ -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}/* diff --git a/relatorio-0.7.1.tar.gz b/relatorio-0.7.1.tar.gz deleted file mode 100644 index c54a3a3..0000000 --- a/relatorio-0.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:744f1e39313f037a0ab52a154338ece151d83e5442a9278db1f8ce450ce6c2cd -size 970049 diff --git a/relatorio-0.8.0.tar.gz b/relatorio-0.8.0.tar.gz new file mode 100644 index 0000000..c739c8f --- /dev/null +++ b/relatorio-0.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bddf85d029c5c85a0f976d73907e14e4c3093065fe8527170c91abf0218546d9 +size 1096794