COMMENT=	PostgreSQL database adapter for Python

# update py-psycopg-c in sync
MODPY_DISTV=	3.3.6
DISTNAME=	psycopg-${MODPY_DISTV}
PKGNAME=	py-${DISTNAME}

CATEGORIES=	databases

HOMEPAGE=	https://www.psycopg.org/

# LGPLv3
PERMIT_PACKAGE = Yes

MODULES=	lang/python
MODPY_PYBUILD=	setuptools
MODPY_PI=	Yes

RUN_DEPENDS=	databases/py-psycopg-c=${MODPY_DISTV}

# upstream includes psycopg, psycopg-c, psycopg-pool in a single repo
# alongside docs/tests, but they're split out for packaging, so it doesn't
# seem really possible to run tests here.
NO_TEST=	Yes

.include <bsd.port.mk>
