Add a port for py-iconvcodec 1.0, a universal unicode codec for python.

This commit is contained in:
Hye-Shik Chang 2003-04-22 21:52:30 +00:00
parent 5fd5069620
commit 608ef6a719
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79475
5 changed files with 39 additions and 0 deletions

View file

@ -45,6 +45,7 @@
SUBDIR += p5-Unicode-String
SUBDIR += psiconv
SUBDIR += py-iconv
SUBDIR += py-iconvcodec
SUBDIR += recode
SUBDIR += ruby-dump.rb
SUBDIR += ruby-iconv

View file

@ -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>

View file

@ -0,0 +1 @@
MD5 (iconvcodec-1.0.tar.gz) = a43c8f832710c19f1541783290c1d051

View file

@ -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/

View file

@ -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