From nobody Fri Jun 03 17:01:48 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 9BEA31BD6301; Fri, 3 Jun 2022 17:01:49 +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 4LF8LN5tfMz3wFV; Fri, 3 Jun 2022 17:01:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654275708; 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=Na0YKZyt1p9p92qLrqyoFSHIIKWM0KR/fvaZGkbBXws=; b=IgZ+XRO8/7mie+p+MMVKYTrt9RoejpoNTalNnjc8x9anD5vSVIJq14b6opb6Uwu6x5g6AF QAwFGfq6nSSaO7mOyBEaLOvYZyH45KCBYlDabWDLEn3tibzFSjv3I+NAPSWKEQSzzul3G+ Fs3h3z63uAHzu5vJ2F9HqY+zKDKGMGY8Is4k8+PQBuV0ZOvwV13UdVcqHwZ+D9SGhgtSlP XdHYhhZ4V2z9Jo8/3/33qbiGf3Yfkkk/hSnnHpYnPfVjIxp+1m/inM/ns8aDuC2iCBf6Bv BUwKGm/pI9z0s9yo4yQOJ5BpeXcu2XcG84xy38iMtjcKgFIduphpDn7sP7ac/A== 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 25301531F; Fri, 3 Jun 2022 17:01:48 +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 253H1m3H050111; Fri, 3 Jun 2022 17:01:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 253H1mmq050110; Fri, 3 Jun 2022 17:01:48 GMT (envelope-from git) Date: Fri, 3 Jun 2022 17:01:48 GMT Message-Id: <202206031701.253H1mmq050110@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: dc62ba31ef64 - main - security/py-cryptography: 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: dc62ba31ef640264481081f0d88045c79dabb77e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654275708; 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=Na0YKZyt1p9p92qLrqyoFSHIIKWM0KR/fvaZGkbBXws=; b=g792Db0ayIhp6/SJpVLi3yxVLzexFS8zFTF+UD8qzXW0d80K9repnxt0wpSqzwJFaj2/a+ 2OVg+mSTG+ArcLDj5FpaFrZDqpl79a11omT8HAat1biLq4imF8/Zfi2Tw+E5NMkRqibXa4 goFe6LCFEPTpgIzjwZ1GF24nw8rmfNYFaJGe9ys949SDWKkpFTKdJ58dRVL3Qd7TJt/zIe XOM/n+RSlxwmuvBpKWbMUgAjFvQREADHGn9rHJ4f4ST6hkg2319It1OHuIQt7gJy7xx4FU LgRm69jGMWL5bkUgBIcoK5VH0i0ecBQwecp1C3qBoZpzt0ER/y4Rj2HwoP5U1Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654275708; a=rsa-sha256; cv=none; b=lw9zEY3H69rRyC6mh2Bk/KS8UhIyo00N8plJP8hZCzm5UutmD7CmU6FYstv7JEW/ErG0V2 MVqnSmvCr3CCW/vsWIG0ElnZcOUzfaWWzdJTaAKQwCYNsoXoP7IDXKosSOkHyVX4r3c+Gr 9kHtgOFJCvEnxrwZYJc79CTi7aW8udmgsyc71+7KbCLRZ5VUf3hhqBKiUSCWSc0bfKLkFz KcR8toyRywO3GIRAYsI3eZkux3GZk6IgYf5LcXYzsffqjQs4w764IFC0ISHPuAUiRCttNT kRagMWN06WrxKsOOy3aBU7hIWpoYaLxUz8/m2stRlyvWPAaDN/DvUk+4xieL0Q== 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=dc62ba31ef640264481081f0d88045c79dabb77e commit dc62ba31ef640264481081f0d88045c79dabb77e Author: Po-Chuan Hsieh AuthorDate: 2022-06-03 16:57:31 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-03 16:57:31 +0000 security/py-cryptography: Convert to USE_PYTHON=pytest --- security/py-cryptography/Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/security/py-cryptography/Makefile b/security/py-cryptography/Makefile index c507387a8aa8..66e929190d4f 100644 --- a/security/py-cryptography/Makefile +++ b/security/py-cryptography/Makefile @@ -16,21 +16,23 @@ LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE.BSD BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.12:devel/py-cffi@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.12:devel/py-cffi@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=1.11.4:devel/py-hypothesis@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography-vectors>=${PORTVERSION}:security/py-cryptography-vectors@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hypothesis>=1.11.4:devel/py-hypothesis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}iso8601>=0:devel/py-iso8601@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pretend>=0:devel/py-pretend@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest>=6.0,1:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-subtests>=0:devel/py-pytest-subtests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0,1:devel/py-pytest-xdist@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} USES= compiler:env cpe python:3.6+ ssl -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} MAKE_ENV= CRYPTOGRAPHY_DONT_BUILD_RUST=1 +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} CPE_VENDOR= cryptography_project @@ -44,8 +46,4 @@ post-patch: post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + -do-test: -# cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m pytest -q -rs -v -o addopts= - cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} -m pytest -q -rs -v -o addopts= - .include