freebsd-ports/databases/py-psycopg2cffi/Makefile
Joseph Mingrone fa5d9fe932 databases/py-psycopg2cffi: update to version 2.7.5
Release Notes:
https://pypi.python.org/pypi/psycopg2cffi#october-2016

Port changes: Set LICENSE_FILE and strip shared library.

Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D8413
2016-11-01 20:22:58 +00:00

27 lines
609 B
Makefile

# $FreeBSD$
PORTNAME= psycopg2cffi
PORTVERSION= 2.7.5
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jrm@FreeBSD.org
COMMENT= Implementation of the psycopg2 module using cffi
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/_cffi_backend.so:devel/py-cffi
RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/_cffi_backend.so:devel/py-cffi
NO_ARCH= yes
USE_PYTHON= autoplist distutils
USES= pgsql python
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/_impl/_libpq.so
.include <bsd.port.mk>