2019-01-13 21:10:28 +01:00
|
|
|
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
|
|
|
|
|
|
PORTNAME= pglast
|
2019-03-09 19:23:45 +01:00
|
|
|
PORTVERSION= 1.2
|
2019-01-13 21:10:28 +01:00
|
|
|
CATEGORIES= databases python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= a.wolk@fudosecurity.com
|
|
|
|
COMMENT= PostgreSQL Languages AST and statements prettifier
|
|
|
|
|
|
|
|
LICENSE= GPLv3+
|
|
|
|
|
2020-12-07 04:33:34 +01:00
|
|
|
BROKEN_riscv64= fails to build: PostgreSQL does not have native spinlock support on this platform
|
2021-01-04 19:29:57 +01:00
|
|
|
NOT_FOR_ARCHS= aarch64 armv6 armv7
|
2019-03-30 17:49:09 +01:00
|
|
|
NOT_FOR_ARCHS_REASON= port/atomics/arch-<arch>.h: No such file or directory
|
2019-03-10 04:16:35 +01:00
|
|
|
|
2019-01-13 21:10:28 +01:00
|
|
|
USES= gmake python:3.4+
|
|
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|make|gmake|' ${WRKSRC}/setup.py
|
|
|
|
|
|
|
|
post-install:
|
2020-12-24 14:46:01 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pglast/parser*.so
|
2019-01-13 21:10:28 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|