BSD Ports

devel/py-polib 1.2.0_1 FreeBSD

Python library to parse and manage gettext catalogs

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, python
Package size
41.5 KiB, 218.0 KiB installed

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
FreeBSDdevel/py-polib1.2.0_1
NetBSDdevel/py-polib1.2.0
DragonFlydevel/py-polib1.2.0_1
MidnightBSDdevel/py-polib1.2.0_1

Install

Binary package:

pkg install py312-polib

From the ports tree:

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

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

RUN_DEPENDS=	py312-polib>0:devel/py-polib

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.2.0_11.2.0_11.1.11.2.0_11.2.0_1
FreeBSD:14:quarterly1.2.0_11.2.0_1n/a1.2.0_11.2.0_1
FreeBSD:15:latest1.2.0_11.2.0_1n/a1.2.0_11.2.0_1
FreeBSD:15:quarterly1.2.0_11.2.0_1n/an/an/a
FreeBSD:16:latest1.2.0_11.2.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

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

Commit history 0

No commits in the history this site was built from.