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
This commit is contained in:
parent
7608aa6ecb
commit
f5d925e7f4
@ -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
|
Thu Apr 20 03:38:33 UTC 2017 - sflees@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-tabulate
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,19 +18,20 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-tabulate
|
Name: python-tabulate
|
||||||
Version: 0.7.7
|
Version: 0.8.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pretty-print tabular data in Python
|
Summary: Pretty-print tabular data in Python
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://bitbucket.org/astanin/python-tabulate
|
URL: https://bitbucket.org/astanin/python-tabulate
|
||||||
Source: ttps://pypi.io/packages/source/t/tabulate/tabulate-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/tabulate/tabulate-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: %{python_module nose}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-setuptools
|
||||||
|
Suggests: python-wcwidth
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -38,26 +39,31 @@ Pretty-print tabular data in Python.
|
|||||||
|
|
||||||
The main use cases of the library are:
|
The main use cases of the library are:
|
||||||
|
|
||||||
* printing small tables without hassle: just one function call, formatting is
|
* printing small tables without hassle: just one function call,
|
||||||
guided by the data itself
|
formatting is guided by the data itself
|
||||||
* authoring tabular data for lightweight plain-text markup: multiple output
|
* authoring tabular data for lightweight plain-text markup: multiple
|
||||||
formats suitable for further editing or transformation
|
output formats suitable for further editing or transformation
|
||||||
* readable presentation of mixed textual and numeric data: smart column
|
* readable presentation of mixed textual and numeric data: smart
|
||||||
alignment, configurable number formatting, alignment by a decimal point
|
column alignment, configurable number formatting, alignment by a
|
||||||
|
decimal point
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n tabulate-%{version}
|
%autosetup -n tabulate-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_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}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc LICENSE README
|
%doc README README.rst
|
||||||
|
%python3_only %{_bindir}/tabulate
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:83a0b8e17c09f012090a50e1e97ae897300a72b35e0c86c0b53d3bd2ae86d8c6
|
|
||||||
size 39140
|
|
3
tabulate-0.8.2.tar.gz
Normal file
3
tabulate-0.8.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e4ca13f26d0a6be2a2915428dc21e732f1e44dad7f76d7030b2ef1ec251cf7f2
|
||||||
|
size 45758
|
Loading…
Reference in New Issue
Block a user