From owner-svn-ports-head@freebsd.org Sun Jan 5 04:06:55 2020 Return-Path: Delivered-To: svn-ports-head@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 28E2B1D77D0; Sun, 5 Jan 2020 04:06:55 +0000 (UTC) (envelope-from sunpoet@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47r4pQ6CM3z3Jvy; Sun, 5 Jan 2020 04:06:54 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 982831FCAB; Sun, 5 Jan 2020 04:06:54 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 00546sgm047727; Sun, 5 Jan 2020 04:06:54 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00546re2047723; Sun, 5 Jan 2020 04:06:53 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202001050406.00546re2047723@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 5 Jan 2020 04:06:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522084 - in head/devel: . py-libcst X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . py-libcst X-SVN-Commit-Revision: 522084 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jan 2020 04:06:55 -0000 Author: sunpoet Date: Sun Jan 5 04:06:53 2020 New Revision: 522084 URL: https://svnweb.freebsd.org/changeset/ports/522084 Log: Add py-libcst 0.2.6 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. WWW: https://github.com/Instagram/LibCST Added: head/devel/py-libcst/ head/devel/py-libcst/Makefile (contents, props changed) head/devel/py-libcst/distinfo (contents, props changed) head/devel/py-libcst/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Jan 5 04:06:46 2020 (r522083) +++ head/devel/Makefile Sun Jan 5 04:06:53 2020 (r522084) @@ -4604,6 +4604,7 @@ SUBDIR += py-lazr.uri SUBDIR += py-lazy SUBDIR += py-lazy-object-proxy + SUBDIR += py-libcst SUBDIR += py-libioc SUBDIR += py-libiocage SUBDIR += py-liblarch Added: head/devel/py-libcst/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-libcst/Makefile Sun Jan 5 04:06:53 2020 (r522084) @@ -0,0 +1,30 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= libcst +PORTVERSION= 0.2.6 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Concrete syntax tree with AST-like properties + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.2:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-inspect>=0.3.1:devel/py-typing-inspect@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 3700 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dataclasses>=0:devel/py-dataclasses@${PY_FLAVOR} +.endif + +.include Added: head/devel/py-libcst/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-libcst/distinfo Sun Jan 5 04:06:53 2020 (r522084) @@ -0,0 +1,3 @@ +TIMESTAMP = 1578125673 +SHA256 (libcst-0.2.6.tar.gz) = e8718c6b9d66e851246f60d3e3ee11aad7da989832c4d5e589326ba1c63f7268 +SIZE (libcst-0.2.6.tar.gz) = 345424 Added: head/devel/py-libcst/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-libcst/pkg-descr Sun Jan 5 04:06:53 2020 (r522084) @@ -0,0 +1,12 @@ +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. + +WWW: https://github.com/Instagram/LibCST