3884ee3
Name:           python-lazr-config
3884ee3
Version:        3.0
31ac305
Release:        %autorelease
3884ee3
Summary:        Create configuration schemas, and process and validate configurations.
e04331a
3884ee3
License:        LGPL-3.0-only
e04331a
URL:            https://launchpad.net/lazr.config
3884ee3
Source:         %{pypi_source lazr.config}
056e668
# /usr/bin/zope-testrunner could not find lazr.config due to lazr.delegates being in
056e668
# a different directory *and* being invoked with python -sP
056e668
Patch:          lazr.config-avoid-python-sP.diff
3884ee3
e04331a
BuildArch:      noarch
3884ee3
BuildRequires:  python3-devel
e04331a
e04331a
3884ee3
%global _description %{expand:
3884ee3
The LAZR config system is typically used to manage process configuration.
3884ee3
Process configuration is for saying how things change when we run systems on
3884ee3
different machines, or under different circumstances.
3884ee3
3884ee3
This system uses ini-like file format of section, keys, and values. The config
3884ee3
file supports inheritance to minimize duplication of information across files.
3884ee3
The format supports schema validation.}
e04331a
e04331a
3884ee3
%description %_description
3884ee3
3884ee3
%package -n     python3-lazr-config
e04331a
Summary:        %{summary}
e04331a
3884ee3
%description -n python3-lazr-config %_description
e04331a
e04331a
e04331a
%prep
3884ee3
%autosetup -p1 -n lazr.config-%{version}
3884ee3
e04331a
3884ee3
%generate_buildrequires
3884ee3
%pyproject_buildrequires -t
e04331a
e04331a
e04331a
%build
3884ee3
%pyproject_wheel
e04331a
e04331a
e04331a
%install
3884ee3
%pyproject_install
3884ee3
%pyproject_save_files lazr
e04331a
e04331a
e04331a
%check
3884ee3
%pyproject_check_import
3884ee3
%tox
3884ee3
3884ee3
3884ee3
%files -n python3-lazr-config -f %{pyproject_files}
3884ee3
%{python3_sitelib}/lazr.config-%{version}-py%{python3_version}-nspkg.pth
e04331a
e04331a
e04331a
%changelog
31ac305
%autochangelog