Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2022 17:01:59 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: 64fc26384f10 - main - devel/py-libusb1: Convert to USE_PYTHON=unittest
Message-ID:  <202206031701.253H1xZc050627@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=64fc26384f109399c67d3c5c208ac9c9867c5302

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

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

diff --git a/devel/py-libusb1/Makefile b/devel/py-libusb1/Makefile
index 0bc3df9c2812..9d39f14b74f4 100644
--- a/devel/py-libusb1/Makefile
+++ b/devel/py-libusb1/Makefile
@@ -12,11 +12,8 @@ LICENSE=	LGPL21+
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyinstaller>=0:devel/py-pyinstaller@${PY_FLAVOR}
 
 USES=		python:3.7+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils unittest
 
 NO_ARCH=	yes
 
-do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
-
 .include <bsd.port.mk>



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