15
0
Files
python-DataProperty/python-DataProperty.spec
Markéta Machová 5b329ec21d Accepting request 890105 from home:mnhauke
- Update to 0.50.1
  * Change max_workers initial value to one to avoid problems
    caused by multiprocess.
  * Modify type annotations.

OBS-URL: https://build.opensuse.org/request/show/890105
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-DataProperty?expand=0&rev=14
2021-05-04 08:12:46 +00:00

68 lines
2.0 KiB
RPMSpec

#
# spec file for package python-DataProperty
#
# Copyright (c) 2021 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-DataProperty
Version: 0.50.1
Release: 0
Summary: Python library for extract property from data
License: MIT
Group: Development/Languages/Python
URL: https://github.com/thombashi/DataProperty
Source: https://files.pythonhosted.org/packages/source/D/DataProperty/DataProperty-%{version}.tar.gz
BuildRequires: %{python_module setuptools >= 38.3.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-mbstrdecoder >= 1.0.0
Requires: python-typepy >= 1.1.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module mbstrdecoder >= 1.0.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil >= 2.8.0}
BuildRequires: %{python_module pytz >= 2018.9}
BuildRequires: %{python_module termcolor}
BuildRequires: %{python_module typepy >= 1.1.0}
# /SECTION
%python_subpackages
%description
Python library for extract property from data.
%prep
%setup -q -n DataProperty-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/dataproperty*
%{python_sitelib}/DataProperty*
%changelog