- Update to 0.301 * Following pandas release v1.0.0, removing deprecated keyword args "broadcast" and "reduce" OBS-URL: https://build.opensuse.org/request/show/773482 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-swifter?expand=0&rev=7
74 lines
2.3 KiB
RPMSpec
74 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package python-swifter
|
|
#
|
|
# Copyright (c) 2020 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-swifter
|
|
Version: 0.301
|
|
Release: 0
|
|
Summary: Tool to speed up pandas calculations
|
|
License: MIT
|
|
URL: https://github.com/jmcarpenter2/swifter
|
|
Source: https://github.com/jmcarpenter2/swifter/archive/%{version}.tar.gz#/swifter-%{version}.tar.gz
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
Requires: python-dask-all >= 0.19.0
|
|
Requires: python-ipywidgets >= 7.0.0
|
|
Requires: python-numba
|
|
Requires: python-pandas >= 0.23.0
|
|
Requires: python-parso > 0.4.0
|
|
Requires: python-psutil
|
|
Requires: python-tqdm >= 4.33.0
|
|
BuildArch: noarch
|
|
# SECTION test requirements
|
|
BuildRequires: %{python_module dask-all >= 0.19.0}
|
|
BuildRequires: %{python_module ipywidgets >= 7.0.0}
|
|
BuildRequires: %{python_module nose}
|
|
BuildRequires: %{python_module numba}
|
|
BuildRequires: %{python_module pandas >= 0.23.0}
|
|
BuildRequires: %{python_module parso > 0.4.0}
|
|
BuildRequires: %{python_module psutil}
|
|
BuildRequires: %{python_module tqdm >= 4.33.0}
|
|
# /SECTION
|
|
%python_subpackages
|
|
|
|
%description
|
|
A package which efficiently applies any function to a
|
|
pandas dataframe or series in the fastest available manner
|
|
|
|
%prep
|
|
%setup -q -n swifter-%{version}
|
|
|
|
%build
|
|
%python_build
|
|
|
|
%install
|
|
%python_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%check
|
|
%python_expand nosetests-%{$python_bin_suffix}
|
|
|
|
%files %{python_files}
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{python_sitelib}/*
|
|
|
|
%changelog
|