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

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname cerberus

%def_with check

Name: python3-module-%oname
Version: 1.3.4
Release: alt1
Summary: Extensible validation for Python dictionaries
License: ISCL
Group: Development/Python3
Url: https://pypi.python.org/pypi/Cerberus

# https://github.com/pyeve/cerberus.git

Source: %name-%version.tar
BuildArch: noarch

BuildRequires(pre): rpm-build-python3
%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.

%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR

%description tests
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.

This package contains tests for %oname.

%prep
%setup

%build
%python3_build

%install
%python3_install

%check
py.test3 -v %oname/tests

%files
%doc AUTHORS LICENSE *.rst docs/*.rst
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/tests

%files tests
%python3_sitelibdir/*/tests

%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