dev-python/RestrictedPython - 8.5 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/RestrictedPython-8.5

Package Information

Description:
subset of Python which allows program input into a trusted environment.
Homepage:
https://github.com/zopefoundation/RestrictedPython https://pypi.org/project/RestrictedPython/
License:
ZPL

Ebuild Details

Version EAPI Keywords Slot
8.5 8 amd64 arm arm64 x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
MY_PV1=${PV/_beta/b}
MY_PV=${MY_PV1/_alpha/a}

DESCRIPTION="subset of Python which allows program input into a trusted environment."
HOMEPAGE="https://github.com/zopefoundation/RestrictedPython https://pypi.org/project/RestrictedPython/"
PYPI_PN="RestrictedPython"
SRC_URI="https://github.com/zopefoundation/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
S=${WORKDIR}/${PN}-${MY_PV}

LICENSE="ZPL"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"

DOCS="README.rst"

DEPEND="
	test? (
		dev-python/pytest[${PYTHON_USEDEP}]
	)
"

PYTHON_MODULES="${PN}"

distutils_enable_tests pytest

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	test? (
		dev-python/pytest[]
	)

Manifest for 8.5

Type File Size Source URLs
DIST RestrictedPython-8.5.gh.tar.gz 448905 bytes https://github.com/zopefoundation/RestrictedPython/archive/refs/tags/8.5.tar.gz