Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
python-sparse
python-sparse.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-sparse.spec of Package python-sparse
# # spec file for package python-sparse # # 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-sparse Version: 0.11.2 Release: 0 Summary: Sparse n-dimensional arrays for Python License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/pydata/sparse Source: https://files.pythonhosted.org/packages/source/s/sparse/sparse-%{version}.tar.gz # PATCH-FIX-UPSTREAM sparse-pr421-fix-cootype.patch -- gh#pydata#sparse#421 Patch0: %{url}/pull/421.patch#/sparse-pr421-fix-cootype.patch BuildRequires: %{python_module pathlib} BuildRequires: %{python_module setuptools} # SECTION test requirements BuildRequires: %{python_module dask-array} BuildRequires: %{python_module numba >= 0.49} BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scipy >= 0.19} # /SECTION BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-numba >= 0.49 Requires: python-numpy Requires: python-scipy >= 0.19 BuildArch: noarch %python_subpackages %description This module implements sparse multidimensional arrays on top of NumPy and Scipy.sparse. It generalizes the scipy.sparse.coo_matrix layout, but extends beyond just rows and columns to an arbitrary number of dimensions. The original motivation is for machine learning algorithms, but it is intended for somewhat general use. %prep %autosetup -p1 -n sparse-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest %files %{python_files} %doc README.rst docs/*.rst %license LICENSE %{python_sitelib}/sparse %{python_sitelib}/sparse-%{version}*-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor