From nobody Thu Jun 09 11:03:07 2022 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 756A5831778; Thu, 9 Jun 2022 11:03:07 +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 4LJh5l2pt3z4x1M; Thu, 9 Jun 2022 11:03:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654772587; 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=thH3y1690LL+dSVzi+Cn5A/dZG8m/9Vo5mbo065RRo0=; b=yfSBIHxkHbG+WpYC3nKlQxT6ZByn43qhVldYNU5a0rQS0nFZi8Ftn4E2wwNhW0CFDBPXKs oAcwn8ECG4Go7gwWEmMLYOyl9prCTIF8N+QKYWQsANzHKJFR1PfPfSYDZLg+SYAWaPOQS2 3ecNtbSMM+iAQu51EnEDaf7irSh2owKk+BIzJxWK+ql3lotshuEQd/4zYuJToQ8OmGp3Ny dPE7ixrwQteFxR3DyMFUyYzq/qumPNnzCK5lLBYw5LvBOS1+mf9366FUNsEelwiJER+5++ ltgmh4udDPLDimbTvWG8djJYatI+GiFpX89fB2MlxISlco3JjuHXV+Zdg7s8IA== 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 4052D22E03; Thu, 9 Jun 2022 11:03:07 +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 259B37PE049579; Thu, 9 Jun 2022 11:03:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 259B37nt049578; Thu, 9 Jun 2022 11:03:07 GMT (envelope-from git) Date: Thu, 9 Jun 2022 11:03:07 GMT Message-Id: <202206091103.259B37nt049578@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: b9aedfe5b672 - main - devel/py-pyright: Add py-pyright 1.1.253 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: b9aedfe5b6720b50a00ff039899534df29549ae3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654772587; 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=thH3y1690LL+dSVzi+Cn5A/dZG8m/9Vo5mbo065RRo0=; b=nDIJC9eWhaEx0ZralVmfqjoPpe9a5R4cd9zvHOkZtAUPZUGsPLXT6aMdNluV9RBqlNtrBc Xzt6Uv3AoVw8dQOG3jU9I+zY14wUzHn3AReCck2jzMBoUCfYxPShg+/jVohSo710nKS3nm eahahBgYVZQbemadifhJJ+uall3vozy/X6agb91L9SDZs3BANePbJ/r9vL/qj9750mVmNA I3PMmH/T0qx2+DiKQITRELF9W/TuLal3dibK82WGecY/p4JryhZRIoLYRQJMHbSq9n6HR4 Oix/X9A6zkTw42aSHC6FFDfirf1l8uE05NxBDFnLouRoNknGoNF04hPAtYuwFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654772587; a=rsa-sha256; cv=none; b=ge9FOElG74+abCvtgHhg60cdKWcdk0aZzNA8uZ18YObuTSEDlj9lsyv8sdvjKUCnWmrYOK r0dsj4wkqLJYwNbMdVtb5POsBKrXsB4Db8R31NkyZe5TO9pkokky8tHOZpXSHU0hnXicmi m8emod+3bm36rGCn2tDYf6xO97otmXPPOnZqV8ixn+Rw4zWk6BhpPRQIw9iV2IKfthSPmK yYLeKOq74grVT4LM7shlrrKXi5cpSocWXWcA9xcjk3hVQ8HjU7TL04WjwYW/YUsrO0II4s 6ddtRPQEOA2qYD98CWYK5DGJR97bdehaG9HxLJ4zqmJhaRztmkW1qHk3YFEqHA== 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=b9aedfe5b6720b50a00ff039899534df29549ae3 commit b9aedfe5b6720b50a00ff039899534df29549ae3 Author: Po-Chuan Hsieh AuthorDate: 2022-06-09 10:57:46 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-09 10:57:46 +0000 devel/py-pyright: Add py-pyright 1.1.253 Pyright for Python is a Python command-line wrapper over pyright [1], a static type checker for Python. [1] https://github.com/microsoft/pyright WWW: https://github.com/RobertCraigie/pyright-python --- devel/Makefile | 1 + devel/py-pyright/Makefile | 28 +++++++++++++++++++++++++++ devel/py-pyright/distinfo | 3 +++ devel/py-pyright/files/patch-requirements.txt | 6 ++++++ devel/py-pyright/pkg-descr | 6 ++++++ 5 files changed, 44 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index b4cbc073efcc..7ee4ec629366 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5094,6 +5094,7 @@ SUBDIR += py-pyral SUBDIR += py-pyrepl SUBDIR += py-pyrfc3339 + SUBDIR += py-pyright SUBDIR += py-pyro SUBDIR += py-pyrsistent SUBDIR += py-pyscaffold diff --git a/devel/py-pyright/Makefile b/devel/py-pyright/Makefile new file mode 100644 index 000000000000..72070fc99045 --- /dev/null +++ b/devel/py-pyright/Makefile @@ -0,0 +1,28 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= pyright +PORTVERSION= 1.1.253 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Command line wrapper for pyright + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nodeenv>=1.5.0:devel/py-nodeenv@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include diff --git a/devel/py-pyright/distinfo b/devel/py-pyright/distinfo new file mode 100644 index 000000000000..c7e3f901ebe9 --- /dev/null +++ b/devel/py-pyright/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1654708314 +SHA256 (pyright-1.1.253.tar.gz) = 0f63f07d66fe1a66f9dcc7cb7c403413bf926a6a586e0ad7b66e3c5fb83e5611 +SIZE (pyright-1.1.253.tar.gz) = 15403 diff --git a/devel/py-pyright/files/patch-requirements.txt b/devel/py-pyright/files/patch-requirements.txt new file mode 100644 index 000000000000..b833699289cb --- /dev/null +++ b/devel/py-pyright/files/patch-requirements.txt @@ -0,0 +1,6 @@ +--- requirements.txt.orig 2022-06-08 08:49:31 UTC ++++ requirements.txt +@@ -1,2 +1,2 @@ +-nodeenv>=1.6.0 ++nodeenv>=1.5.0 + typing-extensions>=3.7; python_version < '3.8' diff --git a/devel/py-pyright/pkg-descr b/devel/py-pyright/pkg-descr new file mode 100644 index 000000000000..7c1048d0c17e --- /dev/null +++ b/devel/py-pyright/pkg-descr @@ -0,0 +1,6 @@ +Pyright for Python is a Python command-line wrapper over pyright [1], a static +type checker for Python. + +[1] https://github.com/microsoft/pyright + +WWW: https://github.com/RobertCraigie/pyright-python