Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2022 17:02:08 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: d6180aea696a - main - textproc/py-markdown: Convert to USE_PYTHON=unittest
Message-ID:  <202206031702.253H2853050825@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=d6180aea696a65a38f52775e22fd0d09d877f00a

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

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

diff --git a/textproc/py-markdown/Makefile b/textproc/py-markdown/Makefile
index 17710fe21b9a..f6079647212e 100644
--- a/textproc/py-markdown/Makefile
+++ b/textproc/py-markdown/Makefile
@@ -17,7 +17,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR}
 		${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils unittest
 
 NO_ARCH=	yes
 
@@ -27,7 +27,4 @@ NO_ARCH=	yes
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.4:devel/py-importlib-metadata@${PY_FLAVOR}
 .endif
 
-do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
-
 .include <bsd.port.post.mk>



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