forked from pool/python-openapi-spec-validator
- Update to 0.2.7:
* Replace pathlib with pathlib2 (#68) * Bump PyYAML to 5.1 for CVE-2017-18342 (#69) * Support jsonschema 3 (#72) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-openapi-spec-validator?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
dc7007fdba
commit
72f28bef0e
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fb0596c54b67f5f521aa27bd0f3a638319b9fccc7afd9802b140d8699b39b668
|
||||
size 25789
|
||||
3
0.2.7.tar.gz
Normal file
3
0.2.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d869974f783a7e2332f36ed622f63018e8f93e48a57187ea09824142584a6038
|
||||
size 25844
|
||||
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 3 11:11:08 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.2.7:
|
||||
* Replace pathlib with pathlib2 (#68)
|
||||
* Bump PyYAML to 5.1 for CVE-2017-18342 (#69)
|
||||
* Support jsonschema 3 (#72)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 10 14:31:25 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-openapi-spec-validator
|
||||
#
|
||||
# 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
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-openapi-spec-validator
|
||||
Version: 0.2.4
|
||||
Version: 0.2.7
|
||||
Release: 0
|
||||
Summary: Python module for validating OpenAPI Specs against Swagger and OAS3
|
||||
License: Apache-2.0
|
||||
@@ -26,19 +26,23 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/p1c2u/openapi-spec-validator
|
||||
Source: https://github.com/p1c2u/openapi-spec-validator/archive/%{version}.tar.gz
|
||||
Patch0: openapi-spec-validator-skip-urls.patch
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module PyYAML >= 5.1}
|
||||
BuildRequires: %{python_module jsonschema}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-pathlib2
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-PyYAML
|
||||
Requires: python-PyYAML >= 5.1
|
||||
Requires: python-jsonschema
|
||||
Requires: python-six
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
Requires: python-pathlib2
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -66,7 +70,7 @@ for full compliance with the Specification.
|
||||
%python_uninstall_alternative openapi-spec-validator
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix}
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
||||
Reference in New Issue
Block a user