audio/py-audioread: Convert to USE_PYTHON=pytest

- Remove py-pytest-runner from TEST_DEPENDS
This commit is contained in:
Po-Chuan Hsieh 2022-06-09 18:58:07 +08:00
parent 8a847db139
commit db83728cb3
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 11 additions and 4 deletions

View File

@ -12,11 +12,8 @@ COMMENT= Multi-library, cross-platform audio decoding
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes

View File

@ -0,0 +1,10 @@
--- setup.py.orig 2019-09-01 00:41:41 UTC
+++ setup.py
@@ -37,7 +37,6 @@ setup(name='audioread',
packages=['audioread'],
tests_require=[
- 'pytest-runner',
'pytest'
],