dev-python/drf-yasg: validation use

This commit is contained in:
Alarig Le Lay 2023-01-31 00:01:03 +01:00
parent 464c79683f
commit e2f0503054
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 15 additions and 0 deletions

View file

@ -17,6 +17,7 @@ SRC_URI="https://github.com/axnsan12/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="validation"
RDEPEND="
>=dev-python/coreapi-2.3.3[${PYTHON_USEDEP}]
@ -27,5 +28,8 @@ RDEPEND="
dev-python/packaging[${PYTHON_USEDEP}]
>=dev-python/djangorestframework-3.10.3[${PYTHON_USEDEP}]
>=dev-python/django-2.2.16[${PYTHON_USEDEP}]
validation? (
>=swagger-spec-validator-2.1.0[${PYTHON_USEDEP}]
)
"
BDEPEND=""

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<name>Alarig Le Lay</name>
<email>alarig@swordarmor.fr</email>
</maintainer>
<use>
<flag name="validation">Automatic validation by swagger-spec-validator</flag>
</use>
</pkgmetadata>