Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37857853
en ru br
ALT Linux repos
S:4.0.0-alt1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname munch

%def_with check

Name:               python3-module-munch
Version:            4.0.0
Release:            alt1

Summary:            A dot-accessible dictionary (a la JavaScript objects)

Group:              Development/Python3
License:            MIT
URL:                https://pypi.io/project/munch

Source:             %name-%version.tar

BuildArch:          noarch

BuildRequires:      rpm-build-python3
BuildRequires:      python3-module-pbr

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

%description
munch is a fork of David Schoonover's **Bunch** package, providing similar
functionality. 99 percent of the work was done by him, and the fork was made
mainly for lack of responsiveness for fixes and maintenance on the original
code.

Munch is a dictionary that supports attribute-style access, a la
JavaScript.

%prep
%setup

%build
export PBR_VERSION=%version
%python3_build

%install
export PBR_VERSION=%version
%python3_install

%check
py.test-3 -v

%files
%doc README.md LICENSE.txt
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%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