14
0
forked from pool/python-zict
Files
python-zict/python-zict.spec
Tomáš Chvátal 47e60494c0 Accepting request 782900 from home:pgajdos:python
- version update to 2.0.0
  * Create CONTRIBUTING.md (:pr:`28`) Jacob Tomlinson
  * Import ABC from collections.abc instead of collections for Python 3.9 compatibility (:pr:`31`) Karthikeyan Singaravelan
  * Drop Python 2 / 3.5 and add Python 3.7 / 3.8 support (:pr:`34`) James Bourbeau
  * Duplicate keys fast slow (:pr:`32`) fjetter
  * Fix dask cuda worker's race condition failure (:pr:`33`) Pradipta Ghosh
  * Changed default lmdb encoding to utf-8 (:pr:`36`) Alex Davies
  * Add code linting and style check (:pr:`35`) James Bourbeau

OBS-URL: https://build.opensuse.org/request/show/782900
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zict?expand=0&rev=14
2020-03-09 11:05:34 +00:00

65 lines
1.8 KiB
RPMSpec

#
# spec file for package python-zict
#
# 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-zict
Version: 2.0.0
Release: 0
Summary: Mutable mapping tools
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/dask/zict/
Source: https://files.pythonhosted.org/packages/source/z/zict/zict-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-HeapDict
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module HeapDict}
BuildRequires: %{python_module lmdb}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
%description
Mutable Mapping interfaces for python.
%prep
%setup -q -n zict-%{version}
# needs more memory than what we have on generic hosts
rm zict/tests/test_lmdb.py
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE.txt
%doc README.rst
%{python_sitelib}/*
%changelog