dev-python/zenlib: add 3.1.4, restrict namespace tests

3.1.0 introduces namespace support 3.1.2 improves validatedDataclass
3.1.4 fixes issues with the namespace module being used as root

Signed-off-by: Zen <z@pyl.onl>
Closes: https://github.com/gentoo/gentoo/pull/39922
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Zen
2024-12-31 11:30:36 -06:00
committed by Michał Górny
parent cb0227e042
commit 8c9e238faf
3 changed files with 29 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
DIST zenlib-2.4.1.gh.tar.gz 21281 BLAKE2B e6a4005d7e5db95ccc18ecb87c10180e148bcf0a860923ac71177c90d448186247e08eee9f2c5dcb7e0803536dc07bfa3137b363a410ea2e03f875c4096fdadc SHA512 a8ceadbda243583ebe45fb56a4a72d2693505d9123346b3a140ccb16ed7de85d60caafffac0274e3f6289b0b82a82643feba039d85ea4f159fb259c7bdd46725
DIST zenlib-3.0.1.gh.tar.gz 20583 BLAKE2B 9f6e1e349488bd97c9f85b21fb629067b6f207077604e93f8692e98773f2637149f69a4b97328c32fc198660f4fee880110bcef428717218bde5a83c451e4eae SHA512 759684f376bd7f297dd4539289159c2b163b397d80a99a1cda2882ebb125cabdcbf18884299d67af2cb8c50c3fb36af06c48fa29d62121a40406f8c3857732fd
DIST zenlib-3.0.2.gh.tar.gz 21046 BLAKE2B 1416246d7f030e938a28e6ec8ad7981ca52186df75bf4e48e171b6e41d85bddbb60646642d238b7b3269a204be5f625c15dc9bf0008bb7002db8ae772c7c4c80 SHA512 09574b62dd0e06d1cca67e16a9dd4b75d4b2d3884f483dd17c1bb82debb4bc3c89f8b7f0e8d743c5eb6e2269be7741e3ac9941812f3baed5e1d297a41194c294
DIST zenlib-3.1.4.gh.tar.gz 23131 BLAKE2B f1595317c2384227ee65e8730889c8af8d243a51075a5dfa0e5b3e40ad5c74cb7e0e13b6789fd77eb109633c793820c3c742660d2f33e46e2dd630c64cb59109 SHA512 13ff8ab3d1a206844731f06aa26bb4060e83efb7c915b946bfa9b60fe83f273f8f938a4ca54324969e60f337e4ba7132a0abce586e173e4658372315e8f32e9e

View File

@@ -0,0 +1,26 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
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"
distutils_enable_tests unittest
python_test() {
CI=true eunittest tests # Set CI=true to disable namespace module tests and imports
}

View File

@@ -1,4 +1,4 @@
# Copyright 2023-2024 Gentoo Authors
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,5 +18,5 @@ SLOT="0"
distutils_enable_tests unittest
python_test() {
eunittest tests
CI=true eunittest tests # Disable namespace module tests and imports with CI=true
}