diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2014-06-20 10:54:09 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2014-06-20 10:54:09 +0000 |
commit | e26ec309b9d6a5d6a37af19cc8d2fbf0df5308f8 (patch) | |
tree | b5850dc0c7128449ad9286feeb9cb14d6cc82eb5 /www | |
parent | 309f4d24a34739c9fc6bca1d4a2b092f90cf4865 (diff) | |
download | ports-e26ec309b9d6a5d6a37af19cc8d2fbf0df5308f8.tar.gz ports-e26ec309b9d6a5d6a37af19cc8d2fbf0df5308f8.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/py-aiohttp/Makefile | 32 | ||||
-rw-r--r-- | www/py-aiohttp/distinfo | 2 | ||||
-rw-r--r-- | www/py-aiohttp/pkg-descr | 12 |
4 files changed, 47 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index a99e0d8f39ff..85d918809b8e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1475,6 +1475,7 @@ SUBDIR += py-WebError SUBDIR += py-WebFlash SUBDIR += py-WebTest + SUBDIR += py-aiohttp SUBDIR += py-albatross SUBDIR += py-amf SUBDIR += py-apachelog diff --git a/www/py-aiohttp/Makefile b/www/py-aiohttp/Makefile new file mode 100644 index 000000000000..d88a64d0f454 --- /dev/null +++ b/www/py-aiohttp/Makefile @@ -0,0 +1,32 @@ +# Created by: Kubilay Kocak <koobs@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= aiohttp +PORTVERSION= 0.8.1 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs@FreeBSD.org +COMMENT= HTTP client/server for asyncio + +OPTIONS_DEFINE= TESTS +TESTS_DESC= Install tools for test suite +TESTS_BUILD_DEPENDS= ${RUN_DEPENDS} \ + ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \ + ${PYTHON_PKGNAMEPREFIX}gunicorn>0:${PORTSDIR}/www/py-gunicorn + +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> diff --git a/www/py-aiohttp/distinfo b/www/py-aiohttp/distinfo new file mode 100644 index 000000000000..d6f4ac883e8e --- /dev/null +++ b/www/py-aiohttp/distinfo @@ -0,0 +1,2 @@ +SHA256 (aiohttp-0.8.1.tar.gz) = 605ac693c681d9582afaca5db6ecda6a8782a38beeafe1adc2dddbbd0fcd10f2 +SIZE (aiohttp-0.8.1.tar.gz) = 76487 diff --git a/www/py-aiohttp/pkg-descr b/www/py-aiohttp/pkg-descr new file mode 100644 index 000000000000..ed6ccb5ae83d --- /dev/null +++ b/www/py-aiohttp/pkg-descr @@ -0,0 +1,12 @@ +HTTP client/server for Python asyncio (PEP-3156) + +Features: + + * Compression (deflate) + * HTTP Basic Authenntication + * Chunked Transfer Encoding + * Connection Pooling + * Session Cookies + * Custom Request/Response classes + +WWW: https://github.com/KeepSafe/aiohttp/ |