|
|
87399f9 |
Name: python-bravado
|
|
|
e421b0d |
Version: 11.0.3
|
|
|
99307f1 |
Release: 5%{?dist}
|
|
|
7c85a31 |
Summary: Library for accessing Swagger-enabled API's
|
|
|
7c85a31 |
|
|
|
e421b0d |
License: BSD-3-Clause
|
|
|
7c85a31 |
URL: https://github.com/Yelp/bravado
|
|
|
e421b0d |
# PyPI tarball is missing tests
|
|
|
e421b0d |
Source: %{url}/archive/v%{version}/bravado-%{version}.tar.gz
|
|
|
ae06ab9 |
# https://github.com/Yelp/bravado/pull/485
|
|
|
ae06ab9 |
Patch: 0001-Prefer-getfullargspec-instead-of-deprecated-getargspec.patch
|
|
|
ae06ab9 |
# https://github.com/Yelp/bravado/pull/484
|
|
|
ae06ab9 |
Patch: 0002-Use-standard-library-mock-when-possible.patch
|
|
|
7c85a31 |
BuildArch: noarch
|
|
|
7c85a31 |
|
|
|
7c85a31 |
BuildRequires: python3-devel
|
|
|
ae06ab9 |
BuildRequires: python3-httpretty
|
|
|
7c85a31 |
|
|
|
87399f9 |
%global _description %{expand:
|
|
|
87399f9 |
Bravado is a Yelp maintained fork of digium/swagger-py for use with OpenAPI
|
|
|
87399f9 |
Specification version 2.0 (previously known as Swagger).}
|
|
|
87399f9 |
|
|
|
87399f9 |
|
|
|
87399f9 |
%description %_description
|
|
|
7c85a31 |
|
|
|
7c85a31 |
|
|
|
87399f9 |
%package -n python3-bravado
|
|
|
7c85a31 |
Summary: %{summary}
|
|
|
7c85a31 |
|
|
|
87399f9 |
|
|
|
87399f9 |
%description -n python3-bravado %_description
|
|
|
7c85a31 |
|
|
|
7c85a31 |
|
|
|
7c85a31 |
%prep
|
|
|
ae06ab9 |
%autosetup -n bravado-%{version} -p 1
|
|
|
87399f9 |
|
|
|
87399f9 |
|
|
|
87399f9 |
%generate_buildrequires
|
|
|
ae06ab9 |
%pyproject_buildrequires -x integration-tests
|
|
|
87399f9 |
|
|
|
7c85a31 |
|
|
|
7c85a31 |
%build
|
|
|
87399f9 |
%pyproject_wheel
|
|
|
87399f9 |
|
|
|
7c85a31 |
|
|
|
7c85a31 |
%install
|
|
|
87399f9 |
%pyproject_install
|
|
|
87399f9 |
%pyproject_save_files bravado
|
|
|
7c85a31 |
|
|
|
87399f9 |
|
|
|
ae06ab9 |
%check
|
|
|
ae06ab9 |
# Fido tests require fido, which is deprecated upstream and won't be packaged
|
|
|
ae06ab9 |
%pytest -v \
|
|
|
ae06ab9 |
--ignore tests/fido_client \
|
|
|
ae06ab9 |
--ignore tests/integration/fido_client_test.py \
|
|
|
ae06ab9 |
tests
|
|
|
ae06ab9 |
|
|
|
ae06ab9 |
|
|
|
87399f9 |
%files -n python3-bravado -f %{pyproject_files}
|
|
|
7c85a31 |
%doc README.rst
|
|
|
87399f9 |
|
|
|
7c85a31 |
|
|
|
7c85a31 |
%changelog
|
|
|
99307f1 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.3-5
|
|
|
99307f1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
99307f1 |
|
|
|
c8a6214 |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.3-4
|
|
|
c8a6214 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
c8a6214 |
|
|
|
c795a8a |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.3-3
|
|
|
c795a8a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
c795a8a |
|
|
|
c2a7cde |
* Wed Jun 28 2023 Python Maint <python-maint@redhat.com> - 11.0.3-2
|
|
|
c2a7cde |
- Rebuilt for Python 3.12
|
|
|
c2a7cde |
|
|
|
e421b0d |
* Mon Feb 13 2023 Carl George <carl@george.computer> - 11.0.3-1
|
|
|
e421b0d |
- Update to version 11.0.3, resolves rhbz#2169596
|
|
|
87399f9 |
- Convert to pyproject macros
|
|
|
ae06ab9 |
- Run tests
|
|
|
e421b0d |
|
|
|
33964f2 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.2-8
|
|
|
33964f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
33964f2 |
|
|
|
eef1b81 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.2-7
|
|
|
eef1b81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
eef1b81 |
|
|
|
4efa4c2 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 11.0.2-6
|
|
|
4efa4c2 |
- Rebuilt for Python 3.11
|
|
|
4efa4c2 |
|
|
|
722f921 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.2-5
|
|
|
722f921 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
722f921 |
|
|
|
8eaf667 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.2-4
|
|
|
8eaf667 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
8eaf667 |
|
|
|
4b71df2 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 11.0.2-3
|
|
|
4b71df2 |
- Rebuilt for Python 3.10
|
|
|
4b71df2 |
|
|
|
0e38f2c |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.2-2
|
|
|
0e38f2c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
0e38f2c |
|
|
|
7c85a31 |
* Wed Nov 18 2020 Nils Philippsen <nils@redhat.com> - 11.0.2-1
|
|
|
7c85a31 |
- Version 11.0.2
|
|
|
7c85a31 |
|
|
|
7c85a31 |
* Tue Sep 08 2020 Aurelien Bompard <abompard@fedoraproject.org> - 10.6.2-1
|
|
|
7c85a31 |
- Initial package.
|