SwordArMor-gentoo-overlay/dev-python/drf-yasg/drf-yasg-1.20.0.ebuild

36 lines
994 B
Bash
Raw Normal View History

# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{3..11} )
inherit distutils-r1
DESCRIPTION="Automated generation of real Swagger schemas from Django code"
HOMEPAGE="
https://pypi.org/project/drf-yasg/
https://github.com/axnsan12/drf-yasg/
"
SRC_URI="https://github.com/axnsan12/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
2023-01-30 23:48:57 +01:00
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
2023-01-31 00:01:03 +01:00
IUSE="validation"
RDEPEND="
>=dev-python/coreapi-2.3.3[${PYTHON_USEDEP}]
>=dev-python/coreschema-0.0.4[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.15.34[${PYTHON_USEDEP}]
>=dev-python/inflection-0.3.1[${PYTHON_USEDEP}]
>=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
>=dev-python/djangorestframework-3.10.3[${PYTHON_USEDEP}]
>=dev-python/django-2.2.16[${PYTHON_USEDEP}]
2023-01-31 00:01:03 +01:00
validation? (
>=swagger-spec-validator-2.1.0[${PYTHON_USEDEP}]
)
"
BDEPEND=""