debian/0000775000000000000000000000000012502127557007176 5ustar debian/python-chardet-doc.docs0000664000000000000000000000000712300441116013523 0ustar docs/* debian/python-chardet-doc.doc-base0000664000000000000000000000032212300441116014250 0ustar Document: chardet-documentation Title: Chardet documentation Author: Mark Pilgrim Section: Text Format: HTML Index: /usr/share/doc/python-chardet-doc/index.html Files: /usr/share/doc/python-chardet-doc/*.html debian/python3-chardet.links0000664000000000000000000000015212300252334013236 0ustar usr/bin/chardetect3 usr/bin/chardet3 usr/share/man/man1/chardet3.1.gz usr/share/man/man1/chardetect3.1.gz debian/clean0000664000000000000000000000002212300252334010161 0ustar debian/chardet3.1 debian/control0000664000000000000000000000474012502126313010573 0ustar Source: chardet-whl Section: python Priority: optional Maintainer: Piotr Ożarowski Uploaders: Mark Pilgrim , Debian Python Modules Team , Daniele Tricoli Build-Depends: debhelper (>= 9), dh-python, python3-all, python3-setuptools, python3-wheel X-Python-Version: >= 2.6 Standards-Version: 3.9.5 Homepage: https://github.com/chardet/chardet Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/chardet/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/chardet/trunk/ Package: python3-chardet Architecture: all Depends: ${python3:Depends}, ${misc:Depends}, python3-pkg-resources Description: universal character encoding detector for Python3 Chardet takes a sequence of bytes in an unknown character encoding, and attempts to determine the encoding. . Supported encodings: * ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants) * Big5, GB2312, EUC-TW, HZ-GB-2312, ISO-2022-CN (Traditional and Simplified Chinese) * EUC-JP, SHIFT_JIS, ISO-2022-JP (Japanese) * EUC-KR, ISO-2022-KR (Korean) * KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, windows-1251 (Cyrillic) * ISO-8859-2, windows-1250 (Hungarian) * ISO-8859-5, windows-1251 (Bulgarian) * windows-1252 (English) * ISO-8859-7, windows-1253 (Greek) * ISO-8859-8, windows-1255 (Visual and Logical Hebrew) * TIS-620 (Thai) . This library is a port of the auto-detection code in Mozilla. . This package contains the Python 3 version of the library. Package: python-chardet-whl Architecture: all Depends: ${python3:Depends}, ${misc:Depends}, python3-pkg-resources Description: universal character encoding detector Chardet takes a sequence of bytes in an unknown character encoding, and attempts to determine the encoding. . Supported encodings: * ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants) * Big5, GB2312, EUC-TW, HZ-GB-2312, ISO-2022-CN (Traditional and Simplified Chinese) * EUC-JP, SHIFT_JIS, ISO-2022-JP (Japanese) * EUC-KR, ISO-2022-KR (Korean) * KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, windows-1251 (Cyrillic) * ISO-8859-2, windows-1250 (Hungarian) * ISO-8859-5, windows-1251 (Bulgarian) * windows-1252 (English) * ISO-8859-7, windows-1253 (Greek) * ISO-8859-8, windows-1255 (Visual and Logical Hebrew) * TIS-620 (Thai) . This library is a port of the auto-detection code in Mozilla. . This package contains the universal wheel. debian/source/0000775000000000000000000000000012336715645010504 5ustar debian/source/format0000664000000000000000000000001411611636256011705 0ustar 3.0 (quilt) debian/python-chardet.manpages0000664000000000000000000000002112300252334013621 0ustar debian/chardet.1 debian/python-chardet.links0000664000000000000000000000014612300252334013156 0ustar usr/bin/chardetect usr/bin/chardet usr/share/man/man1/chardet.1.gz usr/share/man/man1/chardetect.1.gz debian/python3-chardet.manpages0000664000000000000000000000002212300252334013705 0ustar debian/chardet3.1 debian/rules0000775000000000000000000000104012502126635010245 0ustar #!/usr/bin/make -f export PYBUILD_NAME=chardet export PYTHONWARNINGS=d %: dh $@ --with python3 --buildsystem=pybuild override_dh_python3: dh_python3 --shebang=/usr/bin/python3 override_dh_auto_build: dh_auto_build cp debian/chardet.1 debian/chardet3.1 sed -i 's/chardet/chardet3/g' debian/chardet3.1 override_dh_auto_install: dh_auto_install mv debian/python3-chardet/usr/bin/chardetect \ debian/python3-chardet/usr/bin/chardetect3 python3 setup.py bdist_wheel \ --universal \ -d $(CURDIR)/debian/tmp/usr/share/python-wheels debian/copyright0000664000000000000000000000463512300254052011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: chardet Upstream-Contact: Ian Cordasco Source: https://pypi.python.org/pypi/chardet Files: * Copyright: 1998, 2001, 2005 Netscape Communications Corporation 2003, Mozilla Foundation 2006, 2007, 2008 Mark Pilgrim 2012-2013, Ian Cordasco License: LGPL-2.1+ Files: chardet/chardetect.py Copyright: 2012, Erik Rose License: LGPL-2.1+ Files: docs Copyright: 2006-2008, Mark Pilgrim License: All rights reserved. . Redistribution and use in source (XML DocBook) and "compiled" forms (SGML, HTML, PDF, PostScript, RTF and so forth) with or without modification, are permitted provided that the following conditions are met: Redistributions of source code (XML DocBook) must retain the above copyright notice, this list of conditions and the following disclaimer unmodified. Redistributions in compiled form (transformed to other DTDs, converted to PDF, PostScript, RTF and other formats) must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2006-2011, Piotr Ożarowski 2014, Daniele Tricoli License: LGPL-2.1+ License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . See /usr/share/common-licenses/LGPL-2.1 for the full license text. debian/compat0000664000000000000000000000000212277713126010376 0ustar 9 debian/python-chardet-whl.install0000664000000000000000000000003012336715475014307 0ustar usr/share/python-wheels debian/changelog0000664000000000000000000000750712502126105011045 0ustar chardet-whl (2.2.1-2~ubuntu1) trusty-proposed; urgency=medium * SRU, update python3.4 for trusty. LP: #1433324. * Package version 2.2.1 as separate source, 2.0.1 is trusty is not ready for Python3. * Just build the python3-chardet and python-chardet-whl packages. -- Matthias Klose Sat, 26 Jul 2014 22:31:25 +0200 chardet (2.2.1-2) unstable; urgency=medium * Team upload. * d/control: - Add python3-wheel to Build-Depends. - Add python-chardet-whl binary package. - Clean up whitespace. * d/rules: - Build the universal wheels. - Override dh_python3 to set the shebang line to /usr/bin/python3 (Closes: #741340) * d/python-chardet-whl.install: Added. -- Barry Warsaw Thu, 15 May 2014 16:14:49 -0400 chardet (2.2.1-1) unstable; urgency=medium [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Daniele Tricoli ] * New upstream release * Switched to pybuild * Builded Python3 package * Removed embedded chardet CLI script since upstream is providing it * Moved documentation into python-chardet-doc and registered it using doc-base * debian/clean - Clean debian/chardet3.1 manpage * debian/compat - Bumped debhelper compatibility level to 9 * debian/control - Added myself to Uploaders with Piotr Ożarowski's permission - Added python3-all and python(3)-setuptools to B-D - Switched to python-all in B-D - Added stanza for python3-chardet - Bumped debhelper B-D to (>= 9) - Updated Homepage - Added X-Python-Version: >= 2.6 - Bumped Standards-Version to 3.9.5 (no changes needed) - Added python(3)-pkg-resources to Depends * debian/copyright - Made DEP5 compliant * debian/python(3)-chardet.links - Added chardet(3) symlinks to preserve old CLI script name - Added symlinks for manpages * debian/python(3)-chardet.manpages - Installed manpages * debian/rules - Added export PYTHONWARNINGS=d - Renamed chardetect CLI script to chardetect3 for python3-chardet - Copied debian/chardet.1 into debian/chardet3.1 and changed occurences of chardet to chardet3 * debian/watch - Updated to new source code URI [ Piotr Ożarowski ] * drop preinst file, python-central is no longer available in Debian -- Piotr Ożarowski Mon, 17 Feb 2014 22:17:37 +0100 chardet (2.0.1-2) unstable; urgency=low [ Barry Warsaw ] * Switch to dh_python2, closes: 634313, LP: #788514 [ Piotr Ożarowski ] * Bump Standards-Version to 3.9.2 (no changes needed) * Source format changed to 3.0 (quilt) -- Piotr Ożarowski Wed, 20 Jul 2011 22:28:12 +0200 chardet (2.0.1-1) unstable; urgency=low [ Sandro Tosi ] * Switch Vcs-Browser field to viewsvn [ Piotr Ożarowski ] * New upstream release (no changes in the code) * Add /usr/bin/chardet (thanks to Ben Finney, closes: #479178) * Convert package to dh sequencer and python-support * debian/watch file updated (now points to the Python 2.X version) * Bump Standards-Version to 3.8.3 (no changes needed) -- Piotr Ożarowski Wed, 11 Nov 2009 14:14:10 +0100 chardet (1.0.1-1.1) unstable; urgency=low * NMU. Rebuild to move files to /usr/share/pyshared. Closes: #490452. -- Matthias Klose Fri, 18 Jul 2008 15:58:15 +0000 chardet (1.0.1-1) unstable; urgency=low * New upstream release * New co-maintainer: Mark Pilgrim * Changed my address to piotr@debian.org * Added Vcs-Svn, Vcs-Browser and Homepage fields * Debian packaging is now licenced under LGPL as well * Bump Standards-Version to 3.7.3 (no changes needed) -- Piotr Ożarowski Wed, 05 Mar 2008 20:26:06 +0100 chardet (1.0-1) unstable; urgency=low * Initial release (closes: #375809) -- Piotr Ozarowski Sat, 8 Jul 2006 16:12:00 +0200 debian/chardet.10000664000000000000000000000133512300441116010656 0ustar .TH CHARDET "1" "December 2013" "chardet 2.2.1" "User Commands" .SH NAME chardet \- universal character encoding detector .SH SYNOPSIS .B chardet [\fIfile \fR...] .SH DESCRIPTION Report heuristically\-detected character encoding for each file. .PP For every specified file (defaulting to stdin if no files are specified), reads and determines the character encoding of the file content. Reports the name and confidence level for each file's detected character encoding. .SH "SEE ALSO" /usr/share/doc/python-chardet-doc/index.html .SH AUTHOR chardet module was written by Mark Pilgrim .PP This manual page was written by Piotr Ożarowski , for the Debian project (but may be used by others). debian/watch0000664000000000000000000000012712277647703010240 0ustar version=3 https://pypi.python.org/packages/source/c/chardet/chardet-([\d.]+)\.tar\.gz