Bug 94460 - [new port] devel/py-chardet: Character encoding auto-detection in Python
Summary: [new port] devel/py-chardet: Character encoding auto-detection in Python
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-15 03:50 UTC by dryice
Modified: 2006-03-15 11:49 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dryice 2006-03-15 03:50:16 UTC
	Attached is the shar file for py-chardet, a character encoding
	auto detecter written in Python. textproc/py-feedparser will
	utilize this.

Fix: --- attached file begins here ---


--- attached file ends here -----8gVqDDEGLrXiZ6PmZfh4GKOe1aR1hgwJ35UfKz184p9XILR3
Content-Type: text/plain; name="file.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.shar"

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/devel/py-chardet/
#	/usr/ports/devel/py-chardet/distinfo
#	/usr/ports/devel/py-chardet/Makefile
#	/usr/ports/devel/py-chardet/pkg-descr
#	/usr/ports/devel/py-chardet/pkg-plist
#
echo c - /usr/ports/devel/py-chardet/
mkdir -p /usr/ports/devel/py-chardet/ > /dev/null 2>&1
echo x - /usr/ports/devel/py-chardet/distinfo
sed 's/^X//' >/usr/ports/devel/py-chardet/distinfo << 'END-of-/usr/ports/devel/py-chardet/distinfo'
XMD5 (chardet-1.0.tgz) = 29f69d097052a4eae3774382c234cf2b
XSHA256 (chardet-1.0.tgz) = 1bed2030fbc1c3739ad92e12a99b3f0087e0b5d650de03c1c7e4aa9af80ded4a
XSIZE (chardet-1.0.tgz) = 176913
END-of-/usr/ports/devel/py-chardet/distinfo
echo x - /usr/ports/devel/py-chardet/Makefile
sed 's/^X//' >/usr/ports/devel/py-chardet/Makefile << 'END-of-/usr/ports/devel/py-chardet/Makefile'
X# Ports collection makefile for:	chardet
X# Date created:				March 15 2006
X# Whom:					Dryice Liu
X#
X# $FreeBSD$
X#
X
XPORTNAME=	chardet
XPORTVERSION=	1.0
XCATEGORIES=	devel python
XMASTER_SITES=	http://chardet.feedparser.org/download/ \
X		http://dryice.name/computer/FreeBSD/distfiles/
XPKGNAMESUFFIX=	${PYTHON_PKGNAMESUFFIX}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	dryice@dryice.name
XCOMMENT=	Character encoding auto-detection in Python
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=	docs COPYING
X.endif
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for i in ${PORTDOCS}
X	${CP} -R ${WRKSRC}/${i} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-/usr/ports/devel/py-chardet/Makefile
echo x - /usr/ports/devel/py-chardet/pkg-descr
sed 's/^X//' >/usr/ports/devel/py-chardet/pkg-descr << 'END-of-/usr/ports/devel/py-chardet/pkg-descr'
XUniversal Encoding Detector will do Character encoding auto-detection
Xin Python. It is as smart as your browser and now can over two dozen
Xcharacter encodings.
X
XWWW: http://chardet.feedparser.org/
END-of-/usr/ports/devel/py-chardet/pkg-descr
echo x - /usr/ports/devel/py-chardet/pkg-plist
sed 's/^X//' >/usr/ports/devel/py-chardet/pkg-plist << 'END-of-/usr/ports/devel/py-chardet/pkg-plist'
X%%PYTHON_SITELIBDIR%%/chardet/__init__.py
X%%PYTHON_SITELIBDIR%%/chardet/__init__.pyc
X%%PYTHON_SITELIBDIR%%/chardet/__init__.pyo
X%%PYTHON_SITELIBDIR%%/chardet/big5freq.py
X%%PYTHON_SITELIBDIR%%/chardet/big5freq.pyc
X%%PYTHON_SITELIBDIR%%/chardet/big5freq.pyo
X%%PYTHON_SITELIBDIR%%/chardet/big5prober.py
X%%PYTHON_SITELIBDIR%%/chardet/big5prober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/big5prober.pyo
X%%PYTHON_SITELIBDIR%%/chardet/chardistribution.py
X%%PYTHON_SITELIBDIR%%/chardet/chardistribution.pyc
X%%PYTHON_SITELIBDIR%%/chardet/chardistribution.pyo
X%%PYTHON_SITELIBDIR%%/chardet/charsetgroupprober.py
X%%PYTHON_SITELIBDIR%%/chardet/charsetgroupprober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/charsetgroupprober.pyo
X%%PYTHON_SITELIBDIR%%/chardet/charsetprober.py
X%%PYTHON_SITELIBDIR%%/chardet/charsetprober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/charsetprober.pyo
X%%PYTHON_SITELIBDIR%%/chardet/codingstatemachine.py
X%%PYTHON_SITELIBDIR%%/chardet/codingstatemachine.pyc
X%%PYTHON_SITELIBDIR%%/chardet/codingstatemachine.pyo
X%%PYTHON_SITELIBDIR%%/chardet/constants.py
X%%PYTHON_SITELIBDIR%%/chardet/constants.pyc
X%%PYTHON_SITELIBDIR%%/chardet/constants.pyo
X%%PYTHON_SITELIBDIR%%/chardet/escprober.py
X%%PYTHON_SITELIBDIR%%/chardet/escprober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/escprober.pyo
X%%PYTHON_SITELIBDIR%%/chardet/escsm.py
X%%PYTHON_SITELIBDIR%%/chardet/escsm.pyc
X%%PYTHON_SITELIBDIR%%/chardet/escsm.pyo
X%%PYTHON_SITELIBDIR%%/chardet/eucjpprober.py
X%%PYTHON_SITELIBDIR%%/chardet/eucjpprober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/eucjpprober.pyo
X%%PYTHON_SITELIBDIR%%/chardet/euckrfreq.py
X%%PYTHON_SITELIBDIR%%/chardet/euckrfreq.pyc
X%%PYTHON_SITELIBDIR%%/chardet/euckrfreq.pyo
X%%PYTHON_SITELIBDIR%%/chardet/euckrprober.py
X%%PYTHON_SITELIBDIR%%/chardet/euckrprober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/euckrprober.pyo
X%%PYTHON_SITELIBDIR%%/chardet/euctwfreq.py
X%%PYTHON_SITELIBDIR%%/chardet/euctwfreq.pyc
X%%PYTHON_SITELIBDIR%%/chardet/euctwfreq.pyo
X%%PYTHON_SITELIBDIR%%/chardet/euctwprober.py
X%%PYTHON_SITELIBDIR%%/chardet/euctwprober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/euctwprober.pyo
X%%PYTHON_SITELIBDIR%%/chardet/gb2312freq.py
X%%PYTHON_SITELIBDIR%%/chardet/gb2312freq.pyc
X%%PYTHON_SITELIBDIR%%/chardet/gb2312freq.pyo
X%%PYTHON_SITELIBDIR%%/chardet/gb2312prober.py
X%%PYTHON_SITELIBDIR%%/chardet/gb2312prober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/gb2312prober.pyo
X%%PYTHON_SITELIBDIR%%/chardet/hebrewprober.py
X%%PYTHON_SITELIBDIR%%/chardet/hebrewprober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/hebrewprober.pyo
X%%PYTHON_SITELIBDIR%%/chardet/jisfreq.py
X%%PYTHON_SITELIBDIR%%/chardet/jisfreq.pyc
X%%PYTHON_SITELIBDIR%%/chardet/jisfreq.pyo
X%%PYTHON_SITELIBDIR%%/chardet/jpcntx.py
X%%PYTHON_SITELIBDIR%%/chardet/jpcntx.pyc
X%%PYTHON_SITELIBDIR%%/chardet/jpcntx.pyo
X%%PYTHON_SITELIBDIR%%/chardet/langbulgarianmodel.py
X%%PYTHON_SITELIBDIR%%/chardet/langbulgarianmodel.pyc
X%%PYTHON_SITELIBDIR%%/chardet/langbulgarianmodel.pyo
X%%PYTHON_SITELIBDIR%%/chardet/langcyrillicmodel.py
X%%PYTHON_SITELIBDIR%%/chardet/langcyrillicmodel.pyc
X%%PYTHON_SITELIBDIR%%/chardet/langcyrillicmodel.pyo
X%%PYTHON_SITELIBDIR%%/chardet/langgreekmodel.py
X%%PYTHON_SITELIBDIR%%/chardet/langgreekmodel.pyc
X%%PYTHON_SITELIBDIR%%/chardet/langgreekmodel.pyo
X%%PYTHON_SITELIBDIR%%/chardet/langhebrewmodel.py
X%%PYTHON_SITELIBDIR%%/chardet/langhebrewmodel.pyc
X%%PYTHON_SITELIBDIR%%/chardet/langhebrewmodel.pyo
X%%PYTHON_SITELIBDIR%%/chardet/langhungarianmodel.py
X%%PYTHON_SITELIBDIR%%/chardet/langhungarianmodel.pyc
X%%PYTHON_SITELIBDIR%%/chardet/langhungarianmodel.pyo
X%%PYTHON_SITELIBDIR%%/chardet/langthaimodel.py
X%%PYTHON_SITELIBDIR%%/chardet/langthaimodel.pyc
X%%PYTHON_SITELIBDIR%%/chardet/langthaimodel.pyo
X%%PYTHON_SITELIBDIR%%/chardet/latin1prober.py
X%%PYTHON_SITELIBDIR%%/chardet/latin1prober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/latin1prober.pyo
X%%PYTHON_SITELIBDIR%%/chardet/mbcharsetprober.py
X%%PYTHON_SITELIBDIR%%/chardet/mbcharsetprober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/mbcharsetprober.pyo
X%%PYTHON_SITELIBDIR%%/chardet/mbcsgroupprober.py
X%%PYTHON_SITELIBDIR%%/chardet/mbcsgroupprober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/mbcsgroupprober.pyo
X%%PYTHON_SITELIBDIR%%/chardet/mbcssm.py
X%%PYTHON_SITELIBDIR%%/chardet/mbcssm.pyc
X%%PYTHON_SITELIBDIR%%/chardet/mbcssm.pyo
X%%PYTHON_SITELIBDIR%%/chardet/sbcharsetprober.py
X%%PYTHON_SITELIBDIR%%/chardet/sbcharsetprober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/sbcharsetprober.pyo
X%%PYTHON_SITELIBDIR%%/chardet/sbcsgroupprober.py
X%%PYTHON_SITELIBDIR%%/chardet/sbcsgroupprober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/sbcsgroupprober.pyo
X%%PYTHON_SITELIBDIR%%/chardet/sjisprober.py
X%%PYTHON_SITELIBDIR%%/chardet/sjisprober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/sjisprober.pyo
X%%PYTHON_SITELIBDIR%%/chardet/universaldetector.py
X%%PYTHON_SITELIBDIR%%/chardet/universaldetector.pyc
X%%PYTHON_SITELIBDIR%%/chardet/universaldetector.pyo
X%%PYTHON_SITELIBDIR%%/chardet/utf8prober.py
X%%PYTHON_SITELIBDIR%%/chardet/utf8prober.pyc
X%%PYTHON_SITELIBDIR%%/chardet/utf8prober.pyo
X@dirrm %%PYTHON_SITELIBDIR%%/chardet
END-of-/usr/ports/devel/py-chardet/pkg-plist
exit
Comment 1 Tilman Keskinoz freebsd_committer 2006-03-15 11:43:50 UTC
State Changed
From-To: open->closed

this one is already in ports -> textproc/py-chardet 

(I wanted to send you a patch for feedparser to use chardet, but 
obviously i forgot..)