Skip to content

Commit

Permalink
security/py-oauthlib: Convert to USE_PYTHON=pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Jul 31, 2023
1 parent dfc0cf9 commit 4996408
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions security/py-oauthlib/Makefile
Expand Up @@ -11,11 +11,10 @@ WWW= https://github.com/oauthlib/oauthlib
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=4.0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.6:devel/py-pytest-cov@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.6:devel/py-pytest-cov@${PY_FLAVOR}

USES= python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent distutils pytest

NO_ARCH= yes

Expand All @@ -27,10 +26,7 @@ SIGNEDTOKEN_DESC= Signed token support

RSA_USES= pycryptography:run
SIGNALS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>=1.4.0:devel/py-blinker@${PY_FLAVOR}
SIGNEDTOKEN_USES= pycryptography:run
SIGNEDTOKEN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.0.0<3:www/py-pyjwt@${PY_FLAVOR}

do-test:
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
SIGNEDTOKEN_USES= pycryptography:run

.include <bsd.port.mk>

0 comments on commit 4996408

Please sign in to comment.