Install this version:
emerge -a =dev-python/drf-spectacular-0.30.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/drf-spectacular-0.30.0
Or alternatively:
emerge --autounmask-write -a =dev-python/drf-spectacular-0.30.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.30.0 | 8 | ~amd64 | 0 |
# Copyright 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 pypi
DESCRIPTION="Sane and flexible OpenAPI 3 schema generation for Django REST framework"
HOMEPAGE="
https://drf-spectacular.readthedocs.io/
https://github.com/tfranzel/drf-spectacular/
https://pypi.org/project/drf-spectacular/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
# Contrib tests need django-oauth-toolkit and other DRF add-ons not in ::gentoo
RESTRICT="test"
RDEPEND="
>=dev-python/django-2.2[${PYTHON_USEDEP}]
>=dev-python/djangorestframework-3.10.3[${PYTHON_USEDEP}]
>=dev-python/uritemplate-2.0.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
>=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
>=dev-python/inflection-0.3.1[${PYTHON_USEDEP}]
"
>=dev-python/django-2.2[] >=dev-python/djangorestframework-3.10.3[] >=dev-python/uritemplate-2.0.0[] >=dev-python/pyyaml-5.1[] >=dev-python/jsonschema-2.6.0[] >=dev-python/inflection-0.3.1[]