From 15934b809b800ff42aadc43648c45b2e503f2d4367a9cf5fc57e5c917584d40d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 20 Jul 2018 11:39:53 +0000 Subject: [PATCH] - Version update to 1.4.0: * Add set_header_align() method (#45) * Fix missing textwrapper command when cjkwrap is not used (#43) * Remove redundant code for unsupported/EOL Python (#31) * Use test_cjkwrap only when cjkwrap is available (#35) * Use cjkwrap for better CJK text support (#34) - Enable tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-texttable?expand=0&rev=7 --- python-texttable.changes | 11 +++++++++++ python-texttable.spec | 16 +++++----------- texttable-1.1.1.tar.gz | 3 --- texttable-1.4.0.tar.gz | 3 +++ 4 files changed, 19 insertions(+), 14 deletions(-) delete mode 100644 texttable-1.1.1.tar.gz create mode 100644 texttable-1.4.0.tar.gz diff --git a/python-texttable.changes b/python-texttable.changes index 9523908..7c48bab 100644 --- a/python-texttable.changes +++ b/python-texttable.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Jul 20 11:36:41 UTC 2018 - tchvatal@suse.com + +- Version update to 1.4.0: + * Add set_header_align() method (#45) + * Fix missing textwrapper command when cjkwrap is not used (#43) + * Remove redundant code for unsupported/EOL Python (#31) + * Use test_cjkwrap only when cjkwrap is available (#35) + * Use cjkwrap for better CJK text support (#34) +- Enable tests + ------------------------------------------------------------------- Thu Dec 7 13:10:46 UTC 2017 - sebix+novell.com@sebix.at diff --git a/python-texttable.spec b/python-texttable.spec index 621288c..a38ed0a 100644 --- a/python-texttable.spec +++ b/python-texttable.spec @@ -1,7 +1,7 @@ # # spec file for package python-texttable # -# 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 @@ -17,20 +17,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-texttable -Version: 1.1.1 +Version: 1.4.0 Release: 0 Summary: Module for creating simple ASCII tables -License: LGPL-3.0 +License: LGPL-3.0-only Group: Development/Languages/Python Url: https://github.com/foutaise/texttable/ Source: https://files.pythonhosted.org/packages/source/t/texttable/texttable-%{version}.tar.gz -BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -%if %{with test} -BuildRequires: python3-testsuite -%endif BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -51,10 +47,8 @@ characters. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -%python_exec setup.py test -%endif +%python_expand py.test-%{$python_bin_suffix} tests.py %files %{python_files} %license LICENSE diff --git a/texttable-1.1.1.tar.gz b/texttable-1.1.1.tar.gz deleted file mode 100644 index 5299d64..0000000 --- a/texttable-1.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:44674d1d470a9fc264c4d1eba44b74463ca0066d7b954453dd5a4f8057779c9c -size 11623 diff --git a/texttable-1.4.0.tar.gz b/texttable-1.4.0.tar.gz new file mode 100644 index 0000000..d3f1ac8 --- /dev/null +++ b/texttable-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95e8cfe85f8395a7eacdfbc8f09d885b9ef3a6ac6ead0364ea721de1127aa36b +size 12274