From nobody Tue Aug 2 15:15:57 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 4Lxz8Y67Nnz4YMBX; Tue, 2 Aug 2022 15:15:57 +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 4Lxz8Y5jVKz3j6X; Tue, 2 Aug 2022 15:15:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659453357; 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=2YgEd2DQW47+cx1K+sOqEZsXEPB4Nje7CLj9/LfSrsE=; b=MMmU++OXk/S/Bvq+xZSXQoc8pPc/dtzHPud3NmwPuvHP/VwuSpug6ZwbJpYKiD9DagFuiU e3k8KcQZPYlsohYINXgi9uqtC/TF3S5yj2vj3/FPo/dTR1uJ2SA3anzy2uBaA6H5McTDxG AkZvOK5VU725f63j9sPhjk/LHIpurquQSJjBAajmVVYoFsKdoC1+gG5a8jnO/RVn7x60RB RladDOzmhumTtAFkMwtf1JO135+TvSlbmHJxlfUmE/sYMc4ZmcBXOFwTxFY7JfZCMdhg07 2K+HI/ZrgmFfVPWj8QbDr6jkjqIGr9v5VcwlcPaTHCZyunRpCL5lZJ4A/yzaMw== 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 4Lxz8Y4qZMzHXQ; Tue, 2 Aug 2022 15:15:57 +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 272FFvjJ056604; Tue, 2 Aug 2022 15:15:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 272FFvDE056603; Tue, 2 Aug 2022 15:15:57 GMT (envelope-from git) Date: Tue, 2 Aug 2022 15:15:57 GMT Message-Id: <202208021515.272FFvDE056603@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: 0250d1918067 - main - =?utf-8?Q?devel/py-flake8:=20update=204.0.1=20=E2=86=92=205.0.0,=20switch=20to=20pytest?= 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: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0250d1918067df2b9e217cac7c87e8021732b3d1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659453357; 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=2YgEd2DQW47+cx1K+sOqEZsXEPB4Nje7CLj9/LfSrsE=; b=OdAKNtqG7/E5/PuBvENY6TTJCsrT3O15MOhlfQ6xhtlorO9G4f6pdnv5a6EBnuFBojv7cT pZ+tJiKDQJyV74tWoiGJk4p/BTULt2zWL3ts+ffPWJQNXciMAxnm78vSPjaVJGzrrgYhRY SAAvgRuZVDzP4jqXYpj47j9VrcC571oJ4z69XccpZDtqp5MI7YHGoCNOQvFc+RSbXT0LXn A1UMl3bbEgwLGDHg+mSGEIhvkBamhlsym+/7nuRFpQZP2ZtnUuWdkmEU07pQsOpLNhEbI9 hoY6LezVjRf/+55oBtDSBBt5woWXm8Cuvn5KTU4aVFCAUmikoAnw45J+s2IxGw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659453357; a=rsa-sha256; cv=none; b=qmPE27OmYKRMMictanM3npw+WEjHY/+sZ83hgOVsHfFcOR9TcONwOF9tQYtQWa4/U4/vYZ ku9kh4WQQ7+5Xm9f6Xdp1tS8zQy6f+adtxAepyShaT+2EonZSiQwob9rpUEDYbNuQgqPRb WrmVJQERqm0nLRFSvPN6cYzGWhSEAlN2SeETQGSkd2RgHoxqXcG0Qe7Fq937tzGwIMRJVy /NtB4DhGUwGJ1tcNKJTJAyl9RrL9YqrmXE7Hpazyj3Oue6WHBb0QC3hw7qLyIQRnhjUga1 IGy/Fr1ddN7e7SpwwIboIWDtYtHn/3dfSQJpGKNSHoxpM3Q8+FhpbM5ofZB7Tw== 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=0250d1918067df2b9e217cac7c87e8021732b3d1 commit 0250d1918067df2b9e217cac7c87e8021732b3d1 Author: Dmitry Marakasov AuthorDate: 2022-08-01 15:50:54 +0000 Commit: Dmitry Marakasov CommitDate: 2022-08-02 15:15:37 +0000 devel/py-flake8: update 4.0.1 → 5.0.0, switch to pytest --- devel/py-flake8/Makefile | 20 +++++--------------- devel/py-flake8/distinfo | 6 +++--- devel/py-flake8/files/patch-setup.cfg | 10 +++++----- 3 files changed, 13 insertions(+), 23 deletions(-) diff --git a/devel/py-flake8/Makefile b/devel/py-flake8/Makefile index 977b873c3d32..f5cb4d50f9ff 100644 --- a/devel/py-flake8/Makefile +++ b/devel/py-flake8/Makefile @@ -1,5 +1,5 @@ PORTNAME= flake8 -PORTVERSION= 4.0.1 +PORTVERSION= 5.0.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,21 +13,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mccabe>=0:devel/py-mccabe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycodestyle>=0:devel/py-pycodestyle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyflakes>=0:devel/py-pyflakes@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} -USES= python:3.6+ +USES= python:3.8+ pytest USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -TEST_ENV= PYTHONPATH="${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}" +PYTEST_BROKEN_TESTS= test_up_to_date test_all_pyflakes_messages_have_flake8_codes_assigned -.include - -.if ${PYTHON_REL} < 30800 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} -.endif - -do-test: - @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs - -.include +.include diff --git a/devel/py-flake8/distinfo b/devel/py-flake8/distinfo index a2575a6603e7..033bc5aca028 100644 --- a/devel/py-flake8/distinfo +++ b/devel/py-flake8/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1634056728 -SHA256 (flake8-4.0.1.tar.gz) = 806e034dda44114815e23c16ef92f95c91e4c71100ff52813adf7132a6ad870d -SIZE (flake8-4.0.1.tar.gz) = 154905 +TIMESTAMP = 1659362496 +SHA256 (flake8-5.0.0.tar.gz) = 503b06b6795189e55298a70b695b1eb4f6b8d479fae81352fc97c72ca242509e +SIZE (flake8-5.0.0.tar.gz) = 145300 diff --git a/devel/py-flake8/files/patch-setup.cfg b/devel/py-flake8/files/patch-setup.cfg index 566388ecca5e..3f5cf5f1a124 100644 --- a/devel/py-flake8/files/patch-setup.cfg +++ b/devel/py-flake8/files/patch-setup.cfg @@ -1,17 +1,17 @@ ---- setup.cfg.orig 2021-10-11 02:07:36 UTC +--- setup.cfg.orig 2022-07-30 21:01:31 UTC +++ setup.cfg @@ -35,10 +35,10 @@ packages = find: package_dir = =src install_requires = -- mccabe>=0.6.0,<0.7.0 -- pycodestyle>=2.8.0,<2.9.0 -- pyflakes>=2.4.0,<2.5.0 +- mccabe>=0.7.0,<0.8.0 +- pycodestyle>=2.9.0,<2.10.0 +- pyflakes>=2.5.0,<2.6.0 - importlib-metadata<4.3;python_version<"3.8" + mccabe + pycodestyle + pyflakes + importlib-metadata;python_version<"3.8" - python_requires = >=3.6 + python_requires = >=3.6.1 [options.packages.find]