mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
Add py-polib 0.3.1, a python library to parse and manage gettext
catalogs. PR: ports/119527 Submitted by: Oleg Ukraincev <oleg at ht-systems.ru>
This commit is contained in:
parent
282f427dd5
commit
40f67530bb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=205388
@ -1975,6 +1975,7 @@
|
||||
SUBDIR += py-plex
|
||||
SUBDIR += py-ply
|
||||
SUBDIR += py-pmock
|
||||
SUBDIR += py-polib
|
||||
SUBDIR += py-pp
|
||||
SUBDIR += py-pqueue
|
||||
SUBDIR += py-protocols
|
||||
|
20
devel/py-polib/Makefile
Normal file
20
devel/py-polib/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# New ports collection makefile for: py-polib
|
||||
# Date created: 10 January 2008
|
||||
# Whom: Oleg Ukraincev <oleg@ht-systems.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= polib
|
||||
PORTVERSION= 0.3.1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= http://polib.googlecode.com/files/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= oleg@ht-systems.ru
|
||||
COMMENT= A python library to parse and manage gettext catalogs
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS=yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-polib/distinfo
Normal file
3
devel/py-polib/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (polib-0.3.1.tar.gz) = d8bcd87efe252ff7daef940c94a40279
|
||||
SHA256 (polib-0.3.1.tar.gz) = 53c3348c5b03d1059480033a35646fcf37ebf4066034a0ef81dfbc822f67160e
|
||||
SIZE (polib-0.3.1.tar.gz) = 206897
|
13
devel/py-polib/pkg-descr
Normal file
13
devel/py-polib/pkg-descr
Normal file
@ -0,0 +1,13 @@
|
||||
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/
|
3
devel/py-polib/pkg-plist
Normal file
3
devel/py-polib/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
%%PYTHON_SITELIBDIR%%/polib.py
|
||||
%%PYTHON_SITELIBDIR%%/polib.pyc
|
||||
%%PYTHON_SITELIBDIR%%/polib.pyo
|
Loading…
Reference in New Issue
Block a user