From owner-svn-ports-head@freebsd.org Sat Nov 21 17:08:56 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D6E7A33D91; Sat, 21 Nov 2015 17:08:56 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D35E919E7; Sat, 21 Nov 2015 17:08:55 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: by igvg19 with SMTP id g19so50842467igv.1; Sat, 21 Nov 2015 09:08:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=TGWfvtU24xt4Ut9IAf7b50c9eQGL1KB9uYk0fFWiXSE=; b=Zjf/AA+LGVpeMnLplwjk+Cn553sr0aKoAV9TJqtweXohPbyCu46zXF4xFW6Wlwdzag ZGV6GJON/zMgjSEUAoVRzW/CdJ8Cj8LBSrpnV0SPd5dYWo9Xp/5QcgtOEOKVdSIIOxAF PbIJz8fdqA/dy/3Pmr6Mxc3mqaaFx+aFGDB+CuF3gGDN1guaAt6VNIybxYxMbyiMlKSs K1uCzjeTEhBeyjBmWvKHd7CcP4dLsYDDtIPq3R/1aeNJ8KCjI2lPXkVd9RQeoDKf0BW5 bpp45hMGj0jbZVLxNTG5Ufn/mbp9FYQeUd7vx/rMINgLE1NVxtvAWxTwAm4hzkosphnc cDGw== MIME-Version: 1.0 X-Received: by 10.50.78.37 with SMTP id y5mr7002375igw.66.1448125735099; Sat, 21 Nov 2015 09:08:55 -0800 (PST) Sender: antoine.brodin.freebsd@gmail.com Received: by 10.107.182.67 with HTTP; Sat, 21 Nov 2015 09:08:54 -0800 (PST) In-Reply-To: References: <201511211041.tALAfwto073387@repo.freebsd.org> Date: Sat, 21 Nov 2015 17:08:54 +0000 X-Google-Sender-Auth: zO6UOTe1CWW5SAXBeukkBgUT6wE Message-ID: Subject: Re: svn commit: r402147 - in head/www: . py3-aiohttp From: Antoine Brodin To: Muhammad Moinur Rahman Cc: "ports-committers@freebsd.org" , "svn-ports-all@freebsd.org" , "svn-ports-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Nov 2015 17:08:56 -0000 On Sat, Nov 21, 2015 at 4:35 PM, Muhammad Moinur Rahman wrote: > 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. They are duplicate: % make -C www/py-aiohttp -VPKGNAME py34-aiohttp-0.16.3 % make -C www/py3-aiohttp -VPKGNAME py34-aiohttp-0.16.3 And duplicates prevent the package builders to work. [00:00:02] ====>> Error: Duplicated origin for py34-aiohttp-0.16.3: www/py3-aiohttp AND www/py-aiohttp. Rerun with -vv to see which ports are depending on these. As I already said, please modify www/py-aiohttp if it doesn't fit your needs, do not add new port with the same PKGBASE/PKGNAME. Antoine > 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 wrote: >> >> On Sat, Nov 21, 2015 at 10:41 AM, Muhammad Moinur Rahman >> 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 >> > +# $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 >> > >> > 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 >> > > >