# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="8.1a1.dev0"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="RestrictedPython is a defined subset of the Python language which allows to provide a program input into a trusted environment. [badver 8.1a1.dev0]"

HOMEPAGE="https://github.com/zopefoundation/RestrictedPython"
LICENSE="ZPL"
SRC_URI="https://files.pythonhosted.org/packages/5a/5c/0d4b1b1f03becd8bf5f70e55dc00c414f910e2837571869d7124ed5c0971/restrictedpython-${REALVERSION}.tar.gz"
SOURCEFILE="restrictedpython-${REALVERSION}.tar.gz"
RESTRICT="test"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="docs test"
DEPENDENCIES="test? ( dev-python/pytest[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )
	docs? ( dev-python/sphinx[${PYTHON_USEDEP}] )
	docs? ( dev-python/furo[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"