From f5d925e7f498f90aefd436317d645a93e9bc8886ea39ca9ddc2b14062ef0759d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 28 Mar 2018 08:33:25 +0000 Subject: [PATCH] Accepting request 591612 from devel:languages:python - Add python-setuptools to Requires - Update to 0.8.2 * Bugfix release - Changes from 0.8.1 * Multiline data in several output formats. New latex_raw format. * Column-specific floating point formatting. * Python 3.5 & 3.6 support. * Drop support for Python 2.6, 3.2, 3.3 (should still work). - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/591612 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tabulate?expand=0&rev=2 --- python-tabulate.changes | 17 +++++++++++++++++ python-tabulate.spec | 40 +++++++++++++++++++++++----------------- tabulate-0.7.7.tar.gz | 3 --- tabulate-0.8.2.tar.gz | 3 +++ 4 files changed, 43 insertions(+), 20 deletions(-) delete mode 100644 tabulate-0.7.7.tar.gz create mode 100644 tabulate-0.8.2.tar.gz diff --git a/python-tabulate.changes b/python-tabulate.changes index 7a4c55d..14ac66c 100644 --- a/python-tabulate.changes +++ b/python-tabulate.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Mar 27 13:01:43 UTC 2018 - tchvatal@suse.com + +- Add python-setuptools to Requires + +------------------------------------------------------------------- +Mon Mar 26 21:24:24 UTC 2018 - matthias.eliasson@gmail.com + +- Update to 0.8.2 + * Bugfix release +- Changes from 0.8.1 + * Multiline data in several output formats. New latex_raw format. + * Column-specific floating point formatting. + * Python 3.5 & 3.6 support. + * Drop support for Python 2.6, 3.2, 3.3 (should still work). +- Run spec-cleaner + ------------------------------------------------------------------- Thu Apr 20 03:38:33 UTC 2017 - sflees@suse.de diff --git a/python-tabulate.spec b/python-tabulate.spec index c38fc01..84b5994 100644 --- a/python-tabulate.spec +++ b/python-tabulate.spec @@ -1,7 +1,7 @@ # # spec file for package python-tabulate # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -18,19 +18,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-tabulate -Version: 0.7.7 +Version: 0.8.2 Release: 0 Summary: Pretty-print tabular data in Python License: MIT Group: Development/Languages/Python -Url: https://bitbucket.org/astanin/python-tabulate -Source: ttps://pypi.io/packages/source/t/tabulate/tabulate-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{python_module devel} +URL: https://bitbucket.org/astanin/python-tabulate +Source: https://files.pythonhosted.org/packages/source/t/tabulate/tabulate-%{version}.tar.gz +BuildRequires: %{python_module nose} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-setuptools +Suggests: python-wcwidth BuildArch: noarch - %python_subpackages %description @@ -38,26 +39,31 @@ Pretty-print tabular data in Python. The main use cases of the library are: - * printing small tables without hassle: just one function call, formatting is - guided by the data itself - * authoring tabular data for lightweight plain-text markup: multiple output - formats suitable for further editing or transformation - * readable presentation of mixed textual and numeric data: smart column - alignment, configurable number formatting, alignment by a decimal point + * printing small tables without hassle: just one function call, + formatting is guided by the data itself + * authoring tabular data for lightweight plain-text markup: multiple + output formats suitable for further editing or transformation + * readable presentation of mixed textual and numeric data: smart + column alignment, configurable number formatting, alignment by a + decimal point %prep -%setup -q -n tabulate-%{version} +%autosetup -n tabulate-%{version} + %build %python_build %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%check +%python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README +%license LICENSE +%doc README README.rst +%python3_only %{_bindir}/tabulate %{python_sitelib}/* %changelog diff --git a/tabulate-0.7.7.tar.gz b/tabulate-0.7.7.tar.gz deleted file mode 100644 index 76bfaaa..0000000 --- a/tabulate-0.7.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:83a0b8e17c09f012090a50e1e97ae897300a72b35e0c86c0b53d3bd2ae86d8c6 -size 39140 diff --git a/tabulate-0.8.2.tar.gz b/tabulate-0.8.2.tar.gz new file mode 100644 index 0000000..0af22f7 --- /dev/null +++ b/tabulate-0.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4ca13f26d0a6be2a2915428dc21e732f1e44dad7f76d7030b2ef1ec251cf7f2 +size 45758