Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2021 18:09:15 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567143 - head/devel/py-gast
Message-ID:  <202103031809.123I9FIc042301@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Mar  3 18:09:15 2021
New Revision: 567143
URL: https://svnweb.freebsd.org/changeset/ports/567143

Log:
  Update do-test:
  
  It removes the warning message:
  WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.

Modified:
  head/devel/py-gast/Makefile

Modified: head/devel/py-gast/Makefile
==============================================================================
--- head/devel/py-gast/Makefile	Wed Mar  3 18:09:10 2021	(r567142)
+++ head/devel/py-gast/Makefile	Wed Mar  3 18:09:15 2021	(r567143)
@@ -15,11 +15,11 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astunparse>=0:devel/py-astunparse@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
 do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} 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?202103031809.123I9FIc042301>