Bug 234855

Summary: [NEW PORT] textproc/py-pglast PostgreSQL Languages AST and statements prettifier
Product: Ports & Packages Reporter: Adam Wolk <a.wolk>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me CC: a.wolk
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svn diff of the new port none

Description Adam Wolk 2019-01-11 13:28:31 UTC
Created attachment 201020 [details]
svn diff of the new port

Hi ports@

I'm attaching a new port for a PostgreSQL AST parser binding for python3.4+.

Work sponsored by: Fudo Security

pkg-descr:

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
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-01-13 20:12:14 UTC
A commit references this bug:

Author: sunpoet
Date: Sun Jan 13 20:10:29 UTC 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 <a.wolk@fudosecurity.com>

Changes:
  head/databases/Makefile
  head/databases/py-pglast/
  head/databases/py-pglast/Makefile
  head/databases/py-pglast/distinfo
  head/databases/py-pglast/pkg-descr
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2019-01-13 20:18:47 UTC
Committed. Thanks!