git: 13a0bc621e37 - main - www/py-pylsqpack: Convert to USE_PYTHON=unittest

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 03 Jun 2022 17:02:10 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=13a0bc621e37f4376969e07121b5da019e562fcc

commit 13a0bc621e37f4376969e07121b5da019e562fcc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-03 16:58:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-03 16:58:00 +0000

    www/py-pylsqpack: Convert to USE_PYTHON=unittest
---
 www/py-pylsqpack/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/www/py-pylsqpack/Makefile b/www/py-pylsqpack/Makefile
index eb70cd126fb9..dfa6999f250c 100644
--- a/www/py-pylsqpack/Makefile
+++ b/www/py-pylsqpack/Makefile
@@ -13,12 +13,9 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		compiler:c++11-lang python:3.7+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils unittest
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
-do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
-
 .include <bsd.port.mk>