aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-aiopg/Makefile
blob: 7ee7182f4b3b5c536dce723da3a27d25151ede26 (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
# Created by: Babak Farrokhi <farrokhi@FreeBSD.org>
# $FreeBSD$

PORTNAME=   aiopg
PORTVERSION=    0.16.0
CATEGORIES= databases python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= farrokhi@FreeBSD.org
COMMENT=    Python library for accessing PostgreSQL database using asyncio

LICENSE=    BSD2CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE.txt

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.7.0:databases/py-psycopg2@${PY_FLAVOR}

OPTIONS_DEFINE= DOCS

USES=       pgsql:9.2+ python:3.4+
USE_PYTHON= autoplist concurrent distutils

PORTDOCS=   PKG-INFO README.rst CHANGES.txt

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

.include <bsd.port.mk>