1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Add py-aiohttp2 2.3.10 (copied from py-aiohttp)

- Update WWW

Changes:	https://github.com/aio-libs/aiohttp/blob/2.3/CHANGES.rst
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-01-01 20:29:02 +00:00
parent cf258608b7
commit ac4ad7be57
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488936
4 changed files with 51 additions and 0 deletions

View File

@ -1473,6 +1473,7 @@
SUBDIR += py-aioh2
SUBDIR += py-aiohttp
SUBDIR += py-aiohttp-wsgi
SUBDIR += py-aiohttp2
SUBDIR += py-albatross
SUBDIR += py-amf
SUBDIR += py-apachelog

35
www/py-aiohttp2/Makefile Normal file
View File

@ -0,0 +1,35 @@
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= aiohttp
PORTVERSION= 2.3.10
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 2
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= HTTP client/server for asyncio
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}async_timeout>=1.2.0:devel/py-async_timeout@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}idna_ssl>=1.0.0:dns/py-idna_ssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}multidict>=4.0.0:www/py-multidict@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yarl>=1.0.0:www/py-yarl@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gunicorn>=0:www/py-gunicorn@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-timeout>=0:devel/py-pytest-timeout@${FLAVOR}
USES= python:3.4+
USE_PYTHON= autoplist cython distutils
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/aiohttp/*.so
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>

3
www/py-aiohttp2/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1546277140
SHA256 (aiohttp-2.3.10.tar.gz) = 8adda6583ba438a4c70693374e10b60168663ffa6564c5c75d3c7a9055290964
SIZE (aiohttp-2.3.10.tar.gz) = 848324

12
www/py-aiohttp2/pkg-descr Normal file
View File

@ -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/aio-libs/aiohttp