Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2022 17:02:06 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 172c515a035a - main - security/py-libnacl: Convert to USE_PYTHON=unittest
Message-ID:  <202206031702.253H261Z050777@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=172c515a035ada73b6e40f14ba6443ee3e378fc6

commit 172c515a035ada73b6e40f14ba6443ee3e378fc6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-03 16:57:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-03 16:57:51 +0000

    security/py-libnacl: Convert to USE_PYTHON=unittest
---
 security/py-libnacl/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/security/py-libnacl/Makefile b/security/py-libnacl/Makefile
index dd1b8aa44aec..b7bda16274a8 100644
--- a/security/py-libnacl/Makefile
+++ b/security/py-libnacl/Makefile
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206031702.253H261Z050777>