commit: 62196f91dee81427159763cfb098964c9a3be672
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 15 12:09:36 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Nov 15 12:26:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62196f91
dev-util/pkgcheck: Extend permitted uid/gid range
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../{pkgcheck-0.10.8.ebuild => pkgcheck-0.10.8-r1.ebuild} | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dev-util/pkgcheck/pkgcheck-0.10.8.ebuild
b/dev-util/pkgcheck/pkgcheck-0.10.8-r1.ebuild
similarity index 88%
rename from dev-util/pkgcheck/pkgcheck-0.10.8.ebuild
rename to dev-util/pkgcheck/pkgcheck-0.10.8-r1.ebuild
index 25466d114146..b2d246af149e 100644
--- a/dev-util/pkgcheck/pkgcheck-0.10.8.ebuild
+++ b/dev-util/pkgcheck/pkgcheck-0.10.8-r1.ebuild
@@ -47,6 +47,14 @@ BDEPEND="
distutils_enable_tests setup.py
+src_prepare() {
+ # extend allowed system uid/gid range per Council 2021-11-14
+ sed -i -e 's:500:750:g' \
+ src/pkgcheck/checks/acct.py \
+ tests/checks/test_acct.py || die
+ distutils-r1_src_prepare
+}
+
src_test() {
local -x PYTHONDONTWRITEBYTECODE=
distutils-r1_src_test