From nobody Sat May 27 04:25:44 2023 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 4QSpcn3M99z4WRbr; Sat, 27 May 2023 04:25:45 +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 4QSpcn14CXz4F4Q; Sat, 27 May 2023 04:25:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685161545; 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=OiZVx+ZGvjLpzkF9Ag8/OOGf3HbipVBTIzxabo4/N7w=; b=tKlJ+5iUcA8tDPpxnlRY7VINbyrFXMHk4UeyG+gNc7UX3U0Um/9g0/FHA3pjnP0PVCLCc5 V+wdPqSMuWoG8Ba+sZvGpBjBT9Lha/jLL83PEmaz53Rn2CTGWG0x7AHYsJh46cWZaYDRyj nthMPIvpWh95gt5RnePwbssW/GYJF0il6h+xj4/fNFeZgCz9jGTJLVU8nGb4/p4vkhPjKK TDb6U/dqA/JyeBPtcjOazXMmX4Tm/40DVTuovzeiAA4+pIBmkrx/hmciYzbepmA88aZCW2 hU8oMFVEFuSYyTc3wDa09tNuQEy9TJ7jGs4TwzUouq/4mwrcIGd8zQ985yoPaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685161545; 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=OiZVx+ZGvjLpzkF9Ag8/OOGf3HbipVBTIzxabo4/N7w=; b=Sspw63wtL+VdTzx1+ivZMKzU6DnUGg2jESF6O/GpXzPH2y3dQaCDAmP9g6LRnBqBukb+5d pGsNaKYQ3X+imZ1Ckb6Zg5OaxqMluPJgg06BUJxYTKGv1KCUBIP/0+l+2nNBfm/8eJQ//r rdpQc7cipBM8ZRDbXOHCzqPglzIheJjgBzBINA5EdBve6/onKQ5UNo+RZMY0LNeLhe3lch EFACKYr18CYMfBpAA7KWja5Zx8Mp8IbUZ17AW3dTs1vQrzbKoLjsSL+9BkJ+YBX/g8EMNQ db0mQSYPANfWcBZazjTagiOAgbtH7MftX8tMKfUPD+u3SJk2NaTQKcof5mmZKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685161545; a=rsa-sha256; cv=none; b=EqC5tRUySeOX8Skz/57WVEhCaSNGgxQOQVTSSd2WxT9idr/F6JUuSBxX5gOxW1j30L4DMz PW33/nRF/Et320HdzwDjf6NZHkfWyc0+NdDT0exsTGbpIgHChz5qF9fjCvHQMWo74nHP2i Op9yoCWd2UUee9LA9hEk41eWrdQVDWdzV+W6TuWmaA7A9sk2fcheS2MK550uaBw4kM2/+g yyxuUPeoZZIAlFi7EQ+IDJv9pF9b/Uk0i7d1TUcrbeu69UjpIiM5NydyAe0aw5eYi7INQv mmEc0nPqUjA+pO7hU/pJ9mRBbnNW194D7RDRNwR1xnDLATti9eQfHpgQF/MO8g== 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 4QSpcn01L1zYtg; Sat, 27 May 2023 04:25:45 +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 34R4PiIN023955; Sat, 27 May 2023 04:25:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34R4Pi9j023954; Sat, 27 May 2023 04:25:44 GMT (envelope-from git) Date: Sat, 27 May 2023 04:25:44 GMT Message-Id: <202305270425.34R4Pi9j023954@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: 46b64225b9cd - main - devel/pytype: Update to 2023.5.8 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: 46b64225b9cdabfed4b58c620a9248f05b482528 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=46b64225b9cdabfed4b58c620a9248f05b482528 commit 46b64225b9cdabfed4b58c620a9248f05b482528 Author: Po-Chuan Hsieh AuthorDate: 2023-05-27 04:07:16 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-05-27 04:07:16 +0000 devel/pytype: Update to 2023.5.8 - Convert to USE_PYTHON=pep517 Changes: https://github.com/google/pytype/blob/main/CHANGELOG --- devel/pytype/Makefile | 19 +++++++++---------- devel/pytype/distinfo | 6 +++--- devel/pytype/files/patch-pyproject.toml | 16 ++++++++++++++++ devel/pytype/files/patch-setup.cfg | 10 +++------- 4 files changed, 31 insertions(+), 20 deletions(-) diff --git a/devel/pytype/Makefile b/devel/pytype/Makefile index 91edf7af984a..5017c29ff028 100644 --- a/devel/pytype/Makefile +++ b/devel/pytype/Makefile @@ -1,6 +1,5 @@ PORTNAME= pytype -PORTVERSION= 2023.2.17 -PORTREVISION= 1 +PORTVERSION= 2023.5.8 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} @@ -12,20 +11,25 @@ WWW= https://google.github.io/pytype/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>=0:devel/py-pybind11@${PY_FLAVOR} +BUILD_DEPENDS= ninja:devel/ninja \ + ${PYTHON_PKGNAMEPREFIX}pybind11>=2.10.1:devel/py-pybind11@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=40.8.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ninja>=1.10.2:devel/ninja \ ${PYTHON_PKGNAMEPREFIX}attrs>=21.4.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}importlab>=0.8:devel/py-importlab@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libcst>=0.4.9:devel/py-libcst@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}networkx>=2.8.5:math/py-networkx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}networkx>=0,1<3.2,1:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydot>=1.4.2:graphics/py-pydot@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tabulate>=0.8.9:devel/py-tabulate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}toml>=0.10.2:textproc/py-toml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.3.0:devel/py-typing-extensions@${PY_FLAVOR} USES= compiler:c++11-lang python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 pytest + +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} .include @@ -34,12 +38,7 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typed-ast>=1.5.0:devel/py-typed-ast@${PY_FL .endif post-patch: - @${RM} ${WRKSRC}/pytype/tools/merge_pyi/test_data/packed_tuple.py - @${RM} ${WRKSRC}/pytype/tools/merge_pyi/test_data/packed_tuple.comment.py - @${RM} ${WRKSRC}/pytype/tools/merge_pyi/test_data/packed_tuple.pep484.py @${RM} ${WRKSRC}/pytype/tools/merge_pyi/test_data/parse_error.py - @${RM} ${WRKSRC}/pytype/tools/merge_pyi/test_data/pyi_variations.comment.py - @${RM} ${WRKSRC}/pytype/tools/merge_pyi/test_data/simple_defaults.py post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + diff --git a/devel/pytype/distinfo b/devel/pytype/distinfo index 6909de01c625..163d194b01fd 100644 --- a/devel/pytype/distinfo +++ b/devel/pytype/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1677771015 -SHA256 (pytype-2023.2.17.tar.gz) = 18b61a630c9eba9d8716fce21f280666ac28a0909af7a796c9b2c1dc97337ce6 -SIZE (pytype-2023.2.17.tar.gz) = 2237000 +TIMESTAMP = 1684104320 +SHA256 (pytype-2023.5.8.tar.gz) = 69bd26d3b0599acb7ebf4867db3f22239f8a7e4c58c8f9839b75b99216360d40 +SIZE (pytype-2023.5.8.tar.gz) = 2896810 diff --git a/devel/pytype/files/patch-pyproject.toml b/devel/pytype/files/patch-pyproject.toml new file mode 100644 index 000000000000..4e5d567d6c7a --- /dev/null +++ b/devel/pytype/files/patch-pyproject.toml @@ -0,0 +1,16 @@ +--- pyproject.toml.orig 2023-01-05 03:33:54 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=40.8.0", "ninja", "wheel", "pybind11>=2.10.1"] ++requires = ["setuptools>=40.8.0", "wheel", "pybind11>=2.10.1"] + build-backend = "setuptools.build_meta" + + [tool.pytype] +@@ -19,4 +19,4 @@ exclude = [ + "**/*_test_*.py", + "pytype/tools/merge_pyi/test_data/", + "pytype/tools/xref/testdata/", +-] +\ No newline at end of file ++] diff --git a/devel/pytype/files/patch-setup.cfg b/devel/pytype/files/patch-setup.cfg index b6c46cfed910..11f02eeaca41 100644 --- a/devel/pytype/files/patch-setup.cfg +++ b/devel/pytype/files/patch-setup.cfg @@ -1,11 +1,7 @@ ---- setup.cfg.orig 2023-02-17 23:14:02 UTC +--- setup.cfg.orig 2023-04-27 23:35:51 UTC +++ setup.cfg -@@ -34,10 +34,10 @@ install_requires = - importlab>=0.8 - jinja2>=3.1.2 - libcst>=0.4.9 -- networkx<2.8.4 -+ networkx>=2.8.5 +@@ -37,7 +37,7 @@ install_requires = + networkx<3.2 ninja>=1.10.0.post2 pydot>=1.4.2 - tabulate>=0.8.10