commit:     804252c08cca2abccce763352fc495956e9f3064
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Sun Feb  1 18:57:19 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb  2 04:00:12 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=804252c0

dev-python/zenlib: add 3.2.1 with fixed tests

just skip the tests where namespace stuff is being run if the user
running the tests does not have subuid/subgid allocations

tests are automatically run in CI and as part of development (using an
account which has allocations)

Signed-off-by: Zen <z <AT> pyl.onl>
Part-of: https://github.com/gentoo/gentoo/pull/45599
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/zenlib/Manifest            |  1 +
 dev-python/zenlib/zenlib-3.2.1.ebuild | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/dev-python/zenlib/Manifest b/dev-python/zenlib/Manifest
index 3cb1c434709b..64d29074bf1e 100644
--- a/dev-python/zenlib/Manifest
+++ b/dev-python/zenlib/Manifest
@@ -1,2 +1,3 @@
 DIST zenlib-3.1.5.gh.tar.gz 23230 BLAKE2B 
900cc0dbdb087d0d294027747eed046dee452ac7dd15cb572ff769e148e07478a5030f8412fdbebcf89db17c6e06df5368fe28ff1df983723e068b9005cba6ce
 SHA512 
2ece8426ab169e77e14c27c86b4d0d5dab7a0318a9a264a255db102d4f882d1297ac6f8de23b8e80c6ab0d7fbfc0998a08f04eab53bad007efd39171f45b8089
 DIST zenlib-3.2.0.gh.tar.gz 24540 BLAKE2B 
8c558391a87877761d69bebd0b557523f68adf7205940a5fa7354e261ce6fba9aa81f8b5f95c1eb6bc74ad8b2267a646e6382bd2478fa885fcb0fa22d97eddac
 SHA512 
1754a5fde2c2535e712fda6da7b98eab01a39735530a2621e7ff5c78bb920ea6cc5db1549f074625eb251d8ffa9f9f62ea5af71dd97fb52ba2317598e665ed01
+DIST zenlib-3.2.1.gh.tar.gz 24631 BLAKE2B 
f0d4c30f8103e1fa97302205e84be422c45d337034ead9912dc6ca42d30c834ee454c73c2eb0b72102c0aac68d8c650c16880318c14d82cf053edf87f146e1bc
 SHA512 
31f8493a87c8726c4830e35aa0f5009054b465406b5394dc801629ab6223b691e191a7e577ea3925136d287e9860cd5a23a2592d62d24a4bbe235a6a23bcdf08

diff --git a/dev-python/zenlib/zenlib-3.2.1.ebuild 
b/dev-python/zenlib/zenlib-3.2.1.ebuild
new file mode 100644
index 000000000000..0495e5898742
--- /dev/null
+++ b/dev-python/zenlib/zenlib-3.2.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2023-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Useful python decorators and utilities"
+HOMEPAGE="https://github.com/desultory/zenlib/";
+SRC_URI="
+       https://github.com/desultory/zenlib/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+distutils_enable_tests unittest
+
+python_test() {
+       CI=true eunittest tests  # Set CI=true to disable namespace module 
tests and imports
+}

Reply via email to