gentoo/dev-python/zenlib/zenlib-9999.ebuild
Zen 8c9e238faf
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>
2025-01-01 06:39:28 +01:00

23 lines
529 B
Bash

# 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 git-r3
DESCRIPTION="Useful python decorators and utilities"
HOMEPAGE="https://github.com/desultory/zenlib/"
EGIT_REPO_URI="https://github.com/desultory/zenlib.git"
LICENSE="GPL-2"
SLOT="0"
distutils_enable_tests unittest
python_test() {
CI=true eunittest tests # Disable namespace module tests and imports with CI=true
}