15
0
forked from pool/python-zict
Files
python-zict/python-zict.spec
Dirk Mueller c0fa4ca494 Accepting request 1004224 from home:yarunachalam:branches:devel:languages:python
- version update to 2.2.0
  * New class zict.Cache (#65)
  * Add absolufy-imports to CI (#66)
  * Descope pickled outputs sooner (#64)
  * Type annotations (#62)
  * Add `python_requires` to `setup.py` (#60)
- version update to 2.1.0
  * Run `isort` to fix lint (#58)
  * Allow file `mmap`ing (#51)
  * Update `README` badges (#57)
  * Run `isort` and `pyupgrade` in CI (#56)
  * Drop Python 3.6; add 3.9 and 3.10; use pre-commit (#55)
  * LRU raises (#48)
  * Avoid deprecated `pytest.yield_fixture` usage (#50)
  * Update LICENSE.txt (#46)
  * Bump GHA setup-miniconda version (#41)
  * MNT Migrate to GitHub actions (#40)

OBS-URL: https://build.opensuse.org/request/show/1004224
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zict?expand=0&rev=16
2022-09-19 07:39:44 +00:00

65 lines
1.8 KiB
RPMSpec

#
# spec file for package python-zict
#
# Copyright (c) 2022 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.2.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