File python-pyexcel-io.spec of Package python-pyexcel-io
#
# spec file for package python-pyexcel-io
#
# 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-io
Version: 0.6.7
Release: 0
Summary: A python library to read and write structured data in csv, zipped csvformat and to/from databases
License: BSD-3-Clause
URL: http://io.pyexcel.org/
#Git-Clone: https://github.com/pyexcel/pyexcel-io.git
Source: https://files.pythonhosted.org/packages/source/p/pyexcel-io/pyexcel_io-%{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.0.4}
#BuildRequires: %%{python_module sqlalchemy}
#BuildRequires: %{python_module pytest}
#
#BuildRequires: %%{python_module nose}
#BuildRequires: %%{python_module pyexcel}
# /SECTION
BuildRequires: fdupes
Requires: python-lml >= 0.0.4
Requires: python-chardet
#Requires: python-pyexcel-xls >= 0.6.0
#Requires: python-pyexcel-xlsx >= 0.6.0
#Requires: python-pyexcel-ods3 >= 0.6.0
BuildArch: noarch
%python_subpackages
%description
A python library to read and write structured data in csv, zipped
csvformat and to/from databases.
%prep
%autosetup -p1 -n pyexcel_io-%{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_io
%{python_sitelib}/pyexcel_io-%{version}.dist-info
%changelog