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
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-polib | 1.2.0_1 |
| FreeBSD | devel/py-polib | 1.2.0_1 |
| NetBSD | devel/py-polib | 1.2.0 |
| DragonFly | devel/py-polib | 1.2.0_1 |
| HardenedBSD | devel/py-polib | 1.2.0_1 |
| GhostBSD | devel/py-polib | 1.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
| File | Size | SHA256 |
|---|---|---|
| polib-1.2.0.tar.gz | 161658 | f3ef94aefed6e183e342a8a269ae1fc4742ba193186ad76f175938621dbfc26b |
Master sites 1
- PYPI