Install this version:
emerge -a =dev-python/django-guardian-2.4.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/django-guardian-2.4.0
Or alternatively:
emerge --autounmask-write -a =dev-python/django-guardian-2.4.0
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="Implementation of per object permissions for Django 1.2+"
HOMEPAGE="https://github.com/django-guardian/django-guardian"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/django-2.2[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
test? (
dev-python/django-environ[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest-django[${PYTHON_USEDEP}]
)
"
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
distutils_enable_tests pytest
Manage flags for this package:
euse -i <flag> -p dev-python/django-guardian |
euse -E <flag> -p dev-python/django-guardian |
euse -D <flag> -p dev-python/django-guardian
>=dev-python/django-2.2[]
>=dev-python/django-2.2[] test? ( dev-python/django-environ[] dev-python/mock[] dev-python/pytest-django[] )