From nobody Tue Jun 21 16:38:17 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 351D987B818; Tue, 21 Jun 2022 16:38:19 +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 4LSByy42Bpz3GrW; Tue, 21 Jun 2022 16:38:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655829499; 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=DNR5NegcasByogOO9mTD+Nyuy+PaN6IuorxvfKhSRcQ=; b=AXBpNEIfnFfV+C64oxxvXmwTluv8kJEGHkw/8KsPj3MMjqMWzywtaivek9KRh9dQmnqGLj 2h8cgq4IdH1fYHRBmm5eIMFX8KBverZYvcwSphsMQQ1xqo5JtQUPjynAuqObnEQTzD2BwU KBhoTtFKeQIR3xefVrrh4AIC0vvYYgGHr71DaN98hgR9FYLLRM7B0hQzfGJizI/5AB751Y XkY9INSvZs5Bv/UWnZ5e5rEWI/ztADKNoeEfNhURSvzMFRfvPbEg02or8+PK1VE3/BzXTe ln/3/gFF5HN2DzsMpy5hMTDpESTxyM5SkQLBhn8Pa1WdUkj07bHz+D70xUt0iw== 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 0FBFD1525D; Tue, 21 Jun 2022 16:38:18 +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 25LGcHU8060565; Tue, 21 Jun 2022 16:38:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25LGcHOS060564; Tue, 21 Jun 2022 16:38:17 GMT (envelope-from git) Date: Tue, 21 Jun 2022 16:38:17 GMT Message-Id: <202206211638.25LGcHOS060564@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: 26f5c7127384 - main - net/py-urllib3: 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: 26f5c712738405743444fcf2aa5b02f5cf884252 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655829499; 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=DNR5NegcasByogOO9mTD+Nyuy+PaN6IuorxvfKhSRcQ=; b=eq545cIw/rWcfqzlKPOLdjsPBy7fLt3azasnE34+weQnDX361CYelp1av+AXEF7FScEQWA JxpLscHSVjSVUPAa7OLb3Nzfy3xs4sk6meqZ3p/Px02at3LqRaENniWvnJHz7yFP+Og5Zi OdjJi8P+XPf7Avyf2PvBaQUyPIrIetZmw4ZKgnub/TI3/7wmnZqJl4eQc4jI+fW/7n5iaJ QkkodS8f3Ytcn3ONs400szYlpXf9uymRZoWZiLK1f5ak48Ociu2csXbRybC3pBhwFbZL6J zHQGxhLxAMDTL7+SZqJ2RQnasKb/ow4BjUM0hHVoTmqsSKqCW2QT+zBXzC8w/g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655829499; a=rsa-sha256; cv=none; b=kbEya9dqRzy5+j5E07muWKRy7cKOiRB5bfZElGFJvr0FeP+WgR1Z/nbKQU0NLBCutMLB2C AfAISju+kNGn/Ha6Gxu+nNpWe7RBTna/dBNeuafuV9q1E4lum7jHWOuyZ5ac7AIp3khQnY M4WVsnH3Jg2jIDNjishYo7ry2t8/rq36TS7mO/S5isk2BdQyYWbRx4ORiUW2j5wEzKjAbH +VZTIhB6gbTPvrmeEZeb6E+SOShugRyZ+Le2+ecYoDRLHzKTvLR8kI0uS31B7orOMrb4FM GbmDm0c89lJCRn3lpawPLrKgJ7+52rhtWbsKRbGF2pYhT0fpAQQtxYwSUnSR1A== 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=26f5c712738405743444fcf2aa5b02f5cf884252 commit 26f5c712738405743444fcf2aa5b02f5cf884252 Author: Po-Chuan Hsieh AuthorDate: 2022-06-21 16:33:58 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-21 16:36:32 +0000 net/py-urllib3: Convert to USE_PYTHON=pytest - Sort TEST_DEPENDS --- net/py-urllib3/Makefile | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/net/py-urllib3/Makefile b/net/py-urllib3/Makefile index 48af7a48970a..974ec51c6b59 100644 --- a/net/py-urllib3/Makefile +++ b/net/py-urllib3/Makefile @@ -13,23 +13,27 @@ COMMENT= HTTP library with thread-safe connection pooling, file post, and more LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flaky>=3.6.1:devel/py-flaky@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}flaky>=3.6.1:devel/py-flaky@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}trustme>=0.6.0:security/py-trustme@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest-timeout>=0:devel/py-pytest-timeout@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6:net/py-pysocks@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-freezegun>=0:devel/py-pytest-freezegun@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tornado>=0:www/py-tornado@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-timeout>=0:devel/py-pytest-timeout@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.8.1:devel/py-dateutil@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6:net/py-pysocks@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}tornado>=0:www/py-tornado@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}trustme>=0.6.0:security/py-trustme@${PY_FLAVOR} USES= cpe python:3.6+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest CPE_VENDOR= python NO_ARCH= yes +TEST_ENV= LC_ALL=en_US.UTF-8 PYTHONPATH=${WRKSRC}/src + +# Test 'test_ssl_read_timeout' fails with FreeBSD >= 12.0. That was already the case with earlier versions of net/py-urllib3. +PYTEST_IGNORED_TESTS= test_ssl_read_timeout + SUB_FILES= pkg-message OPTIONS_DEFINE= BROTLI SOCKS SSL @@ -42,10 +46,4 @@ SSL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAV ${PYTHON_PKGNAMEPREFIX}idna>=2.0.0:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0.14:security/py-openssl@${PY_FLAVOR} -# Test 'test_ssl_read_timeout' fails with FreeBSD >= 12.0. That was already the -# case with earlier versions of net/py-urllib3. -do-test: - @cd ${WRKSRC} && ${SETENV} LC_ALL=en_US.UTF-8 PYTHONPATH=${WRKSRC}/src ${TEST_ENV} \ - ${PYTHON_CMD} -m pytest -v -rs -k 'not test_ssl_read_timeout' - .include