mirror of
https://abf.rosa.ru/djam/python-jsonschema.git
synced 2025-02-23 08:22:52 +00:00
Import python-jsonschema module
This commit is contained in:
commit
241a85a7dc
3 changed files with 40 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
jsonschema-2.3.0.tar.gz: 928c9b43f35298346b27b910660944dde931048e
|
BIN
jsonschema-2.3.0.tar.gz
Normal file
BIN
jsonschema-2.3.0.tar.gz
Normal file
Binary file not shown.
38
python-jsonschema.spec
Normal file
38
python-jsonschema.spec
Normal file
|
@ -0,0 +1,38 @@
|
|||
%define oname jsonschema
|
||||
|
||||
Name: python-%{oname}
|
||||
Version: 2.3.0
|
||||
Release: 1
|
||||
Summary: An implementation of JSON Schema validation for Python
|
||||
Source0: http://pypi.python.org/packages/source/j/%{oname}/%{oname}-%{version}.tar.gz
|
||||
License: MIT
|
||||
Group: Development/Python
|
||||
Url: http://github.com/Julian/jsonschema
|
||||
BuildArch: noarch
|
||||
BuildRequires: pkgconfig(python)
|
||||
BuildRequires: pythonegg(nose)
|
||||
BuildRequires: pythonegg(mock)
|
||||
|
||||
|
||||
%description
|
||||
jsonschema is JSON Schema validator currently based on
|
||||
http://tools.ietf.org/html/draft-zyp-json-schema-03
|
||||
|
||||
%prep
|
||||
%setup -q -n %{oname}-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --root=%{buildroot}
|
||||
|
||||
%check
|
||||
%{_bindir}/nosetests-2* -v
|
||||
|
||||
%files
|
||||
%doc CHANGELOG.rst COPYING README.rst
|
||||
%{py_puresitedir}/jsonschema/*.py*
|
||||
%{py_puresitedir}/jsonschema/tests/*.py*
|
||||
%{py_puresitedir}/jsonschema*.egg-info
|
||||
%{py_puresitedir}/jsonschema/schemas/draft*.json
|
Loading…
Add table
Reference in a new issue