svn commit: r402147 - in head/www: . py3-aiohttp

Antoine Brodin antoine at FreeBSD.org
Sat Nov 21 12:44:36 UTC 2015


On Sat, Nov 21, 2015 at 10:41 AM, Muhammad Moinur Rahman
<bofh at freebsd.org> wrote:
> Author: bofh
> Date: Sat Nov 21 10:41:58 2015
> New Revision: 402147
> URL: https://svnweb.freebsd.org/changeset/ports/402147
>
> Log:
>   [NEW] www/py3-aiohttp: HTTP client/server for asyncio
>
>   - Python3 specific version for www/py-aiohttp; although this uses a version
>     3.3+ but unfortunately the dependent still uses version 2
>
>   HTTP client/server for Python asyncio (PEP-3156)

Hi,

I removed this port as it is duplicate of www/py-aiohttp.
Please modify www/py-aiohttp to fit your needs instead.

Antoine (with hat: portmgr)


>   Features:
>
>    * Compression (deflate)
>    * HTTP Basic Authenntication
>    * Chunked Transfer Encoding
>    * Connection Pooling
>    * Session Cookies
>    * Custom Request/Response classes
>
>   WWW: https://github.com/KeepSafe/aiohttp
>
> Added:
>   head/www/py3-aiohttp/
>   head/www/py3-aiohttp/Makefile   (contents, props changed)
>   head/www/py3-aiohttp/distinfo   (contents, props changed)
>   head/www/py3-aiohttp/pkg-descr   (contents, props changed)
> Modified:
>   head/www/Makefile
>
> Modified: head/www/Makefile
> ==============================================================================
> --- head/www/Makefile   Sat Nov 21 09:37:25 2015        (r402146)
> +++ head/www/Makefile   Sat Nov 21 10:41:58 2015        (r402147)
> @@ -1777,6 +1777,7 @@
>      SUBDIR += py-wsgiauth
>      SUBDIR += py-wsgidav
>      SUBDIR += py-zope.app.wsgi
> +    SUBDIR += py3-aiohttp
>      SUBDIR += pyblosxom
>      SUBDIR += pycarddav
>      SUBDIR += pydio
>
> Added: head/www/py3-aiohttp/Makefile
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/www/py3-aiohttp/Makefile       Sat Nov 21 10:41:58 2015        (r402147)
> @@ -0,0 +1,35 @@
> +# Created by: Muhammad Moinur Rahman <bofh at FreeBSD.org>
> +# $FreeBSD$
> +
> +PORTNAME=      aiohttp
> +PORTVERSION=   0.16.3
> +CATEGORIES=    www python
> +MASTER_SITES=  CHEESESHOP
> +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
> +
> +MAINTAINER=    bofh at FreeBSD.org
> +COMMENT=       HTTP client/server for asyncio
> +
> +LICENSE=       BSD2CLAUSE
> +LICENSE_FILE=  ${WRKSRC}/LICENSE.txt
> +
> +RUN_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}chardet>0:${PORTSDIR}/textproc/py3-chardet
> +TEST_DEPENDS:= ${RUN_DEPENDS} \
> +               ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
> +               ${PYTHON_PKGNAMEPREFIX}gunicorn>0:${PORTSDIR}/www/py-gunicorn
> +
> +OPTIONS_DEFINE=                TESTS
> +TESTS_DESC=            Install test suite requirements
> +TESTS_BUILD_DEPENDS=   ${TEST_DEPENDS}
> +
> +USES=          python:3
> +USE_PYTHON=    autoplist distutils
> +
> +post-install:
> +       ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/aiohttp/_websocket.so
> +       ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/aiohttp/_multidict.so
> +
> +regression-test: build
> +       @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
> +
> +.include <bsd.port.mk>
>
> Added: head/www/py3-aiohttp/distinfo
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/www/py3-aiohttp/distinfo       Sat Nov 21 10:41:58 2015        (r402147)
> @@ -0,0 +1,2 @@
> +SHA256 (aiohttp-0.16.3.tar.gz) = eaf479acc98ffee0a029882465ebf21f3c302e1b94a41b16c8a5a695bc614900
> +SIZE (aiohttp-0.16.3.tar.gz) = 1442720
>
> Added: head/www/py3-aiohttp/pkg-descr
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/www/py3-aiohttp/pkg-descr      Sat Nov 21 10:41:58 2015        (r402147)
> @@ -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
>


More information about the svn-ports-all mailing list