commit:     7ebb9f5de8c1784e402047cf49a061e8ce7ce500
Author:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 14 12:53:35 2020 +0000
Commit:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
CommitDate: Mon Dec 14 13:02:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ebb9f5d

dev-python/slixmpp: run tests the right way

Upstream means the tests appropriate for this phase to be invoked via
./run_tests.py .

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org>

 dev-python/slixmpp/slixmpp-1.5.2.ebuild | 4 +++-
 dev-python/slixmpp/slixmpp-9999.ebuild  | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/slixmpp/slixmpp-1.5.2.ebuild 
b/dev-python/slixmpp/slixmpp-1.5.2.ebuild
index 64f1fc02263..4bdc2f5616c 100644
--- a/dev-python/slixmpp/slixmpp-1.5.2.ebuild
+++ b/dev-python/slixmpp/slixmpp-1.5.2.ebuild
@@ -31,4 +31,6 @@ RDEPEND="
        ${DEPEND}
 "
 
-distutils_enable_tests pytest
+python_test() {
+       "${EPYTHON}" ./run_tests.py || die "Tests failed with ${EPYTHON}"
+}

diff --git a/dev-python/slixmpp/slixmpp-9999.ebuild 
b/dev-python/slixmpp/slixmpp-9999.ebuild
index 64f1fc02263..4bdc2f5616c 100644
--- a/dev-python/slixmpp/slixmpp-9999.ebuild
+++ b/dev-python/slixmpp/slixmpp-9999.ebuild
@@ -31,4 +31,6 @@ RDEPEND="
        ${DEPEND}
 "
 
-distutils_enable_tests pytest
+python_test() {
+       "${EPYTHON}" ./run_tests.py || die "Tests failed with ${EPYTHON}"
+}

Reply via email to