forked from pool/python-texttable
- 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
This commit is contained in:
committed by
Git OBS Bridge
parent
6fb7c641cb
commit
15934b809b
@@ -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
|
||||
|
Reference in New Issue
Block a user