notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
py-pglast PostgreSQL Languages AST and statements prettifier
5.8 databases on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.2Version of this port present on the latest quarterly branch.
Maintainer: a.wolk@fudosecurity.com search for ports maintained by this maintainer
Port Added: 2019-01-13 20:16:00
Last Update: 2024-02-11 11:48:41
Commit Hash: 57ca7ff
Also Listed In: python
License: GPLv3+
WWW:
https://github.com/lelit/pglast
Description:
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}pglast>0:databases/py-pglast@${PY_FLAVOR}
To install the port:
cd /usr/ports/databases/py-pglast/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/py-pglast
  • pkg install py39-pglast
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py39-pglast listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-pglast
Package flavors (<flavor>: <package>)
  • py39: py39-pglast
distinfo:
TIMESTAMP = 1705823669 SHA256 (pglast-5.8.tar.gz) = fb7cac42e1ab007e7108129a3f44ff3cb7db98bbb188a1cf07eefa0f7d861bd1 SIZE (pglast-5.8.tar.gz) = 3144521

Packages (timestamps in pop-ups are UTC):
py37-pglast
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest------1.2-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
 

py39-pglast
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.85.8-5.85.8---
FreeBSD:13:quarterly-1.2--1.21.21.21.2
FreeBSD:14:latest5.85.8-5.85.81.2-1.2
FreeBSD:14:quarterly-1.2--1.21.21.21.2
FreeBSD:15:latest5.85.8n/a5.8n/a--5.8
FreeBSD:15:quarterly--n/a-n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.3 : devel/gmake
  2. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  3. python3.9 : lang/python39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
databases_py-pglast
USES:
gmake python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/pglast/
  2. https://pypi.org/packages/source/p/pglast/
Collapse this list.

Number of commits found: 17

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.8
11 Feb 2024 11:48:41
commit hash: 57ca7ff78b4490a83d5a1d576e2a74eaf074c530commit hash: 57ca7ff78b4490a83d5a1d576e2a74eaf074c530commit hash: 57ca7ff78b4490a83d5a1d576e2a74eaf074c530commit hash: 57ca7ff78b4490a83d5a1d576e2a74eaf074c530 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
databases/py-pglast: fix build on powerpc* by removing outdated patch

While here, also enable on armv6, armv7 and aarch64.
5.8
21 Jan 2024 08:00:25
commit hash: 0a4ae026c6ec43643d7842a7af319f68e15a2358commit hash: 0a4ae026c6ec43643d7842a7af319f68e15a2358commit hash: 0a4ae026c6ec43643d7842a7af319f68e15a2358commit hash: 0a4ae026c6ec43643d7842a7af319f68e15a2358 files touched by this commit
Wen Heping (wen) search for other commits by this committer
databases/py-pglast: Update to 5.8 and fix build with python-3.11

PR:		275494
Approved by:	portmgr@(blanket, fix build)
1.2
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
1.2
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.2
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.2
20 Jul 2022 14:21:07
commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
databases: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Choe, Cheng-Dae" whitekid
  *  "Mahdi Mokhtari <mokhi64@gmail.com>"
  *  "Meikel Brandmeyer" <ocaml-sqlite3-port@kotka.de>
  *  <hvo.pm@xs4all.nl>
  *  <jsmith@resonatingmedia.com>
  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Snelson <Alan@Wave2.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.2
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.2
04 Jan 2021 18:29:58
Revision:560322Original commit files touched by this commit
pkubaj search for other commits by this committer
databases/py-pglast: fix build on powerpc*

Use upstream fix for libpg_query.
1.2
24 Dec 2020 13:46:02
Revision:559094Original commit files touched by this commit
kai search for other commits by this committer
Relax hardcoded paths to fix build with Python 3.8.7

Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme.  This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".

The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.

Remedy the issue by adding wildcards to these paths.  This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.

[1] https://bugs.python.org/issue42604

PR:		252057
Reported by:	John Kennedy
Reviewed by:	fluffy, koobs
Approved by:	koobs (python)
1.2
07 Dec 2020 03:33:34
Revision:557206Original commit files touched by this commit
linimon search for other commits by this committer
Mark as BROKEN on riscv64:

  ./src/postgres/include/storage/s_lock.h:876:2: error: PostgreSQL does not have
native spinlock support on this platform.

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com build testing
1.2
23 Sep 2020 18:24:31
Revision:549773Original commit files touched by this commit
linimon search for other commits by this committer
Also mark as NOT_FOR powerpc64le.

Approved by:	portmgr (tier-2 blanket)
1.2
30 Mar 2019 16:49:09
Revision:497258Original commit files touched by this commit
linimon search for other commits by this committer
Fix brain-o with previous commit (error message).
1.2
29 Mar 2019 22:34:54
Revision:497216Original commit files touched by this commit
linimon search for other commits by this committer
Also fails to build on arm* (same error, both 32- and 64-bit):

  ./src/postgres/include/port/atomics.h:68:10: fatal error:
'port/atomics/arch-arm.h' file not found

Approved by:	portmgr (tier-2 blanket)
1.2
10 Mar 2019 03:16:35
Revision:495222Original commit files touched by this commit
linimon search for other commits by this committer
Mark as NOT_FOR powerpc*.

Approved by:	portmgr (tier-2 blanket)
1.2
09 Mar 2019 18:23:45
Revision:495187Original commit files touched by this commit
kai search for other commits by this committer
databases/py-pglast: Update to 1.2

Changelog:

* Implement new split() function
* Implement BooleanTest printer

https://github.com/lelit/pglast/blob/v1.2/CHANGES.rst

PR:		236338
Submitted by:	Jaroslaw Zurek <j.zurek@fudosecurity.com>
Approved by:	tcberner (mentor), maintainer
Differential Revision:	https://reviews.freebsd.org/D19522
1.1
13 Jan 2019 20:10:28
Revision:490207Original commit files touched by this commit
sunpoet search for other commits by this committer
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>

Number of commits found: 17