From owner-svn-ports-all@freebsd.org Thu Nov 19 22:19:30 2015 Return-Path: Delivered-To: svn-ports-all@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 C77A0A33B1A; Thu, 19 Nov 2015 22:19:30 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (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 922331B29; Thu, 19 Nov 2015 22:19:30 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by pacdm15 with SMTP id dm15so94054388pac.3; Thu, 19 Nov 2015 14:19:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=Q5ECw83IqRiVb3XFJTKUvT2/6J6qWOVyLikEelyOuv8=; b=Cx4fWFjh0s72Unl9J7UB/BbmoyjUjTJVUUOQ8E2nPD6O7y4C+ZES8UXnQ7wx0EX164 n1FrWFNFXWmi08FfAN9Yjc8iodZuYUWXxtypWpAUjg8LHlocdEWJuxIuCAGHc+gOtcpk adWdFyZ85NuOZ5pSpUQm7NWxw8ruzm63gPrX/XuJ+Wdf44xfOYUOaJNKrybc/gQ/ScJR Qp1601rl33wZLE2eyyFNRQIPsGKd8SFaaf1sU0KRGi4TnH5a1mCxS1JNRQKLfmf10BGS /MDB54y5CMunhxB0RNi9gmb4kp2cj3j6to0LLD4ORd3XrpqAc3y1qDwUlJehpcN0cnuJ 5PSg== X-Received: by 10.68.170.98 with SMTP id al2mr14130978pbc.121.1447971570197; Thu, 19 Nov 2015 14:19:30 -0800 (PST) Received: from ?IPv6:2001:44b8:31ae:7b01:99ca:e835:e6d:60e2? (2001-44b8-31ae-7b01-99ca-e835-0e6d-60e2.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:99ca:e835:e6d:60e2]) by smtp.gmail.com with ESMTPSA id mj1sm12160967pab.34.2015.11.19.14.19.27 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Nov 2015 14:19:29 -0800 (PST) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: svn commit: r401939 - in head/devel: . py3-babel References: <201511191203.tAJC3vQh029712@repo.freebsd.org> <20151119211302.56d8fa3d10d128b7b94a430f@freebsd.org> To: Muhammad Moinur Rahman , Olivier Duchateau Cc: "ports-committers@freebsd.org" , "svn-ports-all@freebsd.org" , "svn-ports-head@freebsd.org" From: Kubilay Kocak Message-ID: <564E4AE8.6060704@FreeBSD.org> Date: Fri, 20 Nov 2015 09:19:20 +1100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2015 22:19:31 -0000 On 20/11/2015 7:57 AM, Muhammad Moinur Rahman wrote: > When python 3 is the default version theses ports will no longer be > required. > > It supports, otherwise I couldn't have create. I am working on an app > which requires Python3. But unfortunately I couldn't find a way to make > sure that all the downstream DEPENDS were forced to built using python3 > as most of them mentioned USES=python which tends to make 2.7 as the > default. So I am creating these ports to work till Python 3 is the default. > > Correct me if I am wrong. > > BR, > @bofh > > On Fri, Nov 20, 2015 at 3:13 AM, Olivier Duchateau > wrote: > > On Thu, 19 Nov 2015 12:03:57 +0000 (UTC) > Muhammad Moinur Rahman wrote: > > > Author: bofh > > Date: Thu Nov 19 12:03:57 2015 > > New Revision: 401939 > > URL: https://svnweb.freebsd.org/changeset/ports/401939 > > > > Log: > > [NEW] devel/py3-babel: Collection of tools for > internationalizing Python > > > > - Python 3 specific version of devel/py-babel > > > > Babel is composed of two major parts: > > > > * tools to build and work with gettext message catalogs > > > > * a Python interface to the CLDR (Common Locale Data > Repository), > > providing access to various locale display names, localized > > number and date formatting, etc. > > > > WWW: http://babel.pocoo.org/ > > > > Added: > > head/devel/py3-babel/ > > head/devel/py3-babel/Makefile (contents, props changed) > > head/devel/py3-babel/distinfo (contents, props changed) > > head/devel/py3-babel/pkg-descr (contents, props changed) > > head/devel/py3-babel/pkg-plist (contents, props changed) > > Modified: > > head/devel/Makefile > > > > Modified: head/devel/Makefile > > > ============================================================================== > > --- head/devel/Makefile Thu Nov 19 11:59:16 2015 > (r401938) > > +++ head/devel/Makefile Thu Nov 19 12:03:57 2015 > (r401939) > > @@ -4471,6 +4471,7 @@ > > SUBDIR += py-zope.testing > > SUBDIR += py-zope.traversing > > SUBDIR += py-zope.viewlet > > + SUBDIR += py3-babel > > SUBDIR += py3-dbus > > SUBDIR += py3-gobject3 > > SUBDIR += py3-libpeas > > > > Added: head/devel/py3-babel/Makefile > > > ============================================================================== > > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > > +++ head/devel/py3-babel/Makefile Thu Nov 19 12:03:57 2015 > (r401939) > > @@ -0,0 +1,31 @@ > > +# Created by: Muhammad Moinur Rahman > > +# $FreeBSD$ > > + > > +PORTNAME= Babel > > +PORTVERSION= 2.1.1 > > +CATEGORIES= devel python > > +MASTER_SITES= CHEESESHOP > > +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > > + > > +MAINTAINER= bofh@FreeBSD.org > > +COMMENT= Collection of tools for internationalizing Python > applications > > + > > +LICENSE= BSD3CLAUSE > > + > > +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py3-pytz > > + > > +USES= python:3 > > +USE_PYTHON= autoplist concurrent distutils > > +NO_ARCH= yes > > + > > +PORTDOCS= docs/* > > + > > +OPTIONS_DEFINE= DOCS > > + > > +do-install-DOCS-on: > > + ${MKDIR} ${STAGEDIR}${DOCSDIR} > > +.for docfile in ${PORTDOCS} > > + ${CP} -r ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR} > > +.endfor > > + > > +.include > > > > > Added: head/devel/py3-babel/distinfo > > > ============================================================================== > > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > > +++ head/devel/py3-babel/distinfo Thu Nov 19 12:03:57 2015 > (r401939) > > @@ -0,0 +1,2 @@ > > +SHA256 (Babel-2.1.1.tar.gz) = > 7fb6d50effe88a087feb2036cb972fd7a893bf338361516f1a55a820bf7b5248 > > +SIZE (Babel-2.1.1.tar.gz) = 3437647 > > > > Added: head/devel/py3-babel/pkg-descr > > > ============================================================================== > > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > > +++ head/devel/py3-babel/pkg-descr Thu Nov 19 12:03:57 2015 > (r401939) > > @@ -0,0 +1,9 @@ > > +Babel is composed of two major parts: > > + > > + * tools to build and work with gettext message catalogs > > + > > + * a Python interface to the CLDR (Common Locale Data Repository), > > + providing access to various locale display names, localized > > + number and date formatting, etc. > > + > > +WWW: http://babel.pocoo.org/ > > > > Added: head/devel/py3-babel/pkg-plist > > > ============================================================================== > > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > > +++ head/devel/py3-babel/pkg-plist Thu Nov 19 12:03:57 2015 > (r401939) > > @@ -0,0 +1,39 @@ > > +%%PORTDOCS%%%%DOCSDIR%%/Makefile > > +%%PORTDOCS%%%%DOCSDIR%%/_static/logo.pdf > > +%%PORTDOCS%%%%DOCSDIR%%/_static/logo.png > > +%%PORTDOCS%%%%DOCSDIR%%/_static/logo_small.png > > +%%PORTDOCS%%%%DOCSDIR%%/_templates/sidebar-about.html > > +%%PORTDOCS%%%%DOCSDIR%%/_templates/sidebar-links.html > > +%%PORTDOCS%%%%DOCSDIR%%/_templates/sidebar-logo.html > > +%%PORTDOCS%%%%DOCSDIR%%/_themes/LICENSE > > +%%PORTDOCS%%%%DOCSDIR%%/_themes/README > > +%%PORTDOCS%%%%DOCSDIR%%/_themes/babel/layout.html > > +%%PORTDOCS%%%%DOCSDIR%%/_themes/babel/relations.html > > +%%PORTDOCS%%%%DOCSDIR%%/_themes/babel/static/babel.css_t > > +%%PORTDOCS%%%%DOCSDIR%%/_themes/babel/static/small_babel.css > > +%%PORTDOCS%%%%DOCSDIR%%/_themes/babel/theme.conf > > +%%PORTDOCS%%%%DOCSDIR%%/api/core.rst > > +%%PORTDOCS%%%%DOCSDIR%%/api/dates.rst > > +%%PORTDOCS%%%%DOCSDIR%%/api/index.rst > > +%%PORTDOCS%%%%DOCSDIR%%/api/messages/catalog.rst > > +%%PORTDOCS%%%%DOCSDIR%%/api/messages/extract.rst > > +%%PORTDOCS%%%%DOCSDIR%%/api/messages/index.rst > > +%%PORTDOCS%%%%DOCSDIR%%/api/messages/mofile.rst > > +%%PORTDOCS%%%%DOCSDIR%%/api/messages/pofile.rst > > +%%PORTDOCS%%%%DOCSDIR%%/api/numbers.rst > > +%%PORTDOCS%%%%DOCSDIR%%/api/plural.rst > > +%%PORTDOCS%%%%DOCSDIR%%/api/support.rst > > +%%PORTDOCS%%%%DOCSDIR%%/changelog.rst > > +%%PORTDOCS%%%%DOCSDIR%%/cmdline.rst > > +%%PORTDOCS%%%%DOCSDIR%%/conf.py > > +%%PORTDOCS%%%%DOCSDIR%%/dates.rst > > +%%PORTDOCS%%%%DOCSDIR%%/index.rst > > +%%PORTDOCS%%%%DOCSDIR%%/installation.rst > > +%%PORTDOCS%%%%DOCSDIR%%/intro.rst > > +%%PORTDOCS%%%%DOCSDIR%%/license.rst > > +%%PORTDOCS%%%%DOCSDIR%%/locale.rst > > +%%PORTDOCS%%%%DOCSDIR%%/make.bat > > +%%PORTDOCS%%%%DOCSDIR%%/messages.rst > > +%%PORTDOCS%%%%DOCSDIR%%/numbers.rst > > +%%PORTDOCS%%%%DOCSDIR%%/setup.rst > > +%%PORTDOCS%%%%DOCSDIR%%/support.rst > > > > I don't understand, why 'svn copy' was not used. For me > devel/py3-babel should be copied from devel/py-babel. > > Moreover you write devel/py3-babel is only for Python3, that's > right, but why devel/py-babel was not modified? It supports Python2 > and Python3 (see USES=python). Is there conflict or not? > > -- > Olivier Duchateau > > > It's a bug (or depending on how you argue it; lack of a feature) The (Python) dependency need to be passed down the build chain, overriding the 'defaults'. If i'm not mistaken, the following issue describes it well enough, whether or not its the correct/right long-term solution/place to fix it: https://github.com/freebsd/poudriere/issues/313 I'd like to see this resolved.