Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37845120
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-openapi-core

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define pypi_name openapi-core
%define mod_name openapi_core

%def_with check

Name: python3-module-%pypi_name
Version: 0.18.1
Release: alt1
Summary: Client-side and server-side support for the OpenAPI Specification v3
License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.org/project/openapi-core/
Vcs: https://github.com/python-openapi/openapi-core
BuildArch: noarch
Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-poetry-core
%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-lazy-object-proxy
BuildRequires: python3-module-jsonschema-spec
BuildRequires: python3-module-openapi-spec-validator
BuildRequires: python3-module-werkzeug
BuildRequires: python3-module-isodate
BuildRequires: python3-module-more-itertools
BuildRequires: python3-module-parse
BuildRequires: python3-module-flask
BuildRequires: python3-module-aiohttp
BuildRequires: python3-module-aiohttp-tests
BuildRequires: python3-module-asgiref
BuildRequires: python3-module-responses
BuildRequires: python3-module-pytest-aiohttp
BuildRequires: python3-module-webob
BuildRequires: python3-module-openapi-schema-validator
BuildRequires: python3-module-strict-rfc3339
BuildRequires: python3-module-django
%endif

%description
Openapi-core is a Python library that adds client-side and server-side support
for the OpenAPI v3.0 and OpenAPI v3.1 specification.

%prep
%setup
sed -i '/--cov/d' pyproject.toml

%build
%pyproject_build

%install
%pyproject_install

%check
%pyproject_run_pytest -v tests/unit

%files
%doc README.*
%python3_sitelibdir/%mod_name
%python3_sitelibdir/%{pyproject_distinfo %mod_name}

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin