Skip to content

Commit

Permalink
security/py-libnacl: Convert to USE_PYTHON=unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Jun 3, 2022
1 parent 17a787b commit 172c515
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions security/py-libnacl/Makefile
Expand Up @@ -15,11 +15,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libsodium.so:security/libsodium

USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent distutils unittest

NO_ARCH= yes

do-test:
cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover -s tests -v
TEST_ARGS= discover -s tests

.include <bsd.port.mk>

0 comments on commit 172c515

Please sign in to comment.