14
0
Files
python-tabledata/python-tabledata.spec
Steve Kowalik 3c6fa7b2c3 - Update to 1.3.4:
* Drop support for Python 3.7/3.8
  * Add support for Python 3.12/3.13
  * Improve type annotations
  * Drop support for Python 3.6
  * Bump minimum required version of DataProperty to 1.0.1
  * Improve type annotations
  * Update [build-system]
  * Add zip_safe=False
  * Add __all__ to init.py
  * Update DeprecationWarning
  * Lazily import pandas to speedup non-pandas use
  * Add support for Python 3.11
  * Update requirements
  * Add max_precision to the TableData constructor
  * Update requirements
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tabledata?expand=0&rev=3
2025-02-28 04:39:04 +00:00

65 lines
1.9 KiB
RPMSpec

#
# spec file for package python-tabledata
#
# Copyright (c) 2025 SUSE LLC
#
# 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-tabledata
Version: 1.3.4
Release: 0
Summary: Python library to represent tabular data
License: MIT
URL: https://github.com/thombashi/tabledata
Source: https://files.pythonhosted.org/packages/source/t/tabledata/tabledata-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 64}
BuildRequires: %{python_module setuptools_scm >= 8}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
## SECTION test requirements
BuildRequires: %{python_module DataProperty >= 1.0.1}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module typepy >= 1.2.0}
## /SECTION
Requires: python-DataProperty >= 1.0.1
Requires: python-typepy >= 1.2.0
BuildArch: noarch
%python_subpackages
%description
tabledata is a Python library to represent tabular data.
%prep
%setup -q -n tabledata-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/tabledata
%{python_sitelib}/tabledata-%{version}.dist-info
%changelog