14
0

Accepting request 676515 from home:jayvdb:pyexcel

- Update to 1.6.0
  * Added texttable.pyi 
  * Added missing set_header_align method stub
  * Allow chaining of method calls
  * Replace distutils with setuptools
  * Create a method for redefining the max_width 
  * Switch to MIT License
  * Use wcwidth if available for better rendering (basic emoji support)
  * Update README.md

OBS-URL: https://build.opensuse.org/request/show/676515
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-texttable?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal
2019-02-15 12:05:53 +00:00
committed by Git OBS Bridge
parent 15934b809b
commit 4acbb44c14
6 changed files with 338 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-texttable
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -12,25 +12,28 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-texttable
Version: 1.4.0
Version: 1.6.0
Release: 0
Summary: Module for creating simple ASCII tables
License: LGPL-3.0-only
License: MIT
Group: Development/Languages/Python
Url: https://github.com/foutaise/texttable/
URL: https://github.com/foutaise/texttable/
Source: https://files.pythonhosted.org/packages/source/t/texttable/texttable-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/foutaise/texttable/v%{version}/LICENSE
Source2: https://raw.githubusercontent.com/foutaise/texttable/master/tests.py
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-base
Recommends: python-wcwidth
BuildArch: noarch
%python_subpackages
%description
@@ -39,6 +42,7 @@ characters.
%prep
%setup -q -n texttable-%{version}
cp %{SOURCE1} %{SOURCE2} .
%build
%python_build