Notification time stamped 2023-06-30 17:04:51 UTC
From 483c59a4308eabbd7abe39d2d58e2be0653c6fcb Mon Sep 17 00:00:00 2001 From: Mattia Verga mattia.verga@proton.me Date: Dec 21 2022 17:59:06 +0000 Subject: Initial import (fedora#2154240)
---
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9cec128 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/openapi_core-0.16.2.tar.gz diff --git a/README.md b/README.md index fa0e0db..bc8bc34 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ # python-openapi-core
-The python-openapi-core package +Openapi-core is a Python library that adds client-side and server-side +support for the OpenAPI v3.0 and OpenAPI v3.1 specification. diff --git a/python-openapi-core.spec b/python-openapi-core.spec new file mode 100644 index 0000000..575a1ca --- /dev/null +++ b/python-openapi-core.spec @@ -0,0 +1,62 @@ +%global srcname openapi-core +%global modname openapi_core + +Name: python-%{srcname} +Version: 0.16.2 +Release: %autorelease +Summary: OpenAPI client-side and server-side support + +License: BSD-3-Clause +URL: https://pypi.python.org/pypi/%%7Bsrcname%7D +Source: %{pypi_source openapi_core} + +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: poetry + +# Dependencies not automatically pulled in +BuildRequires: python3dist(starlette) + +%global _description %{expand: +Openapi-core is a Python library that adds client-side and server-side +support for the OpenAPI v3.0 and OpenAPI v3.1 specification.} + +%description %_description + + +%package -n python3-%{srcname} +Summary: %{summary} + +%description -n python3-%{srcname} %_description + + +%pyproject_extras_subpkg -n python3-openapi-core django flask requests starlette + + +%prep +%autosetup -n %{modname}-%{version} + +%generate_buildrequires +%pyproject_buildrequires -x django -x falcon -x flask -x requests -x starlette + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files %{modname} + + +%check +%pyproject_check_import + + +%files -n python3-%{srcname} -f %{pyproject_files} +%license LICENSE +%doc README.rst + + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..87daf22 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (openapi_core-0.16.2.tar.gz) = c506a3a6ddff2dd13e014586478ce63192c159fbf6fb599e897a515b2bc9ef11a91a0ef408029ad0688edd1ea9b5741f1f4542e538ce08789eb0d8e28d09f371
https://src.fedoraproject.org/rpms/python-openapi-core/c/483c59a4308eabbd7ab...
scm-commits@lists.fedoraproject.org