SwordArMor-gentoo-overlay/dev-python/drf-spectacular/drf-spectacular-0.27.0.ebuild

31 lines
793 B
Bash
Raw Normal View History

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..12} )
inherit distutils-r1 pypi
DESCRIPTION="Sane and flexible OpenAPI 3 schema generation for Django"
HOMEPAGE="
https://pypi.org/project/drf-spectacular/
"
SRC_URI="$(pypi_sdist_url --no-normalize)"
S="${WORKDIR}/${P/_/-}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/django-2.2[${PYTHON_USEDEP}]
>=dev-python/djangorestframework-3.10.3[${PYTHON_USEDEP}]
>=dev-python/uritemplate-2.0.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
>=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
>=dev-python/inflection-0.3.1[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
"