Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2015 21:13:02 +0000
From:      Olivier Duchateau <olivierd@freebsd.org>
To:        Muhammad Moinur Rahman <bofh@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r401939 - in head/devel: . py3-babel
Message-ID:  <20151119211302.56d8fa3d10d128b7b94a430f@freebsd.org>
In-Reply-To: <201511191203.tAJC3vQh029712@repo.freebsd.org>
References:  <201511191203.tAJC3vQh029712@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Nov 2015 12:03:57 +0000 (UTC)
Muhammad Moinur Rahman <bofh@FreeBSD.org> 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 <bofh@FreeBSD.org>
> +# $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 <bsd.port.mk>
> 
> 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 <olivierd@freebsd.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151119211302.56d8fa3d10d128b7b94a430f>