Install this version:
emerge -a =dev-python/RestrictedPython-20250320
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/RestrictedPython-20250320
Or alternatively:
emerge --autounmask-write -a =dev-python/RestrictedPython-20250320
# 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}"
Manage flags for this package:
euse -i <flag> -p dev-python/RestrictedPython |
euse -E <flag> -p dev-python/RestrictedPython |
euse -D <flag> -p dev-python/RestrictedPython
test? ( dev-python/pytest[] ) test? ( dev-python/pytest-mock[] ) docs? ( dev-python/sphinx[] ) docs? ( dev-python/furo[] )
test? ( dev-python/pytest[] ) test? ( dev-python/pytest-mock[] ) docs? ( dev-python/sphinx[] ) docs? ( dev-python/furo[] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | restrictedpython-8.1a1.dev0.tar.gz | 449034 bytes | https://files.pythonhosted.org/packages/5a/5c/0d4b1b1f03becd8bf5f70e55dc00c414f910e2837571869d7124ed5c0971/restrictedpython-8.1a1.dev0.tar.gz |