From nobody Fri Jul 22 06:33:09 2022 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 4Lq04P4xP5z4XP9M; Fri, 22 Jul 2022 06:33:09 +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 4Lq04P4FDgz3dff; Fri, 22 Jul 2022 06:33:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658471589; 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=ngfXsTMxECL6cYppkiA0QcH7G9ARI3VfvtatO6/D9W0=; b=o67wjW4/hjdAjS5zDzzlgMKBqVR5ENQZDqMOnYFmpfUkABN10/Iycx27VZnNuWGtWpWpiJ GAE/T+vi05pS3j1JTz3svtY49vUMzDGVEsgor2AfyckMIPoAjzJ425XrxwafNTCHZdoZwK D32VADu5dC4YQK2FUO1W6U0udmao8lsf/5sXnb9TrmHv2507eq9iRVffsh6Lkq4KH2yXmx HPw5M0DJbWny8BJvb8ktNtMHok7uGUzfg1gxAnepqPZbLklwJFc0e4r6p9La7TfE1NS6zL e4KVBhy30wgUCEd/rA6jSzCEvgPY6miNCAdcyD36d7d2RHdn0uFaf0Y9n4x4HA== 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 4Lq04P3Jj7zrs3; Fri, 22 Jul 2022 06:33:09 +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 26M6X90K077216; Fri, 22 Jul 2022 06:33:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26M6X99f077215; Fri, 22 Jul 2022 06:33:09 GMT (envelope-from git) Date: Fri, 22 Jul 2022 06:33:09 GMT Message-Id: <202207220633.26M6X99f077215@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 1a949e35ca3d - main - devel/py-synr: New port: Consistent AST for Python 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1a949e35ca3d53850017102372a7ba0e6d00cbe6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658471589; 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=ngfXsTMxECL6cYppkiA0QcH7G9ARI3VfvtatO6/D9W0=; b=qTSEp6Is3HIYcuM9kdN3AjtLQQpUOAqL+oH6MRNj13UHgH0dZBIaPpEnlDcp2DU+8WVehW 3UBX3241w3yjYhD1hU6zSx0/yynbCa0KV0ke6/yW/2nja9tCrUX8V6FryE3Z1c/kNSUWtH o/RrAPufOHRD1IPNh42/ZXTIfgcaDT52pQ6WVta4FoAcbaikIk8rVZsMjmbwyY9HYD+klZ CeR9I3R39xrZLewxo5n8SnjXevLepva5rv9IUoLay9wv3KdsMLBM6dpxwVRGNTgzCYW+GT cz5avhrKYh5wt5rfqE5UP5dDfOfAujFyTdI5D8i9BZ2pgEu8XWxct5WJiGQzkg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658471589; a=rsa-sha256; cv=none; b=AVKGCt/lUjpuCIgsIhDYHlRA7IjGN2DjJlAP1wIhQeprnzwIUQFOWoVp5RdefZC4I2zqly lh8HtHnCgtD3UrWp76OiH2ZosLnyqsRHwy7xAVJq1vb2f7x8nHn5lCodt7Z/m42M1s3zei jFe7H2F8oTFed/T2BtGMAyfX5KV6FjAgTuQ2kfyU+3aCLl/J4tPFU/WlJWJRFlI+alrWiC ZIRIGpicj6P1aIuTpetl6JaOuve/YUVSO685ITS4elyYmMTp6zkTXCjUch7hbNDBUOhEOI 9kdlhej8ZjERiqnysLXbZ1dYqoQi+FlNnwlGTWWcKvX88sKFXg/10p5vjhfvBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1a949e35ca3d53850017102372a7ba0e6d00cbe6 commit 1a949e35ca3d53850017102372a7ba0e6d00cbe6 Author: Yuri Victorovich AuthorDate: 2022-07-22 06:17:50 +0000 Commit: Yuri Victorovich CommitDate: 2022-07-22 06:33:05 +0000 devel/py-synr: New port: Consistent AST for Python --- devel/Makefile | 1 + devel/py-synr/Makefile | 18 ++++++++++++++++++ devel/py-synr/distinfo | 3 +++ devel/py-synr/pkg-descr | 11 +++++++++++ 4 files changed, 33 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index b73e2ed9f422..31b69b8de8bf 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5294,6 +5294,7 @@ SUBDIR += py-subversion SUBDIR += py-sure SUBDIR += py-swagger-spec-validator + SUBDIR += py-synr SUBDIR += py-sysctl SUBDIR += py-sysv_ipc SUBDIR += py-tables diff --git a/devel/py-synr/Makefile b/devel/py-synr/Makefile new file mode 100644 index 000000000000..2e7e651c8201 --- /dev/null +++ b/devel/py-synr/Makefile @@ -0,0 +1,18 @@ +PORTNAME= synr +PORTVERSION= 0.6.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Consistent AST for Python + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +.include diff --git a/devel/py-synr/distinfo b/devel/py-synr/distinfo new file mode 100644 index 000000000000..6fdbf20c8b06 --- /dev/null +++ b/devel/py-synr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1658468015 +SHA256 (synr-0.6.0.tar.gz) = 0b4e16b10c3988e1981e3372153a31956f74d86752eaaa55e8c4e7b7fe591e4e +SIZE (synr-0.6.0.tar.gz) = 17299 diff --git a/devel/py-synr/pkg-descr b/devel/py-synr/pkg-descr new file mode 100644 index 000000000000..e4535475efbd --- /dev/null +++ b/devel/py-synr/pkg-descr @@ -0,0 +1,11 @@ +Synr is a library that provides a stable Abstract Syntax Tree for Python. + +Features: +* The Synr AST does not change between Python versions. +* Every AST node contains line and column information. +* There is a single AST node for assignments (compared to three in Python's ast + module). +* Support for returning multiple errors at once. +* Support for custom error reporting. + +WWW: https://github.com/octoml/synr