Package python3-module-cerberus: Specfile

%define oname cerberus

%def_with check

Name: python3-module-%oname
Version: 1.3.5
Release: alt1

Summary: Extensible validation for Python dictionaries

License: ISCL
Group: Development/Python3
URL: https://pypi.org/project/Cerberus
VCS: https://github.com/pyeve/cerberus

BuildArch: noarch

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel

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

%py3_provides %oname
%add_python3_req_skip cerberus.benchmarks.schemas.overalll_schema_2

%description
Cerberus is an ISC Licensed validation tool for Python dictionaries.

Cerberus provides type checking and other base functionality out of the
box and is designed to be non-blocking and easily extensible, allowing
for custom validation.

%prep
%setup

%build
%pyproject_build

%install
%pyproject_install

%check
%tox_check_pyproject

%files
%doc AUTHORS LICENSE *.rst
%python3_sitelibdir/%oname
%python3_sitelibdir/Cerberus-%version.dist-info

%changelog
* Tue Aug 22 2023 Grigory Ustinov <grenka@altlinux.org> 1.3.5-alt1
- Automatically updated to 1.3.5.

* Thu May 12 2022 Grigory Ustinov <grenka@altlinux.org> 1.3.4-alt1
- Automatically updated to 1.3.4.

* Tue Jul 28 2020 Grigory Ustinov <grenka@altlinux.org> 1.3.2-alt1
- Build new version.
- Drop python2 support.

* Thu Aug 08 2019 Stanislav Levin <slev@altlinux.org> 1.2-alt2
- Fixed testing against Pytest 5.

* Sat Jul 14 2018 Terechkov Evgenii <evg@altlinux.org> 1.2-alt1
- 1.2 (ALT #35154)

* Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 1.1-alt1.1
- (NMU) Fix Requires and BuildRequires to python-setuptools

* Tue May 23 2017 Lenar Shakirov <snejok@altlinux.ru> 1.1-alt1
- New version

* Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.8-alt1.git20141120.1
- (NMU) rebuild with rpm-build-python3-0.1.9
  (for common python3/site-packages/ and auto python3.3-ABI dep when needed)

* Thu Nov 27 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8-alt1.git20141120
- Initial build for Sisyphus