From nobody Thu Jun 9 11:03:27 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6B59183251E; Thu, 9 Jun 2022 11:03:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LJh68161Pz4xWZ; Thu, 9 Jun 2022 11:03:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654772608; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z6UG3vxgm69qqVWIDdByphmUc26KTxM5eI5Y7XqqNgQ=; b=ageQWKiu87eAlH/8GNkVYWqy/HJXeDymODIWwwR8gVbltcZd29lDZ60XpxMfh7NRJGRxSQ p4MxL5yMvqOsvk+Xh9KlayhPSIrgu1M4vTotsZlj1Rku0YL6JwgLkPzGrSww0eIfFaCNIz tyM8s0mrWPN5gGqDFWFKK0dk03sUzf/O/Q/l/L39AEYrKevB3xaI80pYKJTkuoV8GXALAp 98ucASbXYZ19ToDIKBTEzRTjdw5efNQc37zO2+B2lhowe4rD+X+sKGMTg5CfR88eS/UY/4 oLMwd5/x+Q8BfwozB1PQThhRWps8TMEd/8n+gpri6K4IBTTd3mypJZsHg2a5Ig== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C75EC22772; Thu, 9 Jun 2022 11:03:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 259B3REO050030; Thu, 9 Jun 2022 11:03:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 259B3Rb5050029; Thu, 9 Jun 2022 11:03:27 GMT (envelope-from git) Date: Thu, 9 Jun 2022 11:03:27 GMT Message-Id: <202206091103.259B3Rb5050029@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 0366eb6bf680 - main - devel/py-black: Convert to USE_PYTHON=pytest List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0366eb6bf680ccf80f4bb7b91db58032b6eb6cb0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654772608; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z6UG3vxgm69qqVWIDdByphmUc26KTxM5eI5Y7XqqNgQ=; b=wrBi1PrvOvngi9LhYy0RnEGqlWcwzKtgbO8jT0Q/gdqfyRFYldIZjEvLhd+eO0E0A0TQve +pRiyJPpXQbU5Vtw79iaxV/MKGdox6hHN8nPYpCUYmywdQ3McMbIqgKGFrcLqlWAEa9jkt u7yhy4cp8dZ1F1MEzgIdjj5cznfflz5WZ/J4l0khCwNyVCXzDsOOpka7Yhcxi/YbTjqEHr mTOSrv1rG2ynm6nRuDhJ4eDGATN7K+T9RQ9SQxLqHb+DRYkk/ZmRqA6B5h9H5EMkrxMIXi Z28YYJ2f9pi4cBcP56RkHCJyAcvwMLiT1Zd5NL4950EPQ7zD1IBluDdGFlYJeA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654772608; a=rsa-sha256; cv=none; b=YGqcabxV8GscptiHnP1SlWfdZhiJLOSFm3wrEy2tcXYRRsqDSQfXD8iy08VT1hxvAR35zm iXuIS54tDA0JRgyCvBWHtNX892dYM7/FoIu18maIvu5y7fKUk1ov7KUtNM1XxG5X/Iw8ip S2/NHYKTbkDOeje3puY2wRpoTj5DArP3HIYwq8zOebTIL+RCBGc1ZupDRbfxT4D3SXv8cM 4JHZZCKpcUyLeKr2K/N7VUwp6drIj0xXv23jlfDYPt+om1/MG712Vo6NsFCVB0DQaXBe4E SHCEEC8v+KqXlEM++E6pQHGj/cv2hcG79YnRHYvPoQJXrdhc8VEao9nTTaU27w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0366eb6bf680ccf80f4bb7b91db58032b6eb6cb0 commit 0366eb6bf680ccf80f4bb7b91db58032b6eb6cb0 Author: Po-Chuan Hsieh AuthorDate: 2022-06-09 10:58:11 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-09 10:58:11 +0000 devel/py-black: Convert to USE_PYTHON=pytest --- devel/py-black/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/devel/py-black/Makefile b/devel/py-black/Makefile index 2c380c541727..683ad7b12fd2 100644 --- a/devel/py-black/Makefile +++ b/devel/py-black/Makefile @@ -16,11 +16,18 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pathspec>=0.9.0:devel/py-pathspec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}platformdirs>=2:devel/py-platformdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}regex>=2020.1.8:textproc/py-regex@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=5.3:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ipython>=7.8.0:devel/ipython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pre-commit>=0:devel/py-pre-commit@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.9.0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=2.2.1:devel/py-pytest-xdist@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tokenize-rt>=3.2.0:devel/py-tokenize-rt@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} OPTIONS_DEFINE= COLORAMA D JUPYTER UVLOOP OPTIONS_DEFAULT=COLORAMA @@ -49,7 +56,4 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0.0:devel/py-typing RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR} .endif -do-test: - cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test - .include