From nobody Wed Feb 21 15:17:02 2024 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 4Tg0Hf4WLCz59dlX; Wed, 21 Feb 2024 15:17:02 +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 4Tg0Hf3GLFz4srn; Wed, 21 Feb 2024 15:17:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528622; 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=MCciX8Fd2JNMot1sQ1gdHFRSjMHQ5k42lC90PNubFIw=; b=DU7nVwBD1NyVyiQBzvdVxQ3DOxQh7IHhxF/J3fkfquum0m+8UqtoQJWvLKVkWYZ9as9eTq BUrP5GALVhVAqXBlzie25f27r4eW6uZNn5Jrux+ayINZral6fjn4iP5yQxdW2mqCam5LFA roI7e4ihpDWy71nDW2vRSCXjRvQpwEr5nFhBiDyZBZ/vL9ZZM0JwTAQTvoMaW7njFCePQm uA2+dicuC3zY3Pyk42VwM20NWRXt+U6Yf0GBYa/hZzgBzj4wSa15o6HTjogyVbp6svn6ww cXUoXiiwimX0UenPsjtyDl97hvSMmgS2O10gKVaenuDHkfwWz5XJ2R5lwsjzFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528622; 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=MCciX8Fd2JNMot1sQ1gdHFRSjMHQ5k42lC90PNubFIw=; b=LY3SMKZ6ctTPg6HXepCfYI71IXv6FGDS0NtakcA/U29xxmRxy4/pQKNyhLMCDUwvHLJb38 oNsJkzctxfGj7j3qmFndbsIPztHiyqc6+IOsvejMmEJ22O0VaQgkhQ3GYWPTeMniBxfczI n/FMrGzQkhwRsB5eJDB8j/U2QXpiuUqzwA0a/Ey0V3BB2Q7TCXLf+gzFS6qdT2SwaGDgMh mpujjL6gd1hQs8rDBZZ5TLZOmoy2430pE9DL0u+LD4h6ljmx2XcH8g8kzrfb0neJ88btmi cJwFXf2ArsDP9IX0gxVyQyKcULMDcPa1h1sFEh2i4UBRnx7RMx7HvR5Zqcyrew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708528622; a=rsa-sha256; cv=none; b=pgNpJ1h91kt7h4dB7X+WmrPpn/V14f0FQ2ik5MqF6ORfMYbeB59FkcA7g0Ysw9pP/ohIcE ASyK3sLtMmCYd/qsU6v+5b5NrZlNHWFnZDxWzTR8Hz8/h8zo1PyHDZJVQCiQtKX6fVg3C9 pCqMB2ta7G3tzFoF70cnqeHpBrKRBMb8sNihE0vcJe4RbPz7sywmsuNs61V2yfYMGypsJX Zru6newAb3mDazrHfDEpi+XFiW0LupHzV8sVpMRBCF5x3SORTh9Ec/S6VJ1hk9qoVBmvUx 8oeEQJoOdh9JgIg7HioAPbtgdDZpZVKtzBUUYm5a8iTgkl9HcU55X4OEPicRFA== 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 4Tg0Hf2MStz16wS; Wed, 21 Feb 2024 15:17:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41LFH26V011723; Wed, 21 Feb 2024 15:17:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41LFH2qn011719; Wed, 21 Feb 2024 15:17:02 GMT (envelope-from git) Date: Wed, 21 Feb 2024 15:17:02 GMT Message-Id: <202402211517.41LFH2qn011719@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: 2c0164af9a64 - main - devel/py-astroid2: Add py-astroid2 2.15.8 (copied from py-astroid) 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: 2c0164af9a64f75e3d4f7d39195ad56b5d9e3027 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2c0164af9a64f75e3d4f7d39195ad56b5d9e3027 commit 2c0164af9a64f75e3d4f7d39195ad56b5d9e3027 Author: Po-Chuan Hsieh AuthorDate: 2024-02-21 14:12:44 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-02-21 15:06:03 +0000 devel/py-astroid2: Add py-astroid2 2.15.8 (copied from py-astroid) - Add PORTSCOUT --- devel/Makefile | 1 + devel/py-astroid2/Makefile | 36 ++++++++++++++++++++++++++++ devel/py-astroid2/distinfo | 3 +++ devel/py-astroid2/files/patch-pyproject.toml | 9 +++++++ devel/py-astroid2/pkg-descr | 11 +++++++++ 5 files changed, 60 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 8ccf2748b117..df85c22a2fc8 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4276,6 +4276,7 @@ SUBDIR += py-asteval SUBDIR += py-astor SUBDIR += py-astroid + SUBDIR += py-astroid2 SUBDIR += py-asttokens SUBDIR += py-astunparse SUBDIR += py-async-lru diff --git a/devel/py-astroid2/Makefile b/devel/py-astroid2/Makefile new file mode 100644 index 000000000000..b90a724e9100 --- /dev/null +++ b/devel/py-astroid2/Makefile @@ -0,0 +1,36 @@ +PORTNAME= astroid +PORTVERSION= 2.15.8 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 2 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Abstract syntax tree for Python with inference support +WWW= https://pylint.readthedocs.io/projects/astroid/en/latest/ \ + https://github.com/pylint-dev/astroid + +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=62.6:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.37.1:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lazy-object-proxy>=1.4.0:devel/py-lazy-object-proxy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wrapt>=1.14<2:devel/py-wrapt@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 pytest + +NO_ARCH= yes + +CONFLICTS= ${PYTHON_PKGNAMEPREFIX}astroid253 + +PORTSCOUT= limit:^2\. + +.include + +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include diff --git a/devel/py-astroid2/distinfo b/devel/py-astroid2/distinfo new file mode 100644 index 000000000000..b258e378c959 --- /dev/null +++ b/devel/py-astroid2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1696001338 +SHA256 (astroid-2.15.8.tar.gz) = 6c107453dffee9055899705de3c9ead36e74119cee151e5a9aaf7f0b0e020a6a +SIZE (astroid-2.15.8.tar.gz) = 344362 diff --git a/devel/py-astroid2/files/patch-pyproject.toml b/devel/py-astroid2/files/patch-pyproject.toml new file mode 100644 index 000000000000..bc2223ca1ffc --- /dev/null +++ b/devel/py-astroid2/files/patch-pyproject.toml @@ -0,0 +1,9 @@ +--- pyproject.toml.orig 2023-03-05 23:08:15 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=64.0", "wheel>=0.37.1"] ++requires = ["setuptools>=62.6", "wheel>=0.37.1"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/devel/py-astroid2/pkg-descr b/devel/py-astroid2/pkg-descr new file mode 100644 index 000000000000..08175d2d0441 --- /dev/null +++ b/devel/py-astroid2/pkg-descr @@ -0,0 +1,11 @@ +The aim of this module is to provide a common base representation of python +source code for projects such as pychecker, pyreverse, pylint... Well, actually +the development of this library is essentially governed by pylint's needs. It +used to be called logilab-astng. + +It provides a compatible representation which comes from the _ast module. It +rebuilds the tree generated by the builtin _ast module by recursively walking +down the AST and building an extended ast. The new node classes have additional +methods and attributes for different usages. They include some support for +static inference and local name scopes. Furthermore, astroid builds partial +trees by inspecting living objects.