mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
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 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> (via github) Feature safe: yes
This commit is contained in:
parent
bd392915ba
commit
d59d10533c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285545
@ -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
|
||||
|
27
textproc/py-gettext/Makefile
Normal file
27
textproc/py-gettext/Makefile
Normal file
@ -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>
|
2
textproc/py-gettext/distinfo
Normal file
2
textproc/py-gettext/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (python-gettext-1.2.zip) = e11bfa5d464964058a1df0b468208beb1e3207008da8305b7c0cc1f861ef7e44
|
||||
SIZE (python-gettext-1.2.zip) = 20524
|
5
textproc/py-gettext/pkg-descr
Normal file
5
textproc/py-gettext/pkg-descr
Normal file
@ -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
|
36
textproc/py-gettext/pkg-plist
Normal file
36
textproc/py-gettext/pkg-plist
Normal file
@ -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%%
|
Loading…
Reference in New Issue
Block a user