From nobody Wed Apr 27 11:42:29 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 452551992C91; Wed, 27 Apr 2022 11:42:30 +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 4KpH116P8Fz4RnG; Wed, 27 Apr 2022 11:42:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651059750; 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=aL2uNIy7gAmt1ca5IbiFuMJ0SjQMyL/vUoza3HscBEc=; b=rvyxkU2sUWjHkVZjgrudMMJfkHyU7WY1zvGwFPDSLyN97kOk5sHl27eYsyDbL8GsivZvNT GFptJqSUs6iLc/fu2AgP+8ymLafhbJDISKy6M4hvyt/7eyWYuxgPGwimkOJ9HRq44TmDCV 1NkQjxm/WuGddI5SonAEOPU9ZvwHpDKZi3lL5tGVJ/ZFoMpJdLWfY7RfYtIpx10hXd/A5C Cd7RWi0s6/3e+m/aX1p+OhRUUYnb6ZMKE8mpkuCeaLLr7H7VI3fFIpAD0N7HNIQycMVlkX XOlbQmt/d6Yw+dLfg+7cBegHro9bRhXD7CNOJJh8RoLi0VgOo5x6oL5zdY7HQg== 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 5D29E23267; Wed, 27 Apr 2022 11:42:29 +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 23RBgT60021729; Wed, 27 Apr 2022 11:42:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23RBgTvV021728; Wed, 27 Apr 2022 11:42:29 GMT (envelope-from git) Date: Wed, 27 Apr 2022 11:42:29 GMT Message-Id: <202204271142.23RBgTvV021728@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: 04ffc1149dcf - main - security/py-vici: fix tests 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: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 04ffc1149dcfe2812d5c0a511d556325cafda9fa Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651059750; 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=aL2uNIy7gAmt1ca5IbiFuMJ0SjQMyL/vUoza3HscBEc=; b=AtdjPGflCRtkXg6Mz/MAHWDk8oYd7fhBqqglauZkzL4S2HSx9q5AeTxxITxUMvKsgb2QHI 7mQWxbk6nAkQLS6xTScJ8xSjxHdD0Fj4m2x5mV1WPvLvj+EGY2x1jcwrM+VIqgIcYU98aT m6/SU6QjafMLusoyVxOmxVeWYUUahI1l24aQMqokQBX0BaUpzwlD8ytBUk3M6ByAGvAG4x Io09gyvy7F991ZvTupk79rHnt/NsMpYvO4RgG86MAbgscTvoHYT87EdxGX/prG9zbR4u32 ZdkvGm9uQhQfmhfqC+pXgWdOpnP43dXuEWhtuiH7hT4r5o5f6cni+Ll7wBF4ZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651059750; a=rsa-sha256; cv=none; b=q11seM9LcamHBt5c/NdwOQ/mxyDvvBS2Aygb3GB9ah91aENU04cHJTi67S3+5tM56MIT2B DnADy6t59d0rhRqrTlOyRYGp2hHEmgL/RwoXOKOgxjtoNR9P1KNo0fKJF9fv75nj2Ugt67 koYZWY2SM2pb/mqjOIaJo5I+bSmY1/kvfoTIQH0JOOJOjdxVAHmBqgLCTa7YG6lDcF8Lrd EI6DspqZuQSU87rp/GAuATD+9/Z44GG6Hfi81XQ9LluU0VbeLMBu5Kfofo0z0vvbekPaBt d00xMRyToOy6UCRcuYDDwho5xkeG2/VYEoX0OC1g5oJG7QRp0WKKv8nSg9g4Cg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=04ffc1149dcfe2812d5c0a511d556325cafda9fa commit 04ffc1149dcfe2812d5c0a511d556325cafda9fa Author: Dmitry Marakasov AuthorDate: 2022-04-26 16:05:11 +0000 Commit: Dmitry Marakasov CommitDate: 2022-04-27 11:42:14 +0000 security/py-vici: fix tests Switch to USES=pytest, fix test depends and run pytest directly instead of through tox, which hinders testing by trying to use unrelated interpreters and install dependencies with pip. Reported by: reprise Approved by: portmgr blanket --- security/py-vici/Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/security/py-vici/Makefile b/security/py-vici/Makefile index 65821173ea99..1bf36c03c0ab 100644 --- a/security/py-vici/Makefile +++ b/security/py-vici/Makefile @@ -10,16 +10,12 @@ COMMENT= Native Python interface for strongSwan's VICI protocol LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-pycodestyle>0:devel/py-pytest-pycodestyle@${PY_FLAVOR} -USES= python:3.6+ +USES= python:3.6+ pytest USE_PYTHON= autoplist concurrent distutils +PYTEST_ARGS= --pycodestyle NO_ARCH= yes -do-test: # skip non installed python versions in the tests (because flavors) - cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m tox --skip-missing-interpreters - .include