dev-python/RestrictedPython: re-add 7.0_alpha1-r0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-11-03 19:12:15 +01:00 committed by Andreas Billmeier
parent 43c6cbfb10
commit d31ef70461
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 41 additions and 2 deletions

View File

@ -612,7 +612,7 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1625 Ebuilds in total, 1614 of them have in total 1628 (40 different) licenses assigned.
There are 1626 Ebuilds in total, 1615 of them have in total 1629 (40 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
@ -635,11 +635,11 @@ There are 1625 Ebuilds in total, 1614 of them have in total 1628 (40 different)
|public-domain|3|
|BSD-4|3|
|AGPL-3+|2|
|ZPL|2|
|LGPL-2+|2|
|PSF-2|2|
|LGPL-2|2|
|CC0-1.0|2|
|ZPL|1|
|BitstreamVera|1|
|matplotlib|1|
|OFL-1.1|1|

View File

@ -1,3 +1,5 @@
DIST RestrictedPython-6.2.tar.gz 448893 BLAKE2B a20a7d5e01cd15e601d277bbb7e67438add808951e04ab296e4d5fd9fc88e83316b4910ee3218a31d90b3b442909d922defe9fccfc56463cab6e56767dfed7c6 SHA512 edee6d75868865621084e246368bd15e17e0f91a8f85a6dc5a536bac9cfc3b57b7f292e9b7ad632c2d9d9e7c281b465bfaea90780692f64c13a3ffbd77ea575b
DIST RestrictedPython-7.0_alpha1.dev0.gh.tar.gz 441777 BLAKE2B 2a3b0a975fc138bb350900f1df274c5bcef12b4c967ab0f0b8ca681ba441c637f4cfa9d05a291ab22af197177355c5af73ecdf680d6baffabd047768c91e7177 SHA512 0f86b834caa14aa4c5288a72701a00b5ccc7d28d0e38ce4a005914d4ddfb91472fe45b8449b1ce8833dbe9d8b3e2bb1127512aaf9ff94a4000adf6f4ca8f9d6d
EBUILD RestrictedPython-6.2.ebuild 838 BLAKE2B 282ef4ee71a7dfd0c9929787125c00651af280b0942cc424cea82830dfd5efe302d4b653aad637e65adc2989031388926e4ec291fba3d37f3bd8f0d4bde7d423 SHA512 8d59f17413d3bdba8437abd489921e8bd99da29958f24e71240383b32d2c9b95c506d6289411656f26ad4f2a049ed5a32629c07483dff97d36a34ac08ac4c31f
EBUILD RestrictedPython-7.0_alpha1-r0.ebuild 967 BLAKE2B 5eca391b97b42b9fe25f498f4862935b7c49024af6084416f7f790202d7dfa8793cacdccd41602b8256db169e6d899e6a708fc633280610fc676ae559e2bc499 SHA512 ed1192c04b441fff82e11f2869493164160adea973729b30d99c0bbdf03db17ce6581e0b2d5ad9b4a224c364742c82243187cc6f93dedeea0ca86df0d5513333
MISC metadata.xml 551 BLAKE2B e7e84ab722266b743d490680bbe14a7598850e2ff4ebdde5ac1c85bb9a1182af533c64eb4f14e07ee24ee8a7ce85f9ddae07006ba2cf9d43926b2b23d75054be SHA512 809f5cd7596f84260aabeddbd4a07372b2af1af7712fc06b2e4d767e7d8e9e00cc6d6b7e26e5e48fca397785315ef0063bd7667794e43b93c2935d4198e8dbd1

View File

@ -0,0 +1,37 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
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.python.org/pypi/RestrictedPython https://pypi.org/project/RestrictedPython/"
SRC_URI="https://github.com/zopefoundation/${PN}/archive/refs/tags/${MY_PV}.dev${PR: -1}.tar.gz -> ${P}.dev${PR: -1}.gh.tar.gz"
S=${WORKDIR}/${PN}-${MY_PV}.dev${PR: -1}
LICENSE="ZPL"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
DEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
)"
PYTHON_MODULES="${PN}"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest