2015-10-31 08:07:01 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-multi_key_dict
|
|
|
|
|
#
|
2025-06-02 13:32:57 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2015-10-31 08:07:01 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2018-12-04 13:41:25 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-09-05 17:13:02 +00:00
|
|
|
#
|
2015-10-31 08:07:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-multi_key_dict
|
|
|
|
|
Version: 2.0.3
|
|
|
|
|
Release: 0
|
|
|
|
|
Summary: Multi key dictionary implementation
|
2017-09-05 17:13:02 +00:00
|
|
|
License: MIT
|
2015-10-31 08:07:01 +00:00
|
|
|
Group: Development/Languages/Python
|
2020-08-12 22:41:35 +00:00
|
|
|
URL: https://github.com/formiaczek/multi_key_dict
|
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/m/multi_key_dict/multi_key_dict-%{version}.tar.gz
|
2025-06-02 13:32:57 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2018-12-06 16:47:22 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2025-06-02 13:32:57 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2017-09-05 17:13:02 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2015-10-31 08:07:01 +00:00
|
|
|
BuildArch: noarch
|
2017-09-05 17:13:02 +00:00
|
|
|
%python_subpackages
|
2015-10-31 08:07:01 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Multi-key dict provides also extended interface for iterating over items and
|
|
|
|
|
keys (e.g. by the key type), which might be useful when creating, e.g.
|
|
|
|
|
dictionaries with index-name key pair allowing to iterate over items using
|
|
|
|
|
either: names or indexes.
|
|
|
|
|
It can be useful for many many other similar use-cases, and there is no limit
|
|
|
|
|
to the number of keys used to map to the value.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n multi_key_dict-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
2025-06-02 13:32:57 +00:00
|
|
|
%pyproject_wheel
|
2015-10-31 08:07:01 +00:00
|
|
|
|
|
|
|
|
%install
|
2025-06-02 13:32:57 +00:00
|
|
|
%pyproject_install
|
2015-10-31 08:07:01 +00:00
|
|
|
|
2017-09-05 17:13:02 +00:00
|
|
|
%files %{python_files}
|
2015-10-31 08:07:01 +00:00
|
|
|
%doc README.txt
|
2025-06-02 14:04:10 +00:00
|
|
|
%{python_sitelib}/multi_key_dict.py
|
2025-06-02 13:32:57 +00:00
|
|
|
%{python_sitelib}/multi_key_dict-%{version}*-info
|
2025-06-02 14:04:10 +00:00
|
|
|
%pycache_only %{python_sitelib}/__pycache__/multi_key_dict*
|
2015-10-31 08:07:01 +00:00
|
|
|
|
|
|
|
|
%changelog
|