From owner-svn-ports-all@freebsd.org Sun Jan 13 20:10:32 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 584221484600; Sun, 13 Jan 2019 20:10:32 +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 E34428DAC2; Sun, 13 Jan 2019 20:10:31 +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 9DACD20474; Sun, 13 Jan 2019 20:10:29 +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 x0DKATHd004688; Sun, 13 Jan 2019 20:10:29 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0DKASRM004684; Sun, 13 Jan 2019 20:10:28 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201901132010.x0DKASRM004684@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, 13 Jan 2019 20:10:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490207 - in head/databases: . py-pglast X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/databases: . py-pglast X-SVN-Commit-Revision: 490207 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E34428DAC2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.957,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2019 20:10:32 -0000 Author: sunpoet Date: Sun Jan 13 20:10:28 2019 New Revision: 490207 URL: https://svnweb.freebsd.org/changeset/ports/490207 Log: Add py-pglast 1.1 PostgreSQL Languages AST and statements prettifier Exposes the parse tree of a PostgreSQL statement (extracted by the almost standard PG parser repackaged as a standalone static library by libpg_query) as set of interconnected nodes, usually called an abstract syntax tree. WWW: https://github.com/lelit/pglast PR: 234855 Submitted by: Adam Wolk Added: head/databases/py-pglast/ head/databases/py-pglast/Makefile (contents, props changed) head/databases/py-pglast/distinfo (contents, props changed) head/databases/py-pglast/pkg-descr (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Sun Jan 13 20:10:23 2019 (r490206) +++ head/databases/Makefile Sun Jan 13 20:10:28 2019 (r490207) @@ -803,6 +803,7 @@ SUBDIR += py-pg_pqueue SUBDIR += py-pgcli SUBDIR += py-pgdbconn + SUBDIR += py-pglast SUBDIR += py-pglite SUBDIR += py-pgspecial SUBDIR += py-pgxnclient Added: head/databases/py-pglast/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-pglast/Makefile Sun Jan 13 20:10:28 2019 (r490207) @@ -0,0 +1,25 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= pglast +PORTVERSION= 1.1 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= a.wolk@fudosecurity.com +COMMENT= PostgreSQL Languages AST and statements prettifier + +LICENSE= GPLv3+ +#LICENSE_FILE= ${WRKSRC}/ + +USES= gmake python:3.4+ +USE_PYTHON= autoplist distutils + +post-patch: + @${REINPLACE_CMD} -e 's|make|gmake|' ${WRKSRC}/setup.py + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pglast/parser.so + +.include Added: head/databases/py-pglast/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-pglast/distinfo Sun Jan 13 20:10:28 2019 (r490207) @@ -0,0 +1,3 @@ +TIMESTAMP = 1547379267 +SHA256 (pglast-1.1.tar.gz) = 3149c8b80c84f54fcdc56685e9e12625a7774e02352469d90ad9a30edcca759c +SIZE (pglast-1.1.tar.gz) = 1483748 Added: head/databases/py-pglast/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-pglast/pkg-descr Sun Jan 13 20:10:28 2019 (r490207) @@ -0,0 +1,7 @@ +PostgreSQL Languages AST and statements prettifier + +Exposes the parse tree of a PostgreSQL statement (extracted by the almost +standard PG parser repackaged as a standalone static library by libpg_query) +as set of interconnected nodes, usually called an abstract syntax tree. + +WWW: https://github.com/lelit/pglast