File python-pyexcel-xls.spec of Package python-pyexcel-xls
#
# spec file for package python-pyexcel-xls
#
# 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-xls
Version: 0.7.1
Release: 0
Summary: A wrapper library to read, manipulate and write data in xls format Itreads xlsx and xlsm format
License: BSD-3-Clause
URL: https://github.com/pyexcel/pyexcel-xls
Source: https://files.pythonhosted.org/packages/source/p/pyexcel-xls/pyexcel_xls-%{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 pyexcel-io >= 0.6.2}
BuildRequires: %{python_module pyexcel}
BuildRequires: %{python_module xlrd}
BuildRequires: %{python_module xlwt}
BuildRequires: %{python_module pytest}
#### texttable seems to be an indirect dependecy - TO INVESTIGATE
BuildRequires: %{python_module texttable}
# /SECTION
BuildRequires: fdupes
Requires: python-pyexcel-io >= 0.6.2
Requires: python-xlrd
Requires: python-xlwt
BuildArch: noarch
%python_subpackages
%description
A wrapper library to read, manipulate and write data in xls format. Itreads xlsx and xlsm format
%prep
%autosetup -p1 -n pyexcel_xls-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%doc CHANGELOG.rst README.rst
%{python_sitelib}/pyexcel_xls
%{python_sitelib}/pyexcel_xls-%{version}.dist-info
%changelog