2023-01-30 23:47:47 +01:00
|
|
|
# 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"
|
2023-01-30 23:47:47 +01:00
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
2023-01-31 00:01:03 +01:00
|
|
|
IUSE="validation"
|
2023-01-30 23:47:47 +01:00
|
|
|
|
|
|
|
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? (
|
2023-02-04 11:30:45 +01:00
|
|
|
>=dev-python/swagger_spec_validator-2.1.0[${PYTHON_USEDEP}]
|
2023-01-31 00:01:03 +01:00
|
|
|
)
|
2023-01-30 23:47:47 +01:00
|
|
|
"
|
2023-01-30 23:57:25 +01:00
|
|
|
BDEPEND=""
|