diff --git a/python-schema.changes b/python-schema.changes index ce376b1..a476132 100644 --- a/python-schema.changes +++ b/python-schema.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Mar 26 16:29:04 UTC 2019 - pgajdos@suse.com + +- version update to 0.7.0 + * Add an is_valid method to the schema + * Fix typo in schema.py: vaidated->validated + * Fix callable check under PyPy2 + ------------------------------------------------------------------- Tue Dec 4 12:54:17 UTC 2018 - Matej Cepl diff --git a/python-schema.spec b/python-schema.spec index 8247ff2..019ce4e 100644 --- a/python-schema.spec +++ b/python-schema.spec @@ -1,7 +1,7 @@ # # spec file for package python-schema # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-schema -Version: 0.6.7 +Version: 0.7.0 Release: 0 Summary: Data validation library License: MIT @@ -29,9 +28,12 @@ Source: https://files.pythonhosted.org/packages/source/s/schema/schema-% BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} +# SECTION test requirements +BuildRequires: %{python_module contextlib2 >= 0.5.5} +BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} -%endif +# /SECTION +Requires: python-contextlib2 >= 0.5.5 BuildArch: noarch %python_subpackages @@ -51,10 +53,8 @@ parsing, converted from JSON/YAML (or something else) to Python data-types. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check %python_exec test_schema.py -%endif %files %{python_files} %defattr(-,root,root,-) diff --git a/schema-0.6.7.tar.gz b/schema-0.6.7.tar.gz deleted file mode 100644 index c7d4a17..0000000 --- a/schema-0.6.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:410f44cb025384959d20deef00b4e1595397fa30959947a4f0d92e9c84616f35 -size 18746 diff --git a/schema-0.7.0.tar.gz b/schema-0.7.0.tar.gz new file mode 100644 index 0000000..36195af --- /dev/null +++ b/schema-0.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44add3ef9016c85ac4b0291b45286a657d0df309b31528ca8d0a9c6d0aa68186 +size 19407