diff options
author | perky <perky@FreeBSD.org> | 2003-04-23 05:52:30 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2003-04-23 05:52:30 +0800 |
commit | e211e72cd29c8b21eafa23e99e665e559adaf772 (patch) | |
tree | 32e8995e162dd335ed75b48d3eae884927db193f /converters/py-iconvcodec | |
parent | b3c55a726f22eed0e5881185f488af6d5c277c0e (diff) | |
download | freebsd-ports-gnome-e211e72cd29c8b21eafa23e99e665e559adaf772.tar.gz freebsd-ports-gnome-e211e72cd29c8b21eafa23e99e665e559adaf772.tar.zst freebsd-ports-gnome-e211e72cd29c8b21eafa23e99e665e559adaf772.zip |
Add a port for py-iconvcodec 1.0, a universal unicode codec for python.
Diffstat (limited to 'converters/py-iconvcodec')
-rw-r--r-- | converters/py-iconvcodec/Makefile | 23 | ||||
-rw-r--r-- | converters/py-iconvcodec/distinfo | 1 | ||||
-rw-r--r-- | converters/py-iconvcodec/pkg-descr | 9 | ||||
-rw-r--r-- | converters/py-iconvcodec/pkg-plist | 5 |
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 |