[gentoo-commits] repo/proj/guru:dev commit in: dev-python/restrictedpython/

2024-03-16 Thread Julien Roy
commit: 052d057df28ee905ae5119e2a8be1dba1c67b62c
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Mar 16 19:08:34 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Mar 16 19:08:34 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=052d057d

dev-python/restrictedpython: treeclean

Signed-off-by: Julien Roy  jroy.ca>

 dev-python/restrictedpython/Manifest   |  2 --
 dev-python/restrictedpython/metadata.xml   | 22 --
 .../restrictedpython/restrictedpython-6.2.ebuild   | 27 --
 .../restrictedpython/restrictedpython-7.0.ebuild   | 27 --
 4 files changed, 78 deletions(-)

diff --git a/dev-python/restrictedpython/Manifest 
b/dev-python/restrictedpython/Manifest
deleted file mode 100644
index 959d4c633a..00
--- a/dev-python/restrictedpython/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST restrictedpython-6.2.gh.tar.gz 442788 BLAKE2B 
cac63465192d425dc2b18a787fe4e75749f19768bbcb3be921512ccf0558e30f8ab3f8a89c36b77d370ae2c160b5aba4e9481ad66c36909b7189559c20a532fe
 SHA512 
a9947830b66e449881b7d22e4716adb863f20726a6e1f61f4f84396ae88b2c461c084f56ca78c3aa072953c53ba776788aa41ec8415714ba02b1b4c8370bf6fb
-DIST restrictedpython-7.0.gh.tar.gz 440788 BLAKE2B 
c71a70ce4f71b92d87e2bdab157cba4327227da6f1be226df573c25268cbd1afbde608ffcc5d8deb6cbe063244d7611bc8792c6e17ce495c50c5812527674e2e
 SHA512 
844614071e5bdbdd2646160207d4f5452305620930e0b260a1ba9c39f76672f26a16b7ce16f21186d9cfddc12f367758bec09c4cac40f4f4fc8f9164278631e9

diff --git a/dev-python/restrictedpython/metadata.xml 
b/dev-python/restrictedpython/metadata.xml
deleted file mode 100644
index bcedbcaa78..00
--- a/dev-python/restrictedpython/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   Julien Roy
-   jul...@jroy.ca
-   
-   
-   RestrictedPython is a tool that helps to define a subset of the 
Python language which allows to provide a program input into a trusted 
environment. RestrictedPython is not a sandbox system or a secured environment, 
but it helps to define a trusted environment and execute untrusted code inside 
of it.
-   
-   
-   
-   Zope Foundation and Contributors
-   zope-...@zope.org
-   
-   
https://github.com/zopefoundation/RestrictedPython/issues
-   
https://github.com/zopefoundation/RestrictedPython/blob/master/CHANGES.rst
-   http://restrictedpython.readthedocs.io
-   zopefoundation/RestrictedPython
-   RestrictedPython
-   
-

diff --git a/dev-python/restrictedpython/restrictedpython-6.2.ebuild 
b/dev-python/restrictedpython/restrictedpython-6.2.ebuild
deleted file mode 100644
index 2f057f27b5..00
--- a/dev-python/restrictedpython/restrictedpython-6.2.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="A restricted execution environment for Python to run untrusted 
code"
-HOMEPAGE="https://github.com/zopefoundation/RestrictedPython;
-SRC_URI="https://github.com/zopefoundation/RestrictedPython/archive/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
-S="${WORKDIR}/RestrictedPython-${PV}"
-
-LICENSE="ZPL"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   doc? ( dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] )
-   test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )
-"
-DEPEND="${RDEPEND}"
-
-distutils_enable_sphinx docs
-distutils_enable_tests pytest

diff --git a/dev-python/restrictedpython/restrictedpython-7.0.ebuild 
b/dev-python/restrictedpython/restrictedpython-7.0.ebuild
deleted file mode 100644
index 2f057f27b5..00
--- a/dev-python/restrictedpython/restrictedpython-7.0.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="A restricted execution environment for Python to run untrusted 
code"
-HOMEPAGE="https://github.com/zopefoundation/RestrictedPython;
-SRC_URI="https://github.com/zopefoundation/RestrictedPython/archive/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
-S="${WORKDIR}/RestrictedPython-${PV}"
-
-LICENSE="ZPL"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   doc? ( dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] )
-   test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )
-"
-DEPEND="${RDEPEND}"
-
-distutils_enable_sphinx docs
-distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/restrictedpython/

2023-11-17 Thread Julien Roy
commit: 2860ae3f7c0f3783a1efaa08b0b9535ca3917317
Author: Julien Roy  jroy  ca>
AuthorDate: Fri Nov 17 20:21:17 2023 +
Commit: Julien Roy  jroy  ca>
CommitDate: Fri Nov 17 20:21:17 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2860ae3f

dev-python/restrictedpython: add 7.0

Signed-off-by: Julien Roy  jroy.ca>

 dev-python/restrictedpython/Manifest   |  1 +
 .../restrictedpython/restrictedpython-7.0.ebuild   | 27 ++
 2 files changed, 28 insertions(+)

diff --git a/dev-python/restrictedpython/Manifest 
b/dev-python/restrictedpython/Manifest
index c486aee241..34ef24370c 100644
--- a/dev-python/restrictedpython/Manifest
+++ b/dev-python/restrictedpython/Manifest
@@ -1,2 +1,3 @@
 DIST restrictedpython-6.1.gh.tar.gz 442293 BLAKE2B 
8425c371e84a698f1591735cfa0c77ea716c2b7859addc6a7fb97e68ffd239e1b3aaeb359739ec1dfff551a361a8bd8fd2738007ba5d2557debe9592a144c144
 SHA512 
fec5bbe301b64236863a72e4b7a9997d04483da6ae5b384ef73a729092b2fc271f6016586a21558cb30f1c2cc9c9f57b8ee2c6c851873bd493b95fd50dccd1f8
 DIST restrictedpython-6.2.gh.tar.gz 442788 BLAKE2B 
cac63465192d425dc2b18a787fe4e75749f19768bbcb3be921512ccf0558e30f8ab3f8a89c36b77d370ae2c160b5aba4e9481ad66c36909b7189559c20a532fe
 SHA512 
a9947830b66e449881b7d22e4716adb863f20726a6e1f61f4f84396ae88b2c461c084f56ca78c3aa072953c53ba776788aa41ec8415714ba02b1b4c8370bf6fb
+DIST restrictedpython-7.0.gh.tar.gz 440788 BLAKE2B 
c71a70ce4f71b92d87e2bdab157cba4327227da6f1be226df573c25268cbd1afbde608ffcc5d8deb6cbe063244d7611bc8792c6e17ce495c50c5812527674e2e
 SHA512 
844614071e5bdbdd2646160207d4f5452305620930e0b260a1ba9c39f76672f26a16b7ce16f21186d9cfddc12f367758bec09c4cac40f4f4fc8f9164278631e9

diff --git a/dev-python/restrictedpython/restrictedpython-7.0.ebuild 
b/dev-python/restrictedpython/restrictedpython-7.0.ebuild
new file mode 100644
index 00..2f057f27b5
--- /dev/null
+++ b/dev-python/restrictedpython/restrictedpython-7.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="A restricted execution environment for Python to run untrusted 
code"
+HOMEPAGE="https://github.com/zopefoundation/RestrictedPython;
+SRC_URI="https://github.com/zopefoundation/RestrictedPython/archive/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
+S="${WORKDIR}/RestrictedPython-${PV}"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   doc? ( dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] )
+   test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_sphinx docs
+distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/restrictedpython/

2023-11-17 Thread Julien Roy
commit: 9c6532a770a44f7efe38626089e161d8d8e1a9fb
Author: Julien Roy  jroy  ca>
AuthorDate: Fri Nov 17 20:21:27 2023 +
Commit: Julien Roy  jroy  ca>
CommitDate: Fri Nov 17 20:21:27 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9c6532a7

dev-python/restrictedpython: drop 6.1

Signed-off-by: Julien Roy  jroy.ca>

 dev-python/restrictedpython/Manifest   |  1 -
 .../restrictedpython/restrictedpython-6.1.ebuild   | 27 --
 2 files changed, 28 deletions(-)

diff --git a/dev-python/restrictedpython/Manifest 
b/dev-python/restrictedpython/Manifest
index 34ef24370c..959d4c633a 100644
--- a/dev-python/restrictedpython/Manifest
+++ b/dev-python/restrictedpython/Manifest
@@ -1,3 +1,2 @@
-DIST restrictedpython-6.1.gh.tar.gz 442293 BLAKE2B 
8425c371e84a698f1591735cfa0c77ea716c2b7859addc6a7fb97e68ffd239e1b3aaeb359739ec1dfff551a361a8bd8fd2738007ba5d2557debe9592a144c144
 SHA512 
fec5bbe301b64236863a72e4b7a9997d04483da6ae5b384ef73a729092b2fc271f6016586a21558cb30f1c2cc9c9f57b8ee2c6c851873bd493b95fd50dccd1f8
 DIST restrictedpython-6.2.gh.tar.gz 442788 BLAKE2B 
cac63465192d425dc2b18a787fe4e75749f19768bbcb3be921512ccf0558e30f8ab3f8a89c36b77d370ae2c160b5aba4e9481ad66c36909b7189559c20a532fe
 SHA512 
a9947830b66e449881b7d22e4716adb863f20726a6e1f61f4f84396ae88b2c461c084f56ca78c3aa072953c53ba776788aa41ec8415714ba02b1b4c8370bf6fb
 DIST restrictedpython-7.0.gh.tar.gz 440788 BLAKE2B 
c71a70ce4f71b92d87e2bdab157cba4327227da6f1be226df573c25268cbd1afbde608ffcc5d8deb6cbe063244d7611bc8792c6e17ce495c50c5812527674e2e
 SHA512 
844614071e5bdbdd2646160207d4f5452305620930e0b260a1ba9c39f76672f26a16b7ce16f21186d9cfddc12f367758bec09c4cac40f4f4fc8f9164278631e9

diff --git a/dev-python/restrictedpython/restrictedpython-6.1.ebuild 
b/dev-python/restrictedpython/restrictedpython-6.1.ebuild
deleted file mode 100644
index 2f057f27b5..00
--- a/dev-python/restrictedpython/restrictedpython-6.1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="A restricted execution environment for Python to run untrusted 
code"
-HOMEPAGE="https://github.com/zopefoundation/RestrictedPython;
-SRC_URI="https://github.com/zopefoundation/RestrictedPython/archive/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
-S="${WORKDIR}/RestrictedPython-${PV}"
-
-LICENSE="ZPL"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   doc? ( dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] )
-   test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )
-"
-DEPEND="${RDEPEND}"
-
-distutils_enable_sphinx docs
-distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/restrictedpython/

2023-08-30 Thread Julien Roy
commit: 56eb0c9ee1a8f638d1877dcd64327e95da3a9989
Author: Julien Roy  jroy  ca>
AuthorDate: Wed Aug 30 21:46:53 2023 +
Commit: Julien Roy  jroy  ca>
CommitDate: Wed Aug 30 21:46:53 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=56eb0c9e

dev-python/restrictedpython: drop 6.0

Signed-off-by: Julien Roy  jroy.ca>

 dev-python/restrictedpython/Manifest   |  1 -
 .../restrictedpython/restrictedpython-6.0.ebuild   | 27 --
 2 files changed, 28 deletions(-)

diff --git a/dev-python/restrictedpython/Manifest 
b/dev-python/restrictedpython/Manifest
index 8cc57aeefc..c486aee241 100644
--- a/dev-python/restrictedpython/Manifest
+++ b/dev-python/restrictedpython/Manifest
@@ -1,3 +1,2 @@
-DIST restrictedpython-6.0.gh.tar.gz 441665 BLAKE2B 
3b3c27c6aa86e7301299fa32eafa571381637ac16551c48c2faf48815fc6d054df94ddfaccacb243e55300358f1c5f726d17342630137c326387db946d00bdf0
 SHA512 
8f9b53542c0784ac0c9169c4c4252d22f95419c6903ca0e786f44f6fee9303251f3e78ec099f343068c0a7ea7712de52e884aa132dda63ed813e8a17ffe55798
 DIST restrictedpython-6.1.gh.tar.gz 442293 BLAKE2B 
8425c371e84a698f1591735cfa0c77ea716c2b7859addc6a7fb97e68ffd239e1b3aaeb359739ec1dfff551a361a8bd8fd2738007ba5d2557debe9592a144c144
 SHA512 
fec5bbe301b64236863a72e4b7a9997d04483da6ae5b384ef73a729092b2fc271f6016586a21558cb30f1c2cc9c9f57b8ee2c6c851873bd493b95fd50dccd1f8
 DIST restrictedpython-6.2.gh.tar.gz 442788 BLAKE2B 
cac63465192d425dc2b18a787fe4e75749f19768bbcb3be921512ccf0558e30f8ab3f8a89c36b77d370ae2c160b5aba4e9481ad66c36909b7189559c20a532fe
 SHA512 
a9947830b66e449881b7d22e4716adb863f20726a6e1f61f4f84396ae88b2c461c084f56ca78c3aa072953c53ba776788aa41ec8415714ba02b1b4c8370bf6fb

diff --git a/dev-python/restrictedpython/restrictedpython-6.0.ebuild 
b/dev-python/restrictedpython/restrictedpython-6.0.ebuild
deleted file mode 100644
index 2f057f27b5..00
--- a/dev-python/restrictedpython/restrictedpython-6.0.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="A restricted execution environment for Python to run untrusted 
code"
-HOMEPAGE="https://github.com/zopefoundation/RestrictedPython;
-SRC_URI="https://github.com/zopefoundation/RestrictedPython/archive/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
-S="${WORKDIR}/RestrictedPython-${PV}"
-
-LICENSE="ZPL"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   doc? ( dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] )
-   test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )
-"
-DEPEND="${RDEPEND}"
-
-distutils_enable_sphinx docs
-distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/restrictedpython/

2023-08-30 Thread Julien Roy
commit: 56134d12c8e4dcfc334c2af1bea99e1ef75d8c4f
Author: Julien Roy  jroy  ca>
AuthorDate: Wed Aug 30 21:46:40 2023 +
Commit: Julien Roy  jroy  ca>
CommitDate: Wed Aug 30 21:46:40 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=56134d12

dev-python/restrictedpython: add 6.2

Signed-off-by: Julien Roy  jroy.ca>

 dev-python/restrictedpython/Manifest   |  1 +
 .../restrictedpython/restrictedpython-6.2.ebuild   | 27 ++
 2 files changed, 28 insertions(+)

diff --git a/dev-python/restrictedpython/Manifest 
b/dev-python/restrictedpython/Manifest
index da78b9c98b..8cc57aeefc 100644
--- a/dev-python/restrictedpython/Manifest
+++ b/dev-python/restrictedpython/Manifest
@@ -1,2 +1,3 @@
 DIST restrictedpython-6.0.gh.tar.gz 441665 BLAKE2B 
3b3c27c6aa86e7301299fa32eafa571381637ac16551c48c2faf48815fc6d054df94ddfaccacb243e55300358f1c5f726d17342630137c326387db946d00bdf0
 SHA512 
8f9b53542c0784ac0c9169c4c4252d22f95419c6903ca0e786f44f6fee9303251f3e78ec099f343068c0a7ea7712de52e884aa132dda63ed813e8a17ffe55798
 DIST restrictedpython-6.1.gh.tar.gz 442293 BLAKE2B 
8425c371e84a698f1591735cfa0c77ea716c2b7859addc6a7fb97e68ffd239e1b3aaeb359739ec1dfff551a361a8bd8fd2738007ba5d2557debe9592a144c144
 SHA512 
fec5bbe301b64236863a72e4b7a9997d04483da6ae5b384ef73a729092b2fc271f6016586a21558cb30f1c2cc9c9f57b8ee2c6c851873bd493b95fd50dccd1f8
+DIST restrictedpython-6.2.gh.tar.gz 442788 BLAKE2B 
cac63465192d425dc2b18a787fe4e75749f19768bbcb3be921512ccf0558e30f8ab3f8a89c36b77d370ae2c160b5aba4e9481ad66c36909b7189559c20a532fe
 SHA512 
a9947830b66e449881b7d22e4716adb863f20726a6e1f61f4f84396ae88b2c461c084f56ca78c3aa072953c53ba776788aa41ec8415714ba02b1b4c8370bf6fb

diff --git a/dev-python/restrictedpython/restrictedpython-6.2.ebuild 
b/dev-python/restrictedpython/restrictedpython-6.2.ebuild
new file mode 100644
index 00..2f057f27b5
--- /dev/null
+++ b/dev-python/restrictedpython/restrictedpython-6.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="A restricted execution environment for Python to run untrusted 
code"
+HOMEPAGE="https://github.com/zopefoundation/RestrictedPython;
+SRC_URI="https://github.com/zopefoundation/RestrictedPython/archive/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
+S="${WORKDIR}/RestrictedPython-${PV}"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   doc? ( dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] )
+   test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_sphinx docs
+distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/restrictedpython/

2023-07-08 Thread Julien Roy
commit: 78e931b0e7ebe046eda96ae95750cee5f7ac22eb
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Jul  8 10:47:18 2023 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Jul  8 10:47:18 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=78e931b0

dev-python/restrictedpython: add 6.1

Signed-off-by: Julien Roy  jroy.ca>

 dev-python/restrictedpython/Manifest   |  1 +
 .../restrictedpython/restrictedpython-6.1.ebuild   | 27 ++
 2 files changed, 28 insertions(+)

diff --git a/dev-python/restrictedpython/Manifest 
b/dev-python/restrictedpython/Manifest
index ac455349e..da78b9c98 100644
--- a/dev-python/restrictedpython/Manifest
+++ b/dev-python/restrictedpython/Manifest
@@ -1 +1,2 @@
 DIST restrictedpython-6.0.gh.tar.gz 441665 BLAKE2B 
3b3c27c6aa86e7301299fa32eafa571381637ac16551c48c2faf48815fc6d054df94ddfaccacb243e55300358f1c5f726d17342630137c326387db946d00bdf0
 SHA512 
8f9b53542c0784ac0c9169c4c4252d22f95419c6903ca0e786f44f6fee9303251f3e78ec099f343068c0a7ea7712de52e884aa132dda63ed813e8a17ffe55798
+DIST restrictedpython-6.1.gh.tar.gz 442293 BLAKE2B 
8425c371e84a698f1591735cfa0c77ea716c2b7859addc6a7fb97e68ffd239e1b3aaeb359739ec1dfff551a361a8bd8fd2738007ba5d2557debe9592a144c144
 SHA512 
fec5bbe301b64236863a72e4b7a9997d04483da6ae5b384ef73a729092b2fc271f6016586a21558cb30f1c2cc9c9f57b8ee2c6c851873bd493b95fd50dccd1f8

diff --git a/dev-python/restrictedpython/restrictedpython-6.1.ebuild 
b/dev-python/restrictedpython/restrictedpython-6.1.ebuild
new file mode 100644
index 0..2f057f27b
--- /dev/null
+++ b/dev-python/restrictedpython/restrictedpython-6.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="A restricted execution environment for Python to run untrusted 
code"
+HOMEPAGE="https://github.com/zopefoundation/RestrictedPython;
+SRC_URI="https://github.com/zopefoundation/RestrictedPython/archive/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
+S="${WORKDIR}/RestrictedPython-${PV}"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   doc? ( dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] )
+   test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_sphinx docs
+distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/restrictedpython/

2023-07-08 Thread Julien Roy
commit: 6688215cb6c33b892063aba8c2b1469cc3be153f
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Jul  8 10:47:33 2023 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Jul  8 10:47:33 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6688215c

dev-python/restrictedpython: enable py3.12

Signed-off-by: Julien Roy  jroy.ca>

 dev-python/restrictedpython/restrictedpython-6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/restrictedpython/restrictedpython-6.0.ebuild 
b/dev-python/restrictedpython/restrictedpython-6.0.ebuild
index 7e0ab81e1..2f057f27b 100644
--- a/dev-python/restrictedpython/restrictedpython-6.0.ebuild
+++ b/dev-python/restrictedpython/restrictedpython-6.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/restrictedpython/

2023-02-04 Thread Julien Roy
commit: c0e7a62c35bd820a258f606c29fefce5b970ac2c
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Feb  5 01:21:06 2023 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Feb  5 01:21:06 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c0e7a62c

dev-python/restrictedpython: new package, add 6.0

Signed-off-by: Julien Roy  jroy.ca>

 dev-python/restrictedpython/Manifest   |  1 +
 dev-python/restrictedpython/metadata.xml   | 22 ++
 .../restrictedpython/restrictedpython-6.0.ebuild   | 27 ++
 3 files changed, 50 insertions(+)

diff --git a/dev-python/restrictedpython/Manifest 
b/dev-python/restrictedpython/Manifest
new file mode 100644
index 0..ac455349e
--- /dev/null
+++ b/dev-python/restrictedpython/Manifest
@@ -0,0 +1 @@
+DIST restrictedpython-6.0.gh.tar.gz 441665 BLAKE2B 
3b3c27c6aa86e7301299fa32eafa571381637ac16551c48c2faf48815fc6d054df94ddfaccacb243e55300358f1c5f726d17342630137c326387db946d00bdf0
 SHA512 
8f9b53542c0784ac0c9169c4c4252d22f95419c6903ca0e786f44f6fee9303251f3e78ec099f343068c0a7ea7712de52e884aa132dda63ed813e8a17ffe55798

diff --git a/dev-python/restrictedpython/metadata.xml 
b/dev-python/restrictedpython/metadata.xml
new file mode 100644
index 0..bcedbcaa7
--- /dev/null
+++ b/dev-python/restrictedpython/metadata.xml
@@ -0,0 +1,22 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   Julien Roy
+   jul...@jroy.ca
+   
+   
+   RestrictedPython is a tool that helps to define a subset of the 
Python language which allows to provide a program input into a trusted 
environment. RestrictedPython is not a sandbox system or a secured environment, 
but it helps to define a trusted environment and execute untrusted code inside 
of it.
+   
+   
+   
+   Zope Foundation and Contributors
+   zope-...@zope.org
+   
+   
https://github.com/zopefoundation/RestrictedPython/issues
+   
https://github.com/zopefoundation/RestrictedPython/blob/master/CHANGES.rst
+   http://restrictedpython.readthedocs.io
+   zopefoundation/RestrictedPython
+   RestrictedPython
+   
+

diff --git a/dev-python/restrictedpython/restrictedpython-6.0.ebuild 
b/dev-python/restrictedpython/restrictedpython-6.0.ebuild
new file mode 100644
index 0..e8d2e5d83
--- /dev/null
+++ b/dev-python/restrictedpython/restrictedpython-6.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="A restricted execution environment for Python to run untrusted 
code"
+HOMEPAGE="https://github.com/zopefoundation/RestrictedPython;
+SRC_URI="https://github.com/zopefoundation/RestrictedPython/archive/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
+S="${WORKDIR}/RestrictedPython-${PV}"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   doc? ( dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] )
+   test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_sphinx docs
+distutils_enable_tests pytest