From nobody Mon Oct 14 05:27:12 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 4XRm291ZRKz5Z9bc; Mon, 14 Oct 2024 05:27:13 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XRm290002z4TTs; Mon, 14 Oct 2024 05:27:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728883633; 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=0D1QFesxhN8bhl0hCGB78dYRub0Q3fNoBeh+DpGnXv4=; b=cxn5klj/VQa5RX0JEbMv0ARBFTxGS29RTCNB2j5fouOu27Qki1LDjylIEcc8UrKyuTJm0c STvg/8cfj8lAJe3vLB0IH2gSekDwww2CqbA87AcC7/nxnf30hr9XcqnhO0uJkwhYbOfNmt GoKXb4A4pK/5RFClAEPo8Sz12KXfnuYOh4xDbtlSIEvxqVv+jQEwIc+PMDfPitKpa9Bk1z LqxmZl+NsIOcamHIcXhAUZnKKJ0TqldSGLNHQf3wPLnEDsXGz0nxRkmQ2KZQ05HbvyvhAg jipTihtrCi5AKflLRVN6uFmnj3ew+uVvEaXHC4bBqGy7uTUAhT9elpl7DRjC2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728883633; 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=0D1QFesxhN8bhl0hCGB78dYRub0Q3fNoBeh+DpGnXv4=; b=SkiiC6ENU11fvIV1IgaoNMxKxX7XtkZlIfCZerdxT0Rv5vAOvZbPpwnOajbFBNGNYHfUul ocELwC0rzoDwtctsqbV3OkzLZXUTtHKNAKP2Vn96M6d7F0y+x4izFBc0Io50qA3ZVua4Dx QjSOc3lOLU4S+DNzT/JBt5zkm9a7hzzEaqGV6zayPIafz5pplhko2xOnRfOIGBxMfYXoNY TNoCnVkkijfCutns11RrjRZUQIkUJxZ/76vyvxnJ2LBRr7K59aQ3zFYLU0I3Iq6izBlFqO IQ0gdUr6tG4MphPd4x5O+D8tFO9OFAP7Hy/6WTYKmp+MIb1rbZFRuibqgStWrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728883633; a=rsa-sha256; cv=none; b=nBjZWYIcUrClSrwgUL6oTqqraWCmUE19tUDTFRgrXx+wZOvr+sQrTBVTDKUezJJ+6Z/5w4 cWvXCZjHz9cvqkvalppWyl3hJ693v26BhcG4jKdlj4RC6ueJxgPpw2wyuQrXjRZ9eGz1cX zFRfeTTwaPxvJJ+bVWuLFRZwVRrUfVIhaSvN/3ZXKzrlS8gYZ0OAUFirhLJJsO/1Wb7Yzp Td4iRxeFofKqaSeJOR2eYP3ySmLXIDORdJ8FZO8KZrBA6yu15XBufk+2+KiaoWqK4MqcH/ 0eovmf5r7zVxmH2IL6WLRqF5kuFm9LhBz5QNrgg8hH1y0ykf7Is+UzHp0wEZ0Q== 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 4XRm285pj8zPfs; Mon, 14 Oct 2024 05:27:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49E5RCwx046778; Mon, 14 Oct 2024 05:27:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49E5RCTh046775; Mon, 14 Oct 2024 05:27:12 GMT (envelope-from git) Date: Mon, 14 Oct 2024 05:27:12 GMT Message-Id: <202410140527.49E5RCTh046775@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: f283b95e8235 - main - devel/py-typeshed-client: Add py-typeshed-client 2.7.0 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-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: f283b95e823513f50cc6b5c7bafa213207d8d51a Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f283b95e823513f50cc6b5c7bafa213207d8d51a commit f283b95e823513f50cc6b5c7bafa213207d8d51a Author: Po-Chuan Hsieh AuthorDate: 2024-10-14 04:45:14 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-10-14 04:45:14 +0000 devel/py-typeshed-client: Add py-typeshed-client 2.7.0 typeshed-client provides a way to retrieve information from typeshed and from PEP 561 stub packages. Example use cases: - Find the path to the stub file for a particular module. - Find the names defined in a stub. - Find the AST node that defines a particular name in a stub. Projects for which typeshed_client could be useful include: - Static analyzers that want to access typeshed annotations. - Tools that check stubs for correctness. - Tools that use typeshed for runtime introspection. --- devel/Makefile | 1 + devel/py-typeshed-client/Makefile | 25 +++++++++++++++++++++++++ devel/py-typeshed-client/distinfo | 3 +++ devel/py-typeshed-client/pkg-descr | 12 ++++++++++++ 4 files changed, 41 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 03f28bbd0eec..60f622e772e0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6028,6 +6028,7 @@ SUBDIR += py-types-toml SUBDIR += py-types-typed-ast SUBDIR += py-types-urllib3 + SUBDIR += py-typeshed-client SUBDIR += py-typing-extensions SUBDIR += py-typing-inspect SUBDIR += py-tzdata diff --git a/devel/py-typeshed-client/Makefile b/devel/py-typeshed-client/Makefile new file mode 100644 index 000000000000..9fce830730fa --- /dev/null +++ b/devel/py-typeshed-client/Makefile @@ -0,0 +1,25 @@ +PORTNAME= typeshed-client +PORTVERSION= 2.7.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= typeshed_client-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Library for accessing stubs in typeshed +WWW= https://github.com/JelleZijlstra/typeshed_client + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=1.4.0:devel/py-importlib-resources@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-typeshed-client/distinfo b/devel/py-typeshed-client/distinfo new file mode 100644 index 000000000000..a5ba6853d389 --- /dev/null +++ b/devel/py-typeshed-client/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1728632230 +SHA256 (typeshed_client-2.7.0.tar.gz) = e63df1e738588ad39f1226de042f4407ab6a99c456f0837063afd83b1415447c +SIZE (typeshed_client-2.7.0.tar.gz) = 433569 diff --git a/devel/py-typeshed-client/pkg-descr b/devel/py-typeshed-client/pkg-descr new file mode 100644 index 000000000000..1617f2828d01 --- /dev/null +++ b/devel/py-typeshed-client/pkg-descr @@ -0,0 +1,12 @@ +typeshed-client provides a way to retrieve information from typeshed and from +PEP 561 stub packages. + +Example use cases: +- Find the path to the stub file for a particular module. +- Find the names defined in a stub. +- Find the AST node that defines a particular name in a stub. + +Projects for which typeshed_client could be useful include: +- Static analyzers that want to access typeshed annotations. +- Tools that check stubs for correctness. +- Tools that use typeshed for runtime introspection.