Date: Sat, 21 Nov 2015 22:35:38 +0600 From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: Antoine Brodin <antoine@freebsd.org> Cc: "ports-committers@freebsd.org" <ports-committers@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org> Subject: Re: svn commit: r402147 - in head/www: . py3-aiohttp Message-ID: <CA%2BnPUkyLgLwEDtT8rWsow3n5LZ2XtWKOEx_8fqC0v-1qR2BpSg@mail.gmail.com> In-Reply-To: <CAALwa8=RvLdLkpip7Lz0hE4SPF4UZ4wbsqzfoSGExm-=i6v81g@mail.gmail.com> References: <201511211041.tALAfwto073387@repo.freebsd.org> <CAALwa8=RvLdLkpip7Lz0hE4SPF4UZ4wbsqzfoSGExm-=i6v81g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I would have loved to see this mail before your commit messages. Unfortunately I beg to differ that this is a duplicate of py-aiohttp. www/py-aiohttp depends on textproc/py-chardet which uses USES=python defaulting to python 2. Whereas py3-aiohttp depends on textproc/py3-chardet; which I have added due to the same reason. I believe you have missed a couple of my recent commit logs; otherwise those would have met the same fate. :P Unfortunately currently there is no way currently Python dependency can be passed down to the build chain, overriding the default resulting in a Python 3 version of textproc/py34-chardet package and so on for all the entire py-* ports collection. I believe you can check out the following for more details: https://github.com/freebsd/poudriere/issues/313 Which is a still pending issue. I believe this is the same for ports framework too. So any ideas for fixing this or handling this issues. If not can you please revert or allow me to do. @bofh On Sat, Nov 21, 2015 at 6:44 PM, Antoine Brodin <antoine@freebsd.org> wrote: > On Sat, Nov 21, 2015 at 10:41 AM, Muhammad Moinur Rahman > <bofh@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@FreeBSD.org> > > +# $FreeBSD$ > > + > > +PORTNAME= aiohttp > > +PORTVERSION= 0.16.3 > > +CATEGORIES= www python > > +MASTER_SITES= CHEESESHOP > > +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > > + > > +MAINTAINER= bofh@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 > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BnPUkyLgLwEDtT8rWsow3n5LZ2XtWKOEx_8fqC0v-1qR2BpSg>