dev-python/drf-yasg: validation use
This commit is contained in:
parent
464c79683f
commit
e2f0503054
|
@ -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=""
|
||||
|
|
11
dev-python/drf-yasg/metadata.xml
Normal file
11
dev-python/drf-yasg/metadata.xml
Normal 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>
|
Loading…
Reference in a new issue