RestrictedPython-4.0_beta_pre7 added

This commit is contained in:
Andreas Billmeier 2019-01-06 19:27:17 +01:00
parent bb752da9a9
commit 787594ec84
4 changed files with 82 additions and 0 deletions

View File

@ -0,0 +1,5 @@
DIST 4.0b7.tar.gz 72929 BLAKE2B 005cc9dd206eaa682e252b4e431c0cd051ddfeea0275846a54ddc63e45352ec2094c4e1f6810e223068734136679390e08b9b47f216d8edf927cb3f4d9575b83 SHA512 14da5c646c75e0c7b5ca2c9c3e40c658344bf7372a2a563a70b964d9abea6c2533f740198816bf595f2e5bb8f09c01f16843dc3ef048b9d4424e64ae7345a6d2
DIST RestrictedPython-3.6.0.zip 56739 BLAKE2B 9fa3c7e92589e075e0ed11b0315cc01516cc06d7dcd1aecb63569e56afcc896ae68e8b09a99391e5790816a4db80dc4fc3724517387c254db172df182602c55b SHA512 2578f68889ff17fb87091dc3c7bcb2fe7837e12582656b7ed60cfff08064d92fe18337879c912a9f77c43af557829a6b120352c0bc006cee803240b28255a576
EBUILD RestrictedPython-3.6.0.ebuild 761 BLAKE2B 26d4ee2ebd207d8c1c57d04cfcc6c3b0da4b9be2a1f89e1f64623429b934762391155900cf456525bb60d8333fcea4c6475b96b0b7a96f49db2364a8b6127082 SHA512 1662975ab73166d4099993ea379e2fca09eb3115f8152dbb2f49e6538e6069ad3cea7c1841d9f7182bd1ee2ff7fb8a7abb4096b4c6d46e960b437a38d7339435
EBUILD RestrictedPython-4.0_beta_pre7.ebuild 947 BLAKE2B 99fbd3461ba2d865b315327c627700234a6341f2a268fb4bc6672fb46c4f964014f857a84ab4aad0937e0833cf3024d754364effb7f196e910c1bd2c121db901 SHA512 674dcc58fcb891dc711bb1348033a02d1bcafb643ca3e3c434ae7f6bfff95394dc7282cf0dd4f22e5e15326355d16936f7cb06857ce7c2d9877b838aa555a9fa
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af

View File

@ -0,0 +1,31 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python3_{5,6} )
inherit distutils-r1
DESCRIPTION="RestrictedPython provides a restricted execution environment for Python, e.g. for running untrusted code."
HOMEPAGE="http://pypi.python.org/pypi/RestrictedPython https://pypi.org/project/RestrictedPython/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip"
LICENSE="ZPL 2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND=""
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,38 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python3_{5,6,7} )
inherit distutils-r1
MY_PN="RestrictedPython"
MY_P="${MY_PN}-4.0b7"
DESCRIPTION="RestrictedPython provides a restricted execution environment for Python, e.g. for running untrusted code."
HOMEPAGE="http://pypi.python.org/pypi/RestrictedPython https://pypi.org/project/RestrictedPython/"
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/zopefoundation/RestrictedPython/archive/4.0b7.tar.gz"
LICENSE="ZPL 2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND=""
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
S="${WORKDIR}/${MY_P}"
PYTHON_MODULES="${MY_PN}"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,8 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
</pkgmetadata>