BSD Ports

devel/py-polib 1.2.0_1 MidnightBSD

Python library to parse and manage gettext catalogs

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, python

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.

In the other systems

SystemPortVersion
MidnightBSDdevel/py-polib1.2.0_1
FreeBSDdevel/py-polib1.2.0_1
NetBSDdevel/py-polib1.2.0
DragonFlydevel/py-polib1.2.0_1
HardenedBSDdevel/py-polib1.2.0_1
GhostBSDdevel/py-polib1.2.0_1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}polib

From mports:

cd /usr/mports/devel/py-polib && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}polib>0:devel/py-polib

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
polib-1.2.0.tar.gz161658f3ef94aefed6e183e342a8a269ae1fc4742ba193186ad76f175938621dbfc26b
Master sites 1
  • PYPI