Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37774191
en ru br
ALT Linux repos
S:2.3.8-alt2

Group :: Development/Python3
RPM: python3-module-frozendict

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define modulename frozendict

%def_with check

Name: python3-module-frozendict
Version: 2.3.6
Release: alt1

Summary: An immutable dictionary

Url: https://pypi.org/project/frozendict
License: MIT
Group: Development/Python3

Packager: Vitaly Lipatov <lav at altlinux.ru>

# https://github.com/Marco-Sulla/python-frozendict

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3

%if_with check
BuildRequires: python3-module-pytest
%endif

%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

%build
%python3_build

%install
%python3_install

%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3 -v

%files
%doc README.md
%python3_sitelibdir/%modulename
%python3_sitelibdir/%modulename-%version-py%_python3_version.egg-info

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin