summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-09-15 07:47:57 +0000
committerrm <rm@FreeBSD.org>2012-09-15 07:47:57 +0000
commita559c6650c8486e4dd7b94cc2e236f4a9e254065 (patch)
tree299053d4f8472885f3e9421f7c6dd7a87fd2f918
parent9c1e3faae2fe5588338d50c82568a436a780af8c (diff)
downloadFreeBSD-ports-a559c6650c8486e4dd7b94cc2e236f4a9e254065.zip
FreeBSD-ports-a559c6650c8486e4dd7b94cc2e236f4a9e254065.tar.gz
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>
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-trans/Makefile22
-rw-r--r--textproc/py-trans/distinfo2
-rw-r--r--textproc/py-trans/pkg-descr5
4 files changed, 30 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 79cd18b..e8bd43f 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1157,6 +1157,7 @@
SUBDIR += py-stripogram
SUBDIR += py-syck
SUBDIR += py-texttable
+ SUBDIR += py-trans
SUBDIR += py-translationstring
SUBDIR += py-tvgrab
SUBDIR += py-twistedLore
diff --git a/textproc/py-trans/Makefile b/textproc/py-trans/Makefile
new file mode 100644
index 0000000..6f5fea5
--- /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 0000000..1f1f7e3
--- /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 0000000..a88ea43
--- /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
OpenPOWER on IntegriCloud