2017-03-14 12:58:15 +00:00
|
|
|
#
|
2022-01-08 12:10:05 +00:00
|
|
|
# spec file for package python-frozendict
|
2017-03-14 12:58:15 +00:00
|
|
|
#
|
2024-04-20 20:42:10 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2017-03-14 12:58:15 +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:28:36 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
|
#
|
2017-03-14 12:58:15 +00:00
|
|
|
|
|
|
|
|
|
2023-06-11 11:44:01 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2022-01-08 12:10:05 +00:00
|
|
|
Name: python-frozendict
|
2024-10-29 21:35:44 +00:00
|
|
|
Version: 2.4.6
|
2017-03-14 12:58:15 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: An immutable dictionary
|
2018-12-04 13:28:36 +00:00
|
|
|
License: MIT
|
2017-03-14 12:58:15 +00:00
|
|
|
Group: Development/Languages/Python
|
2023-02-20 07:45:57 +00:00
|
|
|
URL: https://github.com/Marco-Sulla/python-frozendict
|
2017-03-14 12:58:15 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/f/frozendict/frozendict-%{version}.tar.gz
|
2022-01-08 11:21:37 +00:00
|
|
|
BuildRequires: %{python_module devel}
|
2024-04-20 20:42:10 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2022-01-08 12:10:05 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2024-04-20 20:42:10 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2017-03-14 12:58:15 +00:00
|
|
|
BuildRequires: fdupes
|
2018-12-04 13:28:36 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2017-03-14 12:58:15 +00:00
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
frozendict is an immutable wrapper around dictionaries that implements the
|
|
|
|
|
complete mapping interface. It can be used as a drop-in replacement for
|
|
|
|
|
dictionaries where immutability is desired.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n frozendict-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
2024-04-20 20:42:10 +00:00
|
|
|
%pyproject_wheel
|
2017-03-14 12:58:15 +00:00
|
|
|
|
|
|
|
|
%install
|
2024-04-20 20:42:10 +00:00
|
|
|
%pyproject_install
|
2017-03-14 12:58:15 +00:00
|
|
|
|
2019-06-05 11:38:40 +00:00
|
|
|
%check
|
2024-04-20 20:42:10 +00:00
|
|
|
%pytest_arch
|
2019-06-05 11:38:40 +00:00
|
|
|
|
2018-12-04 17:13:47 +00:00
|
|
|
%files %{python_files}
|
|
|
|
|
%license LICENSE.txt
|
2022-01-08 11:21:37 +00:00
|
|
|
%doc README.md
|
2024-04-20 20:42:10 +00:00
|
|
|
%{python_sitearch}/frozendict-%{version}.dist-info
|
2022-01-08 11:21:37 +00:00
|
|
|
%{python_sitearch}/frozendict
|
2017-03-14 12:58:15 +00:00
|
|
|
|
|
|
|
|
%changelog
|