git: 9e65607e20cc - main - audio/py-aubio: Simplify regression tests

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Tue, 01 Nov 2022 20:33:01 UTC
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9e65607e20cc059193f50bd604d8266f091dcb10

commit 9e65607e20cc059193f50bd604d8266f091dcb10
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2022-10-31 20:01:47 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2022-11-01 20:32:48 +0000

    audio/py-aubio: Simplify regression tests
---
 audio/py-aubio/Makefile | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/audio/py-aubio/Makefile b/audio/py-aubio/Makefile
index dcd93d374270..c697d1405a28 100644
--- a/audio/py-aubio/Makefile
+++ b/audio/py-aubio/Makefile
@@ -8,14 +8,10 @@ COMMENT=	Python bindings for aubio music analysis
 LIB_DEPENDS=	libaubio.so:audio/aubio
 BUILD_DEPENDS=	${PYNUMPY}
 RUN_DEPENDS=	${PYNUMPY}
-TEST_DEPENDS=	sox:audio/sox \
-		${PYTHON_PKGNAMEPREFIX}pytest>=2.9:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS=	sox:audio/sox
 
-USES+=		python:3.6+
-USE_PYTHON=	autoplist concurrent distutils
-
-TEST_TARGET=	${WRKSRC}/python
-DO_MAKE_TEST=	${SETENV} ${TEST_ENV} ${LOCALBASE}/bin/pytest-${PYTHON_VER}
+USES+=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils pytest
 
 MASTERDIR=	${.CURDIR}/../../audio/aubio
 SLAVEPORT=	py