From owner-dev-commits-ports-all@freebsd.org  Sat Jul 24 20:31:17 2021
Return-Path: <owner-dev-commits-ports-all@freebsd.org>
Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id F12126668C6;
 Sat, 24 Jul 2021 20:31:17 +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 4GXHs04TGwz3ljF;
 Sat, 24 Jul 2021 20:31:16 +0000 (UTC) (envelope-from git@FreeBSD.org)
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 617FC16ED7;
 Sat, 24 Jul 2021 20:31:16 +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 16OKVGXc004174;
 Sat, 24 Jul 2021 20:31:16 GMT (envelope-from git@gitrepo.freebsd.org)
Received: (from git@localhost)
 by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16OKVG28004173;
 Sat, 24 Jul 2021 20:31:16 GMT (envelope-from git)
Date: Sat, 24 Jul 2021 20:31:16 GMT
Message-Id: <202107242031.16OKVG28004173@gitrepo.freebsd.org>
To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org,
 dev-commits-ports-main@FreeBSD.org
From: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Subject: git: 3830a51e087c - main - devel/pytype: Add pytype 2021.7.19
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: 3830a51e087c6cc007122ef7f4fed87956bc4608
Auto-Submitted: auto-generated
X-BeenThere: dev-commits-ports-all@freebsd.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Commit messages for all branches of the ports repository
 <dev-commits-ports-all.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/dev-commits-ports-all>, 
 <mailto:dev-commits-ports-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/dev-commits-ports-all/>
List-Post: <mailto:dev-commits-ports-all@freebsd.org>
List-Help: <mailto:dev-commits-ports-all-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/dev-commits-ports-all>, 
 <mailto:dev-commits-ports-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 24 Jul 2021 20:31:18 -0000

The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3830a51e087c6cc007122ef7f4fed87956bc4608

commit 3830a51e087c6cc007122ef7f4fed87956bc4608
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-07-24 20:20:49 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-07-24 20:20:49 +0000

    devel/pytype: Add pytype 2021.7.19
    
    Pytype checks and infers types for your Python code - without requiring type
    annotations. Pytype can:
    - Lint plain Python code, flagging common mistakes such as misspelled attribute
      names, incorrect function calls, and much more, even across file boundaries.
    - Enforce user-provided type annotations. While annotations are optional for
      pytype, it will check and apply them where present.
    - Generate type annotations in standalone files ("pyi files"), which can be
      merged back into the Python source with a provided merge-pyi tool.
    
    Pytype is a static analyzer; it does not execute the code it runs on.
    
    Thousands of projects at Google rely on pytype to keep their Python code
    well-typed and error-free.
    
    WWW: https://google.github.io/pytype/
    WWW: https://github.com/google/pytype
---
 devel/Makefile         |  1 +
 devel/pytype/Makefile  | 33 +++++++++++++++++++++++++++++++++
 devel/pytype/distinfo  |  3 +++
 devel/pytype/pkg-descr | 16 ++++++++++++++++
 4 files changed, 53 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 5626167d41e9..a6b6f6a60fa0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5396,6 +5396,7 @@
     SUBDIR += pystring
     SUBDIR += pysvn
     SUBDIR += pythontidy
+    SUBDIR += pytype
     SUBDIR += qbs
     SUBDIR += qca
     SUBDIR += qca-legacy
diff --git a/devel/pytype/Makefile b/devel/pytype/Makefile
new file mode 100644
index 000000000000..8e035a62403a
--- /dev/null
+++ b/devel/pytype/Makefile
@@ -0,0 +1,33 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	pytype
+PORTVERSION=	2021.7.19
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMESUFFIX=	${PYTHON_PKGNAMESUFFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python type inferencer
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pybind11>=0:devel/py-pybind11@${PY_FLAVOR}
+RUN_DEPENDS=	ninja>=1.10.2:devel/ninja \
+		${PYTHON_PKGNAMEPREFIX}attrs>=21.2.0:devel/py-attrs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}importlab>=0.6.1:devel/py-importlab@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typed-ast>=1.4.3:devel/py-typed-ast@${PY_FLAVOR}
+
+USES=		compiler:c++11-lang python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30700
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}dataclasses>=0:devel/py-dataclasses@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/pytype/distinfo b/devel/pytype/distinfo
new file mode 100644
index 000000000000..28fbf7616bdf
--- /dev/null
+++ b/devel/pytype/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1627120800
+SHA256 (pytype-2021.7.19.tar.gz) = 8dba4e42defd145cd6a933f3673304a2e8aaa319ce9842fbf0eea670e4f3e89f
+SIZE (pytype-2021.7.19.tar.gz) = 2253828
diff --git a/devel/pytype/pkg-descr b/devel/pytype/pkg-descr
new file mode 100644
index 000000000000..f6e707de7eda
--- /dev/null
+++ b/devel/pytype/pkg-descr
@@ -0,0 +1,16 @@
+Pytype checks and infers types for your Python code - without requiring type
+annotations. Pytype can:
+- Lint plain Python code, flagging common mistakes such as misspelled attribute
+  names, incorrect function calls, and much more, even across file boundaries.
+- Enforce user-provided type annotations. While annotations are optional for
+  pytype, it will check and apply them where present.
+- Generate type annotations in standalone files ("pyi files"), which can be
+  merged back into the Python source with a provided merge-pyi tool.
+
+Pytype is a static analyzer; it does not execute the code it runs on.
+
+Thousands of projects at Google rely on pytype to keep their Python code
+well-typed and error-free.
+
+WWW: https://google.github.io/pytype/
+WWW: https://github.com/google/pytype