From nobody Tue Jun 21 16:38:07 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 74D8A87AFE1; Tue, 21 Jun 2022 16:38:09 +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 4LSBym0c6mz3GNV; Tue, 21 Jun 2022 16:38:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655829488; 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=UUN7F+dMuwgTiIxIUmNG5hu9yZKnB42D+8NfJcx+e38=; b=vL5S2R2jDXY5Hi3CkCWCv5u4gXCRKQJcNhZ2JKTS/HlitVQizkY/dDIvi5l6vwlTe2/4SZ FeivqAvjqt9XV/OU1keEPEvQRwpmf+EvXZBCTn2nEMJgYZm4VePjsymlxRPchCen7xRncp tPfjJI15N1hRdEgJMXkvnI0Rq8gyzLGMcxO3U40ZT8Uwfp62R69qEYeW9ZEdZeTt/WCLAl 3evHrsbdtnJhqjVJuIHofovj+8egSptea7xIqJNbqeJHWUmtGu91lz5dLIF11BGX7XXOXP KCZY7nKnt59WawEEmv1Nrk6OGMbs5FCmb/V+Q1S8TXbuyq77JlcZHnkVjrKOZQ== 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 BCB291525C; Tue, 21 Jun 2022 16:38:07 +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 25LGc7kd060343; Tue, 21 Jun 2022 16:38:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25LGc7Md060342; Tue, 21 Jun 2022 16:38:07 GMT (envelope-from git) Date: Tue, 21 Jun 2022 16:38:07 GMT Message-Id: <202206211638.25LGc7Md060342@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: 24ccfa446032 - main - devel/py-pip: 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: 24ccfa4460328700d4d427efd02c5fa3e246bbf8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655829488; 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=UUN7F+dMuwgTiIxIUmNG5hu9yZKnB42D+8NfJcx+e38=; b=gPuR9AsA3D6HL7B2t8a3RqGlkLh+qENt+f85KBeDd/PvnVtBHmXJNfjq9nQwY/q74+7Mm7 uNH41GNH/F4HDLYnpfNyzvfpMBQL8eBQtKIg1aB5bZ226S9vQI0mMebGyU2Me9gx1hAl9b 6WpT/YDp2g2QjgM11ROapr+Eve4qBrsND5Qy1glo2lC+Z8oRA8aLbSxK0tWd2oiI3og5Hm tyAb9NR3nPW3kxTk1pzSdJ3SRTmy6qAjYQPs/oz7t0ZGzj3fz/9JwsxCGbli+W+AZEM0vx Wgx53Ly6gr2dkvPSWQe1vXWyIcENOYT+B3mCSl1ohCAFsqmc7+XiNL51gpGVFQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655829488; a=rsa-sha256; cv=none; b=UmiQSZqh6GeCE5qOf5ECeCYEQaA33EI9+yaMBX3974iipPHE2VSmC71obBVWDe4o24pWvT LfSLonwzaEDny/fSFI52IpIsNmk+9rz9hGUJAGQ3wHLuteznScik3XFYA98g54phlIsTgm TOpZlbXQYYfsQejSCp83UOA5bC86D0PLudme557lFnYoei32Oxpmgw7m1zWoT2C+9225hs Spa64ygF/BJ6e+uw6v9HCpeJnqIUtAc8PulDPuhK/dYw76z4uogvatFeEs7ImtuUTp29QM wDj9gV+gRcp72sYdwotGJDhUhRGkVBE69gRkGrKvc3cuTQCuzElMZ7LAxXAVIQ== 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=24ccfa4460328700d4d427efd02c5fa3e246bbf8 commit 24ccfa4460328700d4d427efd02c5fa3e246bbf8 Author: Po-Chuan Hsieh AuthorDate: 2022-06-21 16:33:45 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-21 16:36:30 +0000 devel/py-pip: Convert to USE_PYTHON=pytest --- devel/py-pip/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/devel/py-pip/Makefile b/devel/py-pip/Makefile index 77b2d47e96f4..fb4bc9dae1f7 100644 --- a/devel/py-pip/Makefile +++ b/devel/py-pip/Makefile @@ -20,7 +20,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt # Tests also need bzr, git, otherwise they fail TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}freezegun>=0:devel/py-freezegun@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-rerunfailures>=0:devel/py-pytest-rerunfailures@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist@${PY_FLAVOR} \ @@ -36,10 +35,11 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${ USES= cpe python:3.7+ shebangfix CPE_VENDOR= pypa -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest MAKE_ENV= PYTHONPATH=${WRKSRC}/src/ NO_ARCH= yes +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} USE_GITHUB= yes GH_ACCOUNT= pypa @@ -64,12 +64,11 @@ post-install-DOCS-on: (cd ${WRKSRC}/build/sphinx/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objects.inv") -do-test: +pre-test: ${MKDIR} ${WRKSRC}/tests/data/common_wheels # the tests check for these wheel files, so fetch them and copy them in ${CP} ${DISTDIR}/${DIST_SUBDIR}/setuptools-62.1.0-py3-none-any.whl ${WRKSRC}/tests/data/common_wheels ${CP} ${DISTDIR}/${DIST_SUBDIR}/wheel-0.37.1-py2.py3-none-any.whl ${WRKSRC}/tests/data/common_wheels ${LN} -sf ${LOCALBASE}/bin/pip ${LOCALBASE}/bin/pip3 - cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs -v .include