Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2008 12:20:15 GMT
From:      Oleg Ukraincev <oleg@ht-systems.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/119527: New port: devel/py-polib - a python library to parse and manage gettext catalogs.
Message-ID:  <200801101220.m0ACKFYN018837@www.freebsd.org>
Resent-Message-ID: <200801101230.m0ACU1aI023383@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         119527
>Category:       ports
>Synopsis:       New port: devel/py-polib - a python library to parse and manage gettext catalogs.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 10 12:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Ukraincev
>Release:        6.3-PRERELEASE
>Organization:
Hosting Telesystems
>Environment:
FreeBSD srv.lss.su 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Thu Jan 10 00:15:07 MSK 2008     ww@srv.lss.su:/usr/obj/usr/src/sys/LSS_0  i386

>Description:
PoLib is a python library to parse and manage gettext catalogs.

polib allows you to manipulate, create, modify gettext files
(pot, po and mo files). You can load existing files, iterate
through it's entries, add, modify entries, comments or metadata, etc...
or create new po files from scratch.

polib provides a simple and pythonic API, exporting only three
convenience functions 'pofile', 'mofile' and 'detect_encoding',
and the 4 core classes: POFile, MOFile, POEntry and MOEntry for
creating new files/entries.

WWW: http://polib.googlecode.com/

>How-To-Repeat:

>Fix:
shar file for port included

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-polib
#	py-polib/Makefile
#	py-polib/distinfo
#	py-polib/pkg-descr
#	py-polib/pkg-plist
#
echo c - py-polib
mkdir -p py-polib > /dev/null 2>&1
echo x - py-polib/Makefile
sed 's/^X//' >py-polib/Makefile << 'END-of-py-polib/Makefile'
X# New ports collection makefile for:   polib
X# Date created:        10 January 2008
X# Whom:                great.megatron
X#
X# $FreeBSD$
X#
X
XPORTNAME=	polib
XPORTVERSION=	0.3.1
XCATEGORIES=	devel python
XMASTER_SITES=	http://polib.googlecode.com/files/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=     ports@FreeBSD.org
XCOMMENT=	A python library to parse and manage gettext catalogs
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=yes
X
X.include <bsd.port.mk>
END-of-py-polib/Makefile
echo x - py-polib/distinfo
sed 's/^X//' >py-polib/distinfo << 'END-of-py-polib/distinfo'
XMD5 (polib-0.3.1.tar.gz) = d8bcd87efe252ff7daef940c94a40279
XSHA256 (polib-0.3.1.tar.gz) = 53c3348c5b03d1059480033a35646fcf37ebf4066034a0ef81dfbc822f67160e
XSIZE (polib-0.3.1.tar.gz) = 206897
END-of-py-polib/distinfo
echo x - py-polib/pkg-descr
sed 's/^X//' >py-polib/pkg-descr << 'END-of-py-polib/pkg-descr'
XPoLib is a python library to parse and manage gettext catalogs. 
X
Xpolib allows you to manipulate, create, modify gettext files
X(pot, po and mo files). You can load existing files, iterate
Xthrough it's entries, add, modify entries, comments or metadata, etc...
Xor create new po files from scratch. 
X
Xpolib provides a simple and pythonic API, exporting only three
Xconvenience functions 'pofile', 'mofile' and 'detect_encoding',
Xand the 4 core classes: POFile, MOFile, POEntry and MOEntry for
Xcreating new files/entries.
X
XWWW: http://polib.googlecode.com/
END-of-py-polib/pkg-descr
echo x - py-polib/pkg-plist
sed 's/^X//' >py-polib/pkg-plist << 'END-of-py-polib/pkg-plist'
X%%PYTHON_SITELIBDIR%%/polib.py
X%%PYTHON_SITELIBDIR%%/polib.pyc
X%%PYTHON_SITELIBDIR%%/polib.pyo
END-of-py-polib/pkg-plist
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



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