dev-python/django-guardian - 3.0.1 (pentoo)

Search

Install

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

Package Information

Description:
Implementation of per object permissions for Django 1.2+
Homepage:
https://github.com/django-guardian/django-guardian
License:
BSD-2

Ebuild Details

Version EAPI Keywords Slot
3.0.1 8 ~amd64 ~x86 0
View Raw Ebuild
# 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

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/django-3.2[]

BDEPEND

	
	>=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[]
	)

Manifest for 3.0.1

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