aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2011-03-21 16:19:07 +0800
committerclsung <clsung@FreeBSD.org>2011-03-21 16:19:07 +0800
commit3068e093c9fa63ac9d5b68e9951dc9a218499a3c (patch)
tree076a562a4928417a49c4c9baf82837d85ad39045 /textproc
parent26e27dff279b4cf3e6f9a276f7636808c96f7d19 (diff)
downloadfreebsd-ports-gnome-3068e093c9fa63ac9d5b68e9951dc9a218499a3c.tar.gz
freebsd-ports-gnome-3068e093c9fa63ac9d5b68e9951dc9a218499a3c.tar.zst
freebsd-ports-gnome-3068e093c9fa63ac9d5b68e9951dc9a218499a3c.zip
translationstring is a library used for internationalization (i18n) duties.
This package provides a translation string class, a translation string factory class, translation and pluralization primitives, and a utility that helps Chameleon templates use translation facilities of this package. It does not depend on Babel, but its translation and pluralization services are meant to work best when provided with an instance of the babel.support.Translations class. WWW: http://pypi.python.org/pypi/translationstring
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-translationstring/Makefile20
-rw-r--r--textproc/py-translationstring/distinfo2
-rw-r--r--textproc/py-translationstring/pkg-descr10
-rw-r--r--textproc/py-translationstring/pkg-plist27
5 files changed, 60 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index dd84166343c1..6bfe641901a8 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1047,6 +1047,7 @@
SUBDIR += py-stripogram
SUBDIR += py-syck
SUBDIR += py-texttable
+ SUBDIR += py-translationstring
SUBDIR += py-tvgrab
SUBDIR += py-twistedLore
SUBDIR += py-wordnet
diff --git a/textproc/py-translationstring/Makefile b/textproc/py-translationstring/Makefile
new file mode 100644
index 000000000000..ccb81b0914e1
--- /dev/null
+++ b/textproc/py-translationstring/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: py-translationstring
+# Date created: 2011-03-21
+# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= translationstring
+PORTVERSION= 0.3
+CATEGORIES= textproc www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= clsung@FreeBSD.org
+COMMENT= Utility library for i18n relied on by various Repoze packages
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= easy_install
+
+.include <bsd.port.mk>
diff --git a/textproc/py-translationstring/distinfo b/textproc/py-translationstring/distinfo
new file mode 100644
index 000000000000..40db6d7fbf8d
--- /dev/null
+++ b/textproc/py-translationstring/distinfo
@@ -0,0 +1,2 @@
+SHA256 (translationstring-0.3.tar.gz) = ef5aff7b977b3995abd822e9eb0469b5d26ea3508f64a30b801fccd84fe02a5a
+SIZE (translationstring-0.3.tar.gz) = 23179
diff --git a/textproc/py-translationstring/pkg-descr b/textproc/py-translationstring/pkg-descr
new file mode 100644
index 000000000000..7746ee52f212
--- /dev/null
+++ b/textproc/py-translationstring/pkg-descr
@@ -0,0 +1,10 @@
+translationstring is a library used for internationalization (i18n) duties.
+
+This package provides a translation string class, a translation string
+factory class, translation and pluralization primitives, and a utility
+that helps Chameleon templates use translation facilities of this package.
+It does not depend on Babel, but its translation and pluralization
+services are meant to work best when provided with an instance of
+the babel.support.Translations class.
+
+WWW: http://pypi.python.org/pypi/translationstring
diff --git a/textproc/py-translationstring/pkg-plist b/textproc/py-translationstring/pkg-plist
new file mode 100644
index 000000000000..94d3dc72a7e9
--- /dev/null
+++ b/textproc/py-translationstring/pkg-plist
@@ -0,0 +1,27 @@
+%%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/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests/fixtures/locales/de/LC_MESSAGES/messages.mo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests/fixtures/locales/de/LC_MESSAGES/messages.po
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests/test__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests/test__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests/test__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests/test_integration.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests/test_integration.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests/test_integration.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests/fixtures/locales/de/LC_MESSAGES
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests/fixtures/locales/de
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests/fixtures/locales
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests/fixtures
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring/tests
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/translationstring
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%