aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-asyncpg/Makefile
blob: 36c2276e9104e93319b3f1fbaa63e232cfea6abc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Babak Farrokhi <farrokhi@FreeBSD.org>
# $FreeBSD$

PORTNAME=   asyncpg
PORTVERSION=    0.18.1
CATEGORIES= databases python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= farrokhi@FreeBSD.org
COMMENT=    High performance PostgreSQL Client Library for Python/asyncio

LICENSE=    APACHE20
LICENSE_FILE=   ${WRKSRC}/LICENSE

OPTIONS_DEFINE= DOCS

USES=       pgsql:9.2+ python:3.5+
USE_PYTHON= autoplist concurrent distutils setuptools

PORTDOCS=   PKG-INFO README.rst

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/asyncpg/protocol/protocol.so

post-install-DOCS-on:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}/
    cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>