opnsense-ports/databases/py-postgresql/Makefile
Franco Fichtner 2f03c0cf40 */*: sync with upstream
Taken from: FreeBSD
2023-06-28 09:14:20 +02:00

24 lines
615 B
Makefile

PORTNAME= postgresql
PORTVERSION= 1.3.0
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= postgresql
MAINTAINER= arcade@b1t.name
COMMENT= Python 3 compatible PostgreSQL database driver and tools
WWW= https://github.com/python-postgres/fe
LICENSE= BSD3CLAUSE
USES= pgsql python
USE_PYTHON= distutils autoplist
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
.include <bsd.port.post.mk>