Install this version:
emerge -a =dev-python/django-guardian-3.0.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/django-guardian-3.0.1
Or alternatively:
emerge --autounmask-write -a =dev-python/django-guardian-3.0.1
# 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} )
inherit distutils-r1
DESCRIPTION="Implementation of per object permissions for Django 1.2+"
HOMEPAGE="https://github.com/django-guardian/django-guardian"
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/django-3.2[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
test? (
>=dev-python/django-environ-0.12.0[${PYTHON_USEDEP}]
>=dev-python/mock-5.1.0[${PYTHON_USEDEP}]
>=dev-python/pytest-django-4.9.0[${PYTHON_USEDEP}]
)
"
# it's using mkdoc, FIXME
#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-3.2[]
>=dev-python/django-3.2[] test? ( >=dev-python/django-environ-0.12.0[] >=dev-python/mock-5.1.0[] >=dev-python/pytest-django-4.9.0[] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | django-guardian-3.0.1.gh.tar.gz | 259978 bytes | https://github.com/django-guardian/django-guardian/archive/refs/tags/3.0.1.tar.gz |