File python-pyprel.spec of Package python-pyprel

# spec file for package python-pyprel
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-pyprel
Version:        2018.9.14.1501
Release:        0
Summary:        Python print elegant
License:        GPL-3.0-only
Group:          Development/Languages/Python
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
# SECTION test requirements
BuildRequires:  %{python_module Pillow}
BuildRequires:  %{python_module numpy}
BuildRequires:  %{python_module pandas}
BuildRequires:  %{python_module pyfiglet}
BuildRequires:  %{python_module shijian}
Requires:       python-Pillow
Requires:       python-numpy
Requires:       python-pandas
Requires:       python-pyfiglet
Requires:       python-shijian
BuildArch:      noarch


This module provides Python rendering functionality. It can render a
dictionary such that it is displayed with indentations for
illustration of hierarchy. It can center blocks of text for terminal
output. It can render segment displays. It can render and display
tables of various specified widths and column widths with various
text wrapping features and delimiters. It can provide color palettes,
extend them and save images of them.

%setup -q -n pyprel-%{version}
cp %{SOURCE10} .


%python_expand %fdupes %{buildroot}%{$python_sitelib}

%files %{python_files}
%license LICENSE

openSUSE Build Service is sponsored by