From nobody Fri Jun 3 17:01:34 2022 X-Original-To: dev-commits-ports-all@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 3BAEC1BD5D67; Fri, 3 Jun 2022 17:01:36 +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 4LF8L76CyFz3w0g; Fri, 3 Jun 2022 17:01:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654275695; 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=+oMTLCAXXBNX9SsvRUkN1YweqLpR/l3YRwWR29ZO0ws=; b=XR2Z2yRPKfbJZ4BttA4SNGKuQd9ZeVo6LPmmqJPp9pGEwpZ2LtoCgcBkf+l1/n+n2Mzfl0 DdmBpE/xsBddG8vGK1zMaeg5Cv4gvHCWBW+vLJYzX+Q+kZRI5SKO8GMzRv/EH1XUEnPIGc l9/pKDeac906mQxhLKezemiHoKZSajJ+EROarf5ktqBZCt0lfIPLQYjEl4VKGWecjoyCXD g+3aqe6LzUWrTKg/cIf6Dq8jzpMf4/7f9koYbLNotSkQDQLjW7nZUvfqZX61caw5eHd7X+ 0XL0Ke46yKmARo3o/zQCmRm2z9nxK6c0vOZnIMZwYVEwsGIHpl3ewBWWrkb7Qg== 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 A4CF7519A; Fri, 3 Jun 2022 17:01:34 +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 253H1YrQ049804; Fri, 3 Jun 2022 17:01:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 253H1Ydj049803; Fri, 3 Jun 2022 17:01:34 GMT (envelope-from git) Date: Fri, 3 Jun 2022 17:01:34 GMT Message-Id: <202206031701.253H1Ydj049803@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: dd9e315d3463 - main - devel/py-cffi: Convert to USE_PYTHON=pytest List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: dd9e315d346383474844a25dd3ce3765990355d4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654275695; 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=+oMTLCAXXBNX9SsvRUkN1YweqLpR/l3YRwWR29ZO0ws=; b=AMOAX0WyxjmHv6aqV0d9P6SLpjgPzwQ/3vK6O+lzDpW4SFiLlGxHUEMl5C1Iby5LKQiUqm 3lDWKqc1nB99OjApwrnx89w7AP8rbSp4+zK9Q2egw3p7eJBU3ux75uHb+a2pT3e8BXiT39 /LFQ17VhlsWb9i8JAEnZYSz1O+HQJyRXqCVkfps1vJ450uvABcDjVUp1Z0fInXghDLbQVk sK9weZpVMrLxh2tSlvdeVPOUeAr9OQmtrdUOzT+JL6hGAxr0MyhJtolHsgFHRKowkkzmhE r4hlqfiUc7iGRjQ1JhGL7a5gaMMXNKYQSw+lv4o1nYhjRip+Dxa9zSHJ6oZ6Ug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654275695; a=rsa-sha256; cv=none; b=blrc/ImKjOHMfA4k+m/jnjKCWrMVYXvF5Wdx+ptDPpoEBSLL7/QbkMTuLqMpzClJiqcZwc w/W1NzNdhDxk3eo3GkeQyiNhIaqcoOICmxj2BSN9Wd9bNI3+J9MoAeK6GKeDJ5i3uO/C10 x7V/Z1hZxLELkynG6rp+XuLuRiOsVc7KQ5U4O86ja1eZyEztGsf30O049zMFAw8NZxiofm YXu+G79v38CA2lTDyPqZFgHGyyW6asscnbp17WO6q17li6FMIIhNp2tu27lOXngPrTTd3D o8Veyt4v3s5yfM+tlPJqvvO4SllkU2IFPYTkRWrFfeVoE7P+0lCe5LXoFHLI8g== 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=dd9e315d346383474844a25dd3ce3765990355d4 commit dd9e315d346383474844a25dd3ce3765990355d4 Author: Po-Chuan Hsieh AuthorDate: 2022-06-03 16:57:17 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-03 16:57:17 +0000 devel/py-cffi: Convert to USE_PYTHON=pytest --- devel/py-cffi/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/devel/py-cffi/Makefile b/devel/py-cffi/Makefile index 6b0acd355f14..c0eea1c15955 100644 --- a/devel/py-cffi/Makefile +++ b/devel/py-cffi/Makefile @@ -15,10 +15,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libffi.so:devel/libffi RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycparser>=0:devel/py-pycparser@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} USES= compiler:c11 localbase python:3.6+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest + +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .include @@ -29,7 +30,4 @@ CFLAGS+= -Wno-shift-negative-value post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + -do-test: - cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs -v - .include