www-servers/nginx-unit: Run python tests when appropiate

Closes: https://bugs.gentoo.org/969699

Signed-off-by: Mike Pagano <mpagano@gentoo.org>
This commit is contained in:
Mike Pagano
2026-02-07 19:00:41 -05:00
parent cfa7317c2f
commit 05ea56906e

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -89,7 +89,7 @@ src_configure() {
}
src_test() {
epytest '-opython_files=test_python*.py'
use python && epytest '-opython_files=test_python*.py'
}
src_install() {