summaryrefslogtreecommitdiff
path: root/converters/py-iconvcodec
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-04-22 21:52:30 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-04-22 21:52:30 +0000
commit608ef6a719d37db4a611ee8ee0ddec15a586af7b (patch)
tree69b79efd632cc01a5c475fda08dcb2632abe8b5a /converters/py-iconvcodec
parento Update to 1.2.0 (diff)
Add a port for py-iconvcodec 1.0, a universal unicode codec for python.
Notes
Notes: svn path=/head/; revision=79475
Diffstat (limited to 'converters/py-iconvcodec')
-rw-r--r--converters/py-iconvcodec/Makefile23
-rw-r--r--converters/py-iconvcodec/distinfo1
-rw-r--r--converters/py-iconvcodec/pkg-descr9
-rw-r--r--converters/py-iconvcodec/pkg-plist5
4 files changed, 38 insertions, 0 deletions
diff --git a/converters/py-iconvcodec/Makefile b/converters/py-iconvcodec/Makefile
new file mode 100644
index 000000000000..a56c98721c58
--- /dev/null
+++ b/converters/py-iconvcodec/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: py-iconv
+# Date created: 23 April 2003
+# Whom: Hye-Shik Chang <perky@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= iconvcodec
+PORTVERSION= 1.0
+CATEGORIES= converters python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= koco
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= perky@FreeBSD.org
+COMMENT= Universal unicode codec using iconv(3) for Python
+
+LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_BUILDARGS= --with-libiconv=${LOCALBASE}
+
+.include <bsd.port.mk>
diff --git a/converters/py-iconvcodec/distinfo b/converters/py-iconvcodec/distinfo
new file mode 100644
index 000000000000..6364efc197eb
--- /dev/null
+++ b/converters/py-iconvcodec/distinfo
@@ -0,0 +1 @@
+MD5 (iconvcodec-1.0.tar.gz) = a43c8f832710c19f1541783290c1d051
diff --git a/converters/py-iconvcodec/pkg-descr b/converters/py-iconvcodec/pkg-descr
new file mode 100644
index 000000000000..846eb82556a7
--- /dev/null
+++ b/converters/py-iconvcodec/pkg-descr
@@ -0,0 +1,9 @@
+The iconvcodec is an universal unicode codec module for Python
+using POSIX iconv(3). And, supports the following features:
+
+ * PEP293 Error Callbacks (for Python 2.3 only)
+ * Reentrant-safe encoder and decoder
+ * Adaptive multiple unicode encodings: UCS, swapped UCS, UTF-8
+ * Stateful/context-aware StreamReader and StreamWriter
+
+WWW: http://sourceforge.net/projects/koco/
diff --git a/converters/py-iconvcodec/pkg-plist b/converters/py-iconvcodec/pkg-plist
new file mode 100644
index 000000000000..e25b9a75100b
--- /dev/null
+++ b/converters/py-iconvcodec/pkg-plist
@@ -0,0 +1,5 @@
+%%PYTHON_SITELIBDIR%%/_iconv_codec.so
+%%PYTHON_SITELIBDIR%%/iconv_codec.pth
+%%PYTHON_SITELIBDIR%%/iconv_codec.py
+%%PYTHON_SITELIBDIR%%/iconv_codec.pyc
+%%PYTHON_SITELIBDIR%%/iconv_codec.pyo