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

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define oname pykwalify

%def_disable check

Name: python3-module-%oname
Version: 1.8.0
Release: alt1
Epoch: 1
Summary: Python lib/cli for JSON/YAML schema validation
License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/pykwalify/
#Git: https://github.com/Grokzen/pykwalify.git

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

BuildRequires(pre): rpm-build-python3

%py3_provides %oname
#%py3_requires json docopt yaml

%description
YAML/JSON validation library.

This framework is a port with alot added functionality of the java
version of the framework kwalify that can be found at:
http://www.kuwata-lab.com/kwalify/

%prep
%setup

%build
%python3_build_debug

%install
%python3_install
pushd %buildroot%_bindir
for i in $(ls); do
mv $i $i.py3
done
popd

%check
python3 setup.py test
py.test-%_python3_version -vv

%files
%doc *.md docs/*
%_bindir/*.py3
%python3_sitelibdir/*

%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