diff options
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/py-gettext/Makefile | 27 | ||||
-rw-r--r-- | textproc/py-gettext/distinfo | 2 | ||||
-rw-r--r-- | textproc/py-gettext/pkg-descr | 5 | ||||
-rw-r--r-- | textproc/py-gettext/pkg-plist | 36 |
5 files changed, 71 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index b1ab805688d3..4253cdb1794e 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1096,6 +1096,7 @@ SUBDIR += py-feedparser SUBDIR += py-genshi SUBDIR += py-genshi-devel + SUBDIR += py-gettext SUBDIR += py-html2text SUBDIR += py-hyperestraier-python SUBDIR += py-jaxml diff --git a/textproc/py-gettext/Makefile b/textproc/py-gettext/Makefile new file mode 100644 index 000000000000..423dcac9db9e --- /dev/null +++ b/textproc/py-gettext/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: py-gettext +# Date created: Nov 11, 2011 +# Whom: Ruslan Mahmatkhanov <cvs-src@yandex.ru> +# +# $FreeBSD$ +# + +PORTNAME= gettext +PORTVERSION= 1.2 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= python-${PORTNAME}-${PORTVERSION} + +MAINTAINER= rm@FreeBSD.org +COMMENT= Python Gettext po to mo file compiler + +LICENSE= BSD + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>=0:${PORTSDIR}/devel/py-unittest2 + +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install +PYDISTUTILS_PKGNAME= python-${PORTNAME} +USE_ZIP= yes + +.include <bsd.port.mk> diff --git a/textproc/py-gettext/distinfo b/textproc/py-gettext/distinfo new file mode 100644 index 000000000000..2909977847d4 --- /dev/null +++ b/textproc/py-gettext/distinfo @@ -0,0 +1,2 @@ +SHA256 (python-gettext-1.2.zip) = e11bfa5d464964058a1df0b468208beb1e3207008da8305b7c0cc1f861ef7e44 +SIZE (python-gettext-1.2.zip) = 20524 diff --git a/textproc/py-gettext/pkg-descr b/textproc/py-gettext/pkg-descr new file mode 100644 index 000000000000..8377a565a1ed --- /dev/null +++ b/textproc/py-gettext/pkg-descr @@ -0,0 +1,5 @@ +This implementation of Gettext for Python includes a Msgfmt class +which can be used to generate compiled mo files from Gettext po +files and includes support for the newer msgctxt keyword. + +WWW: http://pypi.python.org/pypi/python-gettext diff --git a/textproc/py-gettext/pkg-plist b/textproc/py-gettext/pkg-plist new file mode 100644 index 000000000000..2a0f2ce75a11 --- /dev/null +++ b/textproc/py-gettext/pkg-plist @@ -0,0 +1,36 @@ +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/msgfmt.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/msgfmt.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/msgfmt.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test.po +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test.pot +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test2.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test2.po +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test3.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test3.po +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test4.po +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test5.po +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test_compile.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test_compile.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test_compile.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test_empty.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test_empty.po +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test_escape.po +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test_unicode_bom.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests/test_unicode_bom.po +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext/tests +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pythongettext +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |