commit:     55f39b9c2abe8e5e21a0cf8fc7d3030be676b3f3
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Wed Feb 26 14:48:56 2025 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Wed Feb 26 14:48:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=55f39b9c

dev-python/plum: enable tests, python3_13t

Closes: https://bugs.gentoo.org/925466
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-python/plum/plum-0.8.7.ebuild | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/dev-python/plum/plum-0.8.7.ebuild 
b/dev-python/plum/plum-0.8.7.ebuild
index 143b323cb..5d32ff6a6 100644
--- a/dev-python/plum/plum-0.8.7.ebuild
+++ b/dev-python/plum/plum-0.8.7.ebuild
@@ -1,16 +1,30 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 EAPI=8
 
-PYTHON_COMPAT=( python3_{11..13} )
+PYTHON_COMPAT=( python3_{11..13} python3_13t )
 DISTUTILS_USE_PEP517=setuptools
 inherit distutils-r1
 
 DESCRIPTION="Pack/Unpack Memory"
-
 HOMEPAGE="https://gitlab.com/dangass/plum";
 SRC_URI="https://gitlab.com/dangass/${PN}/-/archive/${PV}/${PN}-${PV}.tar.bz2";
+
 LICENSE="MIT"
 SLOT="0"
-
 KEYWORDS="~amd64"
+
+BDEPEND="
+       test? ( dev-python/baseline[${PYTHON_USEDEP}] )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_IGNORE=(
+               # broken test
+               # https://gitlab.com/dangass/plum/-/issues/150
+               tests/flag/test_flag_invalid.py
+       )
+       epytest tests
+}

Reply via email to