forked from pool/python-swagger-spec-validator
- Update to 3.0.4:
- set long_description metadata OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-swagger-spec-validator?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 6 14:50:41 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Update to 3.0.4:
|
||||||
|
- set long_description metadata
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 4 23:43:44 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
|
Fri Nov 4 23:43:44 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-swagger-spec-validator
|
# spec file for package python-swagger-spec-validator
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -18,26 +18,29 @@
|
|||||||
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-swagger-spec-validator
|
Name: python-swagger-spec-validator
|
||||||
Version: 3.0.3
|
Version: 3.0.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Validation of Swagger specifications
|
Summary: Validation of Swagger specifications
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: http://github.com/Yelp/swagger_spec_validator
|
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
|
URL: https://github.com/Yelp/swagger_spec_validator
|
||||||
Source: https://github.com/Yelp/swagger_spec_validator/archive/refs/tags/v%{version}.tar.gz#/swagger-spec-validator-%{version}.tar.gz
|
Source: https://github.com/Yelp/swagger_spec_validator/archive/refs/tags/v%{version}.tar.gz#/swagger-spec-validator-%{version}.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: %{python_module importlib-resources}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
# SECTION test requirements
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: %{python_module jsonschema}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module PyYAML}
|
|
||||||
BuildRequires: %{python_module typing_extensions}
|
|
||||||
# /SECTION
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
Requires: python-jsonschema
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-PyYAML
|
Requires: python-PyYAML
|
||||||
|
Requires: python-jsonschema
|
||||||
Requires: python-typing_extensions
|
Requires: python-typing_extensions
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module PyYAML}
|
||||||
|
BuildRequires: %{python_module jsonschema}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module typing_extensions}
|
||||||
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -46,13 +49,13 @@ the Swagger 1.2 or Swagger 2.0 specification. The validator aims to check for
|
|||||||
full compliance with the Specification.
|
full compliance with the Specification.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n swagger_spec_validator-%{version}
|
%autosetup -p1 -n swagger_spec_validator-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -61,6 +64,7 @@ full compliance with the Specification.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{python_sitelib}/swagger_spec_validator*/
|
%{python_sitelib}/swagger_spec_validator-%{version}*-info
|
||||||
|
%{python_sitelib}/swagger_spec_validator
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
3
swagger-spec-validator-3.0.4.tar.gz
Normal file
3
swagger-spec-validator-3.0.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4ac92170d30554bfa71330f89bad74f9b3ef4cc1f594bebb8e8901b3d999c7bf
|
||||||
|
size 48267
|
Reference in New Issue
Block a user