Group :: Development/Python3
RPM: python3-module-munch
Main Changelog Spec Patches Sources Download Gear Bugs e 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
…
Todas as alterações você pod ver aqui
%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
…
Todas as alterações você pod ver aqui