|
|
9449886 |
%global pypi_name fastapi
|
|
|
9449886 |
|
|
|
9449886 |
Name: python-%{pypi_name}
|
|
|
9449886 |
Version: 0.61.1
|
|
|
f989503 |
Release: 2%{?dist}
|
|
|
9449886 |
Summary: FastAPI - High Performance, Easy to Learn, Fast to Code, Production Ready
|
|
|
9449886 |
|
|
|
9449886 |
License: MIT
|
|
|
9449886 |
URL: https://github.com/tiangolo/fastapi
|
|
|
9449886 |
Source0: %{pypi_source}
|
|
|
9449886 |
BuildArch: noarch
|
|
|
9449886 |
|
|
|
9449886 |
BuildRequires: python3-devel
|
|
|
9449886 |
BuildRequires: python3dist(setuptools)
|
|
|
9449886 |
BuildRequires: python3dist(pytest)
|
|
|
9449886 |
BuildRequires: python3dist(pytest-cov)
|
|
|
9449886 |
BuildRequires: python3dist(pytest-asyncio)
|
|
|
9449886 |
BuildRequires: python3dist(starlette)
|
|
|
9449886 |
BuildRequires: python3dist(pydantic)
|
|
|
9449886 |
BuildRequires: python3dist(httpx)
|
|
|
9449886 |
BuildRequires: python3dist(python-jose)
|
|
|
9449886 |
BuildRequires: python3dist(passlib)
|
|
|
9449886 |
BuildRequires: python3dist(bcrypt)
|
|
|
9449886 |
BuildRequires: python3dist(peewee)
|
|
|
9449886 |
BuildRequires: python3dist(sqlalchemy)
|
|
|
9449886 |
BuildRequires: python3dist(flask)
|
|
|
9449886 |
#BuildRequires: python3dist(orjson)
|
|
|
9449886 |
|
|
|
9449886 |
%description
|
|
|
9449886 |
FastAPI framework, high performance, easy to learn, fast to code,
|
|
|
9449886 |
ready for production
|
|
|
9449886 |
|
|
|
9449886 |
%package -n python3-%{pypi_name}
|
|
|
9449886 |
Summary: %{summary}
|
|
|
f989503 |
|
|
|
f989503 |
Requires: python3dist(starlette)
|
|
|
f989503 |
Requires: python3dist(pydantic)
|
|
|
f989503 |
Requires: python3dist(uvicorn)
|
|
|
f989503 |
|
|
|
9449886 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
9449886 |
|
|
|
9449886 |
%description -n python3-%{pypi_name}
|
|
|
9449886 |
FastAPI framework, high performance, easy to learn, fast to code,
|
|
|
9449886 |
ready for production
|
|
|
9449886 |
|
|
|
9449886 |
%prep
|
|
|
9449886 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
9449886 |
#disable these tests for now
|
|
|
9449886 |
rm tests/test_tutorial/test_custom_response/test_tutorial001b.py
|
|
|
9449886 |
rm tests/test_tutorial/test_async_sql_databases/test_tutorial001.py
|
|
|
9449886 |
rm tests/test_default_response_class.py
|
|
|
9449886 |
rm tests/test_security_oauth2.py
|
|
|
9449886 |
rm tests/test_validate_response_recursive.py
|
|
|
9449886 |
|
|
|
9449886 |
|
|
|
9449886 |
%build
|
|
|
9449886 |
%py3_build
|
|
|
9449886 |
|
|
|
9449886 |
%install
|
|
|
9449886 |
%py3_install
|
|
|
9449886 |
|
|
|
9449886 |
%check
|
|
|
9449886 |
%pytest
|
|
|
9449886 |
|
|
|
9449886 |
%files -n python3-%{pypi_name}
|
|
|
9449886 |
%license LICENSE
|
|
|
9449886 |
%doc README.md
|
|
|
9449886 |
%{python3_sitelib}/%{pypi_name}
|
|
|
9449886 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
|
9449886 |
|
|
|
9449886 |
%changelog
|
|
|
f989503 |
* Wed Oct 7 00:24:09 -03 2020 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.61.1-2
|
|
|
f989503 |
- add missing deps.
|
|
|
f989503 |
|
|
|
9449886 |
* Wed Sep 30 2020 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.61.1-1
|
|
|
9449886 |
- Initial package.
|
|
|
9449886 |
- Fix license TAG.
|