[Lunar-commits] <moonbase> polib: new module for parsing/managing gettext catalogs (0.4.2).

Jannis Pohlmann jannis at xfce.org
Fri Aug 14 03:07:45 CEST 2009


commit 6aa943808bbf49f93a3d03b28ff4ce4820da3e25
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Fri Aug 14 03:07:45 2009 +0200

    polib: new module for parsing/managing gettext catalogs (0.4.2).
---
 python/polib/BUILD   |    7 +++++++
 python/polib/DEPENDS |    2 ++
 python/polib/DETAILS |   24 ++++++++++++++++++++++++
 3 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/python/polib/BUILD b/python/polib/BUILD
new file mode 100644
index 0000000..a4f8f25
--- /dev/null
+++ b/python/polib/BUILD
@@ -0,0 +1,7 @@
+(
+
+  python setup.py config &&
+  prepare_install &&
+  python setup.py install
+
+) > $C_FIFO 2>&1
diff --git a/python/polib/DEPENDS b/python/polib/DEPENDS
new file mode 100644
index 0000000..2f74872
--- /dev/null
+++ b/python/polib/DEPENDS
@@ -0,0 +1,2 @@
+depends Python
+depends setuptools
diff --git a/python/polib/DETAILS b/python/polib/DETAILS
new file mode 100644
index 0000000..60acf03
--- /dev/null
+++ b/python/polib/DETAILS
@@ -0,0 +1,24 @@
+          MODULE=polib
+         VERSION=0.4.2
+          SOURCE=$MODULE-$VERSION.tar.gz
+      SOURCE_URL=http://polib.googlecode.com/files/
+      SOURCE_VFY=sha1:75844c27b20146eea9fe24dab18836368a80eb8f
+        WEB_SITE=http://code.google.com/p/polib/
+         ENTERED=20090814
+         UPDATED=20090814
+           SHORT="Library to parse and manage gettext catalogs"
+      MAINTAINER=jannis at lunar-linux.org
+
+cat << EOF
+A 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. 
+EOF


More information about the Lunar-commits mailing list