commit:     3c5145d37821ee4cb3162fc21f86c7ed90955cd4
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 27 15:02:12 2024 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Thu Jun 27 15:11:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c5145d3

dev-python/thrift: wire up tests

Bug: https://bugs.gentoo.org/928502
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 dev-python/thrift/thrift-0.20.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/thrift/thrift-0.20.0.ebuild 
b/dev-python/thrift/thrift-0.20.0.ebuild
index 3419f9b45024..e0005aa2bdb8 100644
--- a/dev-python/thrift/thrift-0.20.0.ebuild
+++ b/dev-python/thrift/thrift-0.20.0.ebuild
@@ -20,4 +20,9 @@ S="${WORKDIR}/${P}/lib/py"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux"
-RESTRICT="test"
+
+distutils_enable_tests unittest
+
+python_test() {
+       eunittest test
+}

Reply via email to