diff options
Diffstat (limited to 'dev-python/restrictedpython')
-rw-r--r-- | dev-python/restrictedpython/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/restrictedpython/Manifest | 4 | ||||
-rw-r--r-- | dev-python/restrictedpython/metadata.xml | 5 | ||||
-rw-r--r-- | dev-python/restrictedpython/restrictedpython-3.5.1.ebuild | 44 |
4 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/restrictedpython/ChangeLog b/dev-python/restrictedpython/ChangeLog new file mode 100644 index 000000000000..198058ce6027 --- /dev/null +++ b/dev-python/restrictedpython/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/restrictedpython +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/restrictedpython/ChangeLog,v 1.1 2009/10/25 18:15:26 arfrever Exp $ + +*restrictedpython-3.5.1 (25 Oct 2009) + + 25 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +restrictedpython-3.5.1.ebuild, +metadata.xml: + Initial addition. Ebuild written by me. + diff --git a/dev-python/restrictedpython/Manifest b/dev-python/restrictedpython/Manifest new file mode 100644 index 000000000000..001b333e75d9 --- /dev/null +++ b/dev-python/restrictedpython/Manifest @@ -0,0 +1,4 @@ +DIST RestrictedPython-3.5.1.tar.gz 32681 RMD160 9883f9201e50b0be390a12d28419a521ace46890 SHA1 5452271e347bf35095ab533f4c489f95989e1092 SHA256 ac751e15dff1e85afcc2081287722c9133492c15c9daeb34d39d7c47d79fb550 +EBUILD restrictedpython-3.5.1.ebuild 1093 RMD160 350939bea7118585f56bfe9f696980079cfd4c42 SHA1 dbb7e2df7f0d825f1768a6d1e9b4003b8959ec12 SHA256 b79d52fec0a244cb58ce0bf24073d93004e8870abeb4fd56bff4e3fddbf1b649 +MISC ChangeLog 433 RMD160 833ba91ab1721f63ee5e91f707e878a12fc9d4cf SHA1 aad68adf73a773db72dc8adf1ee9595758364406 SHA256 8997b2bab096f49b20ca36a0b2f2467085e209127440e0439060c1a9c8052c97 +MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a diff --git a/dev-python/restrictedpython/metadata.xml b/dev-python/restrictedpython/metadata.xml new file mode 100644 index 000000000000..301d2207cc29 --- /dev/null +++ b/dev-python/restrictedpython/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> +</pkgmetadata> diff --git a/dev-python/restrictedpython/restrictedpython-3.5.1.ebuild b/dev-python/restrictedpython/restrictedpython-3.5.1.ebuild new file mode 100644 index 000000000000..7958a05a1cf9 --- /dev/null +++ b/dev-python/restrictedpython/restrictedpython-3.5.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/restrictedpython/restrictedpython-3.5.1.ebuild,v 1.1 2009/10/25 18:15:26 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="RestrictedPython" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="RestrictedPython provides a restricted execution environment for Python, e.g. for running untrusted code." +HOMEPAGE="http://pypi.python.org/pypi/RestrictedPython" +SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="dev-python/setuptools + test? ( dev-python/nose )" +RDEPEND="" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="${MY_PN}" +DOCS="CHANGES.txt src/RestrictedPython/README.txt" + +src_test() { + testing() { + nosetests-${PYTHON_ABI} + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + # Don't install tests. + rm -fr "${D}"usr/$(get_libdir)/python*/site-packages/RestrictedPython/tests +} |