From a46f0ec88e6c7ea84ed2f67a40bbf89ef44bc6af Mon Sep 17 00:00:00 2001 From: root Date: Tue, 16 Jun 2026 10:59:35 -0500 Subject: Adding metadata --- dev-python/fastapi/fastapi-0.115.12.ebuild | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 dev-python/fastapi/fastapi-0.115.12.ebuild (limited to 'dev-python/fastapi/fastapi-0.115.12.ebuild') diff --git a/dev-python/fastapi/fastapi-0.115.12.ebuild b/dev-python/fastapi/fastapi-0.115.12.ebuild new file mode 100644 index 000000000000..aede3b9bebcc --- /dev/null +++ b/dev-python/fastapi/fastapi-0.115.12.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="FastAPI framework, high performance, easy to learn, ready for production" +HOMEPAGE=" + https://fastapi.tiangolo.com/ + https://pypi.org/project/fastapi/ + https://github.com/fastapi/fastapi +" + +LICENSE="MIT" +SLOT=0 +KEYWORDS="~amd64" + +RESTRICT="test" + +RDEPEND=" + >=dev-python/pydantic-1.7.4[${PYTHON_USEDEP}] + >=dev-python/starlette-0.40.0[${PYTHON_USEDEP}] + =dev-python/typing-extensions-4.8.0[${PYTHON_USEDEP}] +" + +pkg_postinst() { + optfeature "commandline interface" dev-python/fastapi-cli + optfeature "test client" dev-python/httpx + optfeature "templates" dev-python/jinja2 + optfeature "forms and file uploads" dev-python/python-multipart + optfeature "validate emails" dev-python/email-validator + optfeature "uvicorn with uvloop" dev-python/uvicorn + optfeature_header "Alternative JSON responses" + optfeature "ORJSONResponse" dev-python/orjson + optfeature "UJSONResponse" dev-python/ujson +} -- cgit v1.3.1