From nobody Fri Dec 30 18:07:11 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 4NkCrv4w38z2lDD7; Fri, 30 Dec 2022 18:07:11 +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 4NkCrv4PH5z3GmV; Fri, 30 Dec 2022 18:07:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672423631; 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=UngjWky1LedYOeQU/Y0fKbigOcHzoLeg/g97mRkDEWs=; b=Av3VB754HR74k6+Gvay5yM9IcwgH0QzzR//1hGvbc8vPar4w4q4WGIfOHmLmeX56TkU11j txuUenw3Y+vBrdNeLDhnqUwCOdsE6QyUkb+pyvdo7DHJVTdyXIWujxFmuA/04cn/UF5x+H 8sCgAmNLOFFO0dbRly3T2/dZTU8gm8MG6CVSZSaXbYM8ZKEbBpdUJ0Du6JrZNuboApnDpC V4C7BhlU0u3b7TgT6z4gvzCgW28TjOcAEYYG+HgZvox+ylSwqqrqcWgWXLgp/zL7wmondt HrSvN4o38+QR9tkFJFDnhGmEQaUWncwavlkvodW7r9fFb4/d2ULWsq58JLvg6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672423631; 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=UngjWky1LedYOeQU/Y0fKbigOcHzoLeg/g97mRkDEWs=; b=LkU0YahWGbIIyPAj+QIxC0/NKWl5UF7MXcRGtZmPc1xmCnCnrh603EOTQI6Ish4/Di0UhS glx0zgbu4+AOpvIYjF4AGY9hzAo56MKdNrushr/UEJhNPgRPXnWvd1i7Mh8hWPAcoooWSr PUB9GZd+5PMVLGg0T267HEwLreGwicRuODhdrmJ3270v4mNVB3A1wb9/D0YeP6Gmt1APLR 8aCY57Ux/kFIi6954Xeohssr/G4gD2WOpKtr+/0UGuNJKgiAmsKp6Vub70twrOJJ96pCnt EHTCSy85DfDNI/CgSpmZo5hefwEmfmV2c4fjVHlQQZ4Jyn4RI2emq2Hm9HzDfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672423631; a=rsa-sha256; cv=none; b=GEsA5Gf7WVacnX46utFWIWYvCyG5rFM8OQ1ezxsg8AScorLD1xvTk6rgXcBdbW/7/hxwsM WvN8zbTIAWVBvP3PoMrZu6MRNpUtEmkWnbC+PxZN3pg9BI6pmFnZiotATasnw6r+d4qiNo qLfydcgmzsK6UAoa6mFDMbcTi3Zf3hsJsKxYFdzWr5vwoD7F0nFu9GhDufCvOy2SWXgeGB kq0q/sC65TFNLBVXbHAoppapeMaVxIPZjnu/rXOlwtpEiGRTr17CFZHdIug5i4qVkRu/hV FhooyQ7hifiW3CAyMSeysVzeZ3rCyLCpAEcgDlP6fEEKa/MG9sUq0hIUnjQJmw== 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 4NkCrv3T1NzHlb; Fri, 30 Dec 2022 18:07:11 +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 2BUI7B7t089889; Fri, 30 Dec 2022 18:07:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BUI7BLB089888; Fri, 30 Dec 2022 18:07:11 GMT (envelope-from git) Date: Fri, 30 Dec 2022 18:07:11 GMT Message-Id: <202212301807.2BUI7BLB089888@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: 519954713573 - main - devel/py-libcst03: Add py-libcst03 0.3.23 (copied from py-libcst) 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: 5199547135734099c2c66c00c44fe7e1fdded1f1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5199547135734099c2c66c00c44fe7e1fdded1f1 commit 5199547135734099c2c66c00c44fe7e1fdded1f1 Author: Po-Chuan Hsieh AuthorDate: 2022-12-30 18:07:06 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-12-30 18:07:06 +0000 devel/py-libcst03: Add py-libcst03 0.3.23 (copied from py-libcst) - Add PORTSCOUT --- devel/Makefile | 1 + devel/py-libcst03/Makefile | 29 +++++++++++++++++++++++++++++ devel/py-libcst03/distinfo | 3 +++ devel/py-libcst03/pkg-descr | 10 ++++++++++ 4 files changed, 43 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a8510e442d64..a57c144a979a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4763,6 +4763,7 @@ SUBDIR += py-lazy SUBDIR += py-lazy-object-proxy SUBDIR += py-libcst + SUBDIR += py-libcst03 SUBDIR += py-libioc SUBDIR += py-libpeas SUBDIR += py-libplist diff --git a/devel/py-libcst03/Makefile b/devel/py-libcst03/Makefile new file mode 100644 index 000000000000..6b88586aed48 --- /dev/null +++ b/devel/py-libcst03/Makefile @@ -0,0 +1,29 @@ +PORTNAME= libcst +PORTVERSION= 0.3.23 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 03 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Concrete syntax tree with AST-like properties +WWW= https://github.com/Instagram/LibCST + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=5.2:devel/py-yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4.2:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-inspect>=0.4.0:devel/py-typing-inspect@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}libcst + +PORTSCOUT= limit:^0\.3\. + +.include diff --git a/devel/py-libcst03/distinfo b/devel/py-libcst03/distinfo new file mode 100644 index 000000000000..2425179ba82f --- /dev/null +++ b/devel/py-libcst03/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1638556576 +SHA256 (libcst-0.3.23.tar.gz) = 330f9082a309bad808e283e80845a843200303bb256690185b98ca458a62c4f8 +SIZE (libcst-0.3.23.tar.gz) = 579195 diff --git a/devel/py-libcst03/pkg-descr b/devel/py-libcst03/pkg-descr new file mode 100644 index 000000000000..74375e1c900e --- /dev/null +++ b/devel/py-libcst03/pkg-descr @@ -0,0 +1,10 @@ +LibCST is a Concrete Syntax Tree (CST) parser and serializer library for Python. + +LibCST parses Python source code as a CST tree that keeps all formatting details +(comments, whitespaces, parentheses, etc). It's useful for building automated +refactoring (codemod) applications and linters. + +LibCST creates a compromise between an Abstract Syntax Tree (AST) and a +traditional Concrete Syntax Tree (CST). By carefully reorganizing and naming +node types and fields, we've created a lossless CST that looks and feels like an +AST.