Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37770251
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-cerberus

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin