From 1178ed5099a79c9400c9af2a244acd5006ef116ced3bb347361bc11081ac0cad Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 21 Dec 2020 16:40:30 +0000 Subject: [PATCH] Accepting request 857838 from home:jayvdb:branches:devel:languages:python - Update to v0.2.9: * Added description to setup.py OBS-URL: https://build.opensuse.org/request/show/857838 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-openapi-spec-validator?expand=0&rev=14 --- 0.2.8.tar.gz | 3 --- 0.2.9.tar.gz | 3 +++ python-openapi-spec-validator.changes | 6 ++++++ python-openapi-spec-validator.spec | 16 +++++++++------- 4 files changed, 18 insertions(+), 10 deletions(-) delete mode 100644 0.2.8.tar.gz create mode 100644 0.2.9.tar.gz diff --git a/0.2.8.tar.gz b/0.2.8.tar.gz deleted file mode 100644 index 881207d..0000000 --- a/0.2.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:49a0c4dbd89fa66737fd8e93d71071d93c65c8586a4bff89771c65ec897916af -size 27028 diff --git a/0.2.9.tar.gz b/0.2.9.tar.gz new file mode 100644 index 0000000..46ca1c9 --- /dev/null +++ b/0.2.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f004bc1133b4c1ba1bc49577bf454be5e1bcc7ea64b21b7a112678da6577d35a +size 27242 diff --git a/python-openapi-spec-validator.changes b/python-openapi-spec-validator.changes index 153b5a6..9257407 100644 --- a/python-openapi-spec-validator.changes +++ b/python-openapi-spec-validator.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 21 11:31:22 UTC 2020 - John Vandenberg + +- Update to v0.2.9: + * Added description to setup.py + ------------------------------------------------------------------- Thu Apr 23 10:32:07 UTC 2020 - Tomáš Chvátal diff --git a/python-openapi-spec-validator.spec b/python-openapi-spec-validator.spec index 25dc98c..4ad2512 100644 --- a/python-openapi-spec-validator.spec +++ b/python-openapi-spec-validator.spec @@ -19,19 +19,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-openapi-spec-validator -Version: 0.2.8 +Version: 0.2.9 Release: 0 Summary: Python module for validating OpenAPI Specs against Swagger and OAS3 License: Apache-2.0 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 >= 5.1} -BuildRequires: %{python_module jsonschema} -BuildRequires: %{python_module mock} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyYAML >= 5.1 @@ -41,6 +36,13 @@ Requires: python-six Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module PyYAML >= 5.1} +BuildRequires: %{python_module jsonschema} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module six} +# /SECTION %if %{with python2} BuildRequires: python-pathlib2 %endif @@ -74,7 +76,7 @@ for full compliance with the Specification. %python_uninstall_alternative openapi-spec-validator %check -%pytest +%pytest -rs %files %{python_files} %doc README.md