forked from pool/python-schema
Accepting request 688869 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/688869 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-schema?expand=0&rev=3
This commit is contained in:
@@ -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 <mcepl@suse.com>
|
Tue Dec 4 12:54:17 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-schema
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,9 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without test
|
|
||||||
Name: python-schema
|
Name: python-schema
|
||||||
Version: 0.6.7
|
Version: 0.7.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Data validation library
|
Summary: Data validation library
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -29,9 +28,12 @@ Source: https://files.pythonhosted.org/packages/source/s/schema/schema-%
|
|||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
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}
|
BuildRequires: %{python_module pytest}
|
||||||
%endif
|
# /SECTION
|
||||||
|
Requires: python-contextlib2 >= 0.5.5
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -51,10 +53,8 @@ parsing, converted from JSON/YAML (or something else) to Python data-types.
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%if %{with test}
|
|
||||||
%check
|
%check
|
||||||
%python_exec test_schema.py
|
%python_exec test_schema.py
|
||||||
%endif
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:410f44cb025384959d20deef00b4e1595397fa30959947a4f0d92e9c84616f35
|
|
||||||
size 18746
|
|
3
schema-0.7.0.tar.gz
Normal file
3
schema-0.7.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:44add3ef9016c85ac4b0291b45286a657d0df309b31528ca8d0a9c6d0aa68186
|
||||||
|
size 19407
|
Reference in New Issue
Block a user