Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Sep 2022 03:52:54 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: ec414397f75c - main - devel/py-hatch-vcs: Convert to USE_PYTHON=pytest
Message-ID:  <202209040352.2843qsNK084295@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=ec414397f75c206ff2a54024e43f96699efcbcc2

commit ec414397f75c206ff2a54024e43f96699efcbcc2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-09-04 03:46:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-09-04 03:46:43 +0000

    devel/py-hatch-vcs: Convert to USE_PYTHON=pytest
---
 devel/py-hatch-vcs/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/devel/py-hatch-vcs/Makefile b/devel/py-hatch-vcs/Makefile
index 555a5ceb0658..39b23906639f 100644
--- a/devel/py-hatch-vcs/Makefile
+++ b/devel/py-hatch-vcs/Makefile
@@ -13,11 +13,13 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0.21.0:devel/py-hatchling@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.4.0:devel/py-setuptools_scm@${PY_FLAVOR}
+TEST_DEPENDS=	git:devel/git
 
 USES=		python:3.7+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils pytest
 
 NO_ARCH=	yes
+TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
 
 post-patch:
 	@${RM} ${WRKSRC}/pyproject.toml



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