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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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