aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-trans
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-09-15 15:47:57 +0800
committerrm <rm@FreeBSD.org>2012-09-15 15:47:57 +0800
commita559c6650c8486e4dd7b94cc2e236f4a9e254065 (patch)
tree299053d4f8472885f3e9421f7c6dd7a87fd2f918 /textproc/py-trans
parent9c1e3faae2fe5588338d50c82568a436a780af8c (diff)
downloadfreebsd-ports-gnome-a559c6650c8486e4dd7b94cc2e236f4a9e254065.tar.gz
freebsd-ports-gnome-a559c6650c8486e4dd7b94cc2e236f4a9e254065.tar.zst
freebsd-ports-gnome-a559c6650c8486e4dd7b94cc2e236f4a9e254065.zip
This module translates national characters into similar sounding latin
characters (transliteration). At the moment, Czech, Greek, Latvian, Polish, Turkish, Russian, Ukrainian alphabets are supported (it covers 99% of needs). WWW: http://pypi.python.org/pypi/trans PR: 171322 Submitted by: Dmitry Pryadko <d.pryadko at rambler-co dot ru>
Diffstat (limited to 'textproc/py-trans')
-rw-r--r--textproc/py-trans/Makefile22
-rw-r--r--textproc/py-trans/distinfo2
-rw-r--r--textproc/py-trans/pkg-descr5
3 files changed, 29 insertions, 0 deletions
diff --git a/textproc/py-trans/Makefile b/textproc/py-trans/Makefile
new file mode 100644
index 000000000000..6f5fea543a43
--- /dev/null
+++ b/textproc/py-trans/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= trans
+PORTVERSION= 1.5
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= d.pryadko@rambler-co.ru
+COMMENT= Module for performing transliteration
+
+LICENSE= BSD
+
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/trans.py \
+ %%PYTHON_SITELIBDIR%%/trans.pyc \
+ %%PYTHON_SITELIBDIR%%/trans.pyo
+
+USE_BZIP2= yes
+USE_PYTHON= -2.7
+USE_PYDISTUTILS=yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-trans/distinfo b/textproc/py-trans/distinfo
new file mode 100644
index 000000000000..1f1f7e3cd6fb
--- /dev/null
+++ b/textproc/py-trans/distinfo
@@ -0,0 +1,2 @@
+SHA256 (trans-1.5.tar.bz2) = 940a5335899ecb27bfaa940558aecf2a44a04a36af11f5544a3e772dec2fba21
+SIZE (trans-1.5.tar.bz2) = 5010
diff --git a/textproc/py-trans/pkg-descr b/textproc/py-trans/pkg-descr
new file mode 100644
index 000000000000..a88ea43e7e0f
--- /dev/null
+++ b/textproc/py-trans/pkg-descr
@@ -0,0 +1,5 @@
+This module translates national characters into similar sounding latin
+characters (transliteration). At the moment, Czech, Greek, Latvian, Polish,
+Turkish, Russian, Ukrainian alphabets are supported (it covers 99% of needs).
+
+WWW: http://pypi.python.org/pypi/trans