mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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>
This commit is contained in:
parent
9b5361d2a7
commit
65db533578
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490207
4 changed files with 36 additions and 0 deletions
|
@ -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
|
||||
|
|
25
databases/py-pglast/Makefile
Normal file
25
databases/py-pglast/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
# $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 <bsd.port.mk>
|
3
databases/py-pglast/distinfo
Normal file
3
databases/py-pglast/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1547379267
|
||||
SHA256 (pglast-1.1.tar.gz) = 3149c8b80c84f54fcdc56685e9e12625a7774e02352469d90ad9a30edcca759c
|
||||
SIZE (pglast-1.1.tar.gz) = 1483748
|
7
databases/py-pglast/pkg-descr
Normal file
7
databases/py-pglast/pkg-descr
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue