File python-pyexcel.spec of Package python-pyexcel
#
# spec file for package python-pyexcel
#
# Copyright (c) 2025, Martin Hauke <mardnh@gmx.de>
#
# 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 https://bugs.opensuse.org/
#
Name: python-pyexcel
Version: 0.7.3
Release: 0
Summary: A wrapper library that provides one API to read, manipulate and writedata in different excel formats
License: BSD-3-Clause
URL: http://pyexcel.org/
#Git-Clone: https://github.com/pyexcel/pyexcel.git
Source: https://files.pythonhosted.org/packages/source/p/pyexcel/pyexcel-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
# SECTION test requirements
#BuildRequires: %{python_module lml >= 0.2.0}
#BuildRequires: %{python_module pyexcel-io >= 0.6.2}
#BuildRequires: %{python_module texttable >= 0.8.2}
BuildRequires: %{python_module pytest}
# /SECTION
BuildRequires: fdupes
Requires: python-lml >= 0.2.0
Requires: python-pyexcel-io >= 0.6.2
Requires: python-texttable >= 0.8.2
#Requires: python-pyexcel-ods3 >= 0.6.0
#Requires: python-pyexcel-xls >= 0.6.0
#Requires: python-pyexcel-xlsx >= 0.6.0
BuildArch: noarch
%python_subpackages
%description
A wrapper library that provides one API to read, manipulate and writedata in different excel formats
%prep
%autosetup -p1 -n pyexcel-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# disabled for now - nose is obsolete, port to nose2 ?
#%%pytest
%files %{python_files}
%license LICENSE
%doc CHANGELOG.rst README.rst
%{python_sitelib}/pyexcel
%{python_sitelib}/pyexcel-%{version}.dist-info
%changelog