COMMENT=	native component for Psycopg PostgreSQL database adapter

# must be in-sync with databases/py-psycopg
MODPY_DISTV=	3.3.6
DISTNAME=	psycopg_c-${MODPY_DISTV}
PKGNAME=	py-psycopg-c-${MODPY_DISTV}

CATEGORIES=	databases

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

# LGPLv3
PERMIT_PACKAGE = Yes

WANTLIB=	pq

MODULES=	lang/python
MODPY_PYBUILD=	setuptools
MODPY_PI=	Yes

LIB_DEPENDS=	databases/postgresql

# 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>
