1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/www/py-aiohttp/Makefile
Kubilay Kocak 543c200834 www/py-aiohttp: Update to 0.9.0
- Update to 0.9.0
- Add LICENSE_FILE
- Update TEST_DEPENDS
- Strip trailing-slash from pkg-descr WWW: URL

Changes:

  https://github.com/KeepSafe/aiohttp/blob/v0.9.0/CHANGES.txt
2014-07-29 08:43:49 +00:00

39 lines
946 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= aiohttp
PORTVERSION= 0.9.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= HTTP client/server for asyncio
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
TEST_DEPENDS:= ${RUN_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
${PYTHON_PKGNAMEPREFIX}gunicorn>0:${PORTSDIR}/www/py-gunicorn \
${PYTHON_PKGNAMEPREFIX}chardet>0:${PORTSDIR}/textproc/py-chardet
OPTIONS_DEFINE= TESTS
TESTS_DESC= Install tools for test suite
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
USE_PYTHON= 3.3+
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 340
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}asyncio>0:${PORTSDIR}/devel/py-asyncio
.endif
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.include <bsd.port.post.mk>