14
0
forked from pool/python-schema

Accepting request 788534 from home:mcalabkova:branches:devel:languages:python

- update to 0.7.1
  * JSON Schema: Fix allOf and oneOf with only one condition
  * JSON Schema: Fix using falsy values as default
  * Add 3.7 to "schema is tested with..." list
  * JSON schema now rendering using references

OBS-URL: https://build.opensuse.org/request/show/788534
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-schema?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal
2020-03-26 13:07:28 +00:00
committed by Git OBS Bridge
parent fccf539bec
commit 7981ea4002
4 changed files with 16 additions and 7 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Mar 26 12:29:02 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 0.7.1
* JSON Schema: Fix allOf and oneOf with only one condition
* JSON Schema: Fix using falsy values as default
* Add 3.7 to "schema is tested with..." list
* JSON schema now rendering using references
-------------------------------------------------------------------
Tue Mar 26 16:29:04 UTC 2019 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-schema
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-schema
Version: 0.7.0
Version: 0.7.1
Release: 0
Summary: Data validation library
License: MIT
Group: Development/Languages/Python
Url: https://github.com/keleshev/schema
URL: https://github.com/keleshev/schema
Source: https://files.pythonhosted.org/packages/source/s/schema/schema-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -54,7 +54,7 @@ parsing, converted from JSON/YAML (or something else) to Python data-types.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec test_schema.py
%pytest test_schema.py
%files %{python_files}
%defattr(-,root,root,-)

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44add3ef9016c85ac4b0291b45286a657d0df309b31528ca8d0a9c6d0aa68186
size 19407

3
schema-0.7.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c9dc8f4624e287c7d1435f8fd758f6a0aabbb7eff442db9192cd46f0e2b6d959
size 38957