Install this version:
emerge -a =dev-python/drf-yasg-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/drf-yasg-9999
Or alternatively:
emerge --autounmask-write -a =dev-python/drf-yasg-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 git-r3 optfeature
DESCRIPTION="Yet another Swagger generator"
HOMEPAGE="https://github.com/axnsan12/drf-yasg"
EGIT_REPO_URI="https://github.com/axnsan12/${PN}.git"
LICENSE="BSD-4"
SLOT="0"
IUSE="coreapi +validation"
RESTRICT="test" # no configuration
RDEPEND="dev-python/django[${PYTHON_USEDEP}]
dev-python/djangorestframework[${PYTHON_USEDEP}]
dev-python/inflection[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/uritemplate[${PYTHON_USEDEP}]
coreapi? ( dev-python/coreapi[${PYTHON_USEDEP}]
dev-python/coreschema[${PYTHON_USEDEP}] )
validation? ( dev-python/swagger-spec-validator[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}"
BDEPEND="test? ( dev-python/datadiff[${PYTHON_USEDEP}]
dev-python/django-cors-headers[${PYTHON_USEDEP}]
dev-python/django-fake-model[${PYTHON_USEDEP}]
dev-python/django-filter[${PYTHON_USEDEP}]
dev-python/django-oauth-toolkit[${PYTHON_USEDEP}]
dev-python/djangorestframework-camel-case[${PYTHON_USEDEP}]
dev-python/djangorestframework-recursive[${PYTHON_USEDEP}]
dev-python/dj-database-url[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/swagger-spec-validator[${PYTHON_USEDEP}]
dev-python/user-agents[${PYTHON_USEDEP}] )"
export DJANGO_SETTINGS_MODULE=testproj.settings.local
export DJANGO_SECRET_KEY="secret"
EPYTEST_XDIST=1
EPYTEST_PLUGINS=( pytest-{django,pythonpath} )
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# KeyError: 'paths'
tests/test_schema_views.py::test_paginator_schema
)
EPYTEST_IGNORE=( node_modules )
pkg_postinst() {
optfeature "integration with djangorestframework-camel-case" dev-python/djangorestframework-camel-case
optfeature "integration with djangorestframework-recursive" dev-python/djangorestframework-recursive
}
Manage flags for this package:
euse -i <flag> -p dev-python/drf-yasg |
euse -E <flag> -p dev-python/drf-yasg |
euse -D <flag> -p dev-python/drf-yasg
dev-python/django[] dev-python/djangorestframework[] dev-python/inflection[] dev-python/packaging[] dev-python/pyyaml[] dev-python/pytz[] dev-python/uritemplate[] coreapi? ( dev-python/coreapi[] dev-python/coreschema[] ) validation? ( dev-python/swagger-spec-validator[] )
dev-python/django[] dev-python/djangorestframework[] dev-python/inflection[] dev-python/packaging[] dev-python/pyyaml[] dev-python/pytz[] dev-python/uritemplate[] coreapi? ( dev-python/coreapi[] dev-python/coreschema[] ) validation? ( dev-python/swagger-spec-validator[] )
test? ( dev-python/datadiff[] dev-python/django-cors-headers[] dev-python/django-fake-model[] dev-python/django-filter[] dev-python/django-oauth-toolkit[] dev-python/djangorestframework-camel-case[] dev-python/djangorestframework-recursive[] dev-python/dj-database-url[] dev-python/pillow[] dev-python/pygments[] dev-python/swagger-spec-validator[] dev-python/user-agents[] )