[Python-modules-commits] r28988 - in packages/chardet/tags (9 files)
barry at users.alioth.debian.org
barry at users.alioth.debian.org
Tue May 20 18:14:44 UTC 2014
Date: Tuesday, May 20, 2014 @ 18:14:43
Author: barry
Revision: 28988
[svn-buildpackage] Tagging chardet 2.2.1-2
Added:
packages/chardet/tags/2.2.1-2/
packages/chardet/tags/2.2.1-2/debian/changelog
(from rev 28986, packages/chardet/trunk/debian/changelog)
packages/chardet/tags/2.2.1-2/debian/control
(from rev 28986, packages/chardet/trunk/debian/control)
packages/chardet/tags/2.2.1-2/debian/python-chardet-whl.install
(from rev 28986, packages/chardet/trunk/debian/python-chardet-whl.install)
packages/chardet/tags/2.2.1-2/debian/rules
(from rev 28914, packages/chardet/trunk/debian/rules)
Deleted:
packages/chardet/tags/2.2.1-2/debian/changelog
packages/chardet/tags/2.2.1-2/debian/control
packages/chardet/tags/2.2.1-2/debian/python-chardet-wheels.install
packages/chardet/tags/2.2.1-2/debian/rules
Deleted: packages/chardet/tags/2.2.1-2/debian/changelog
===================================================================
--- packages/chardet/trunk/debian/changelog 2014-05-15 19:56:03 UTC (rev 28913)
+++ packages/chardet/tags/2.2.1-2/debian/changelog 2014-05-20 18:14:43 UTC (rev 28988)
@@ -1,105 +0,0 @@
-chardet (2.2.1-2) UNRELEASED; urgency=medium
-
- * d/control:
- - Add python3-wheel to Build-Depends.
- - Add python-chardet-wheels binary package.
- - Clean up whitespace.
- * d/rules: Build the universal wheels.
- * d/python-chardet-wheels.install: Added.
-
- -- Barry Warsaw <barry at debian.org> Mon, 12 May 2014 20:45:57 -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 <piotr at debian.org> 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 <piotr at debian.org> 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 <piotr at debian.org> 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 <doko at debian.org> 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 at 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 <piotr at debian.org> Wed, 05 Mar 2008 20:26:06 +0100
-
-chardet (1.0-1) unstable; urgency=low
-
- * Initial release (closes: #375809)
-
- -- Piotr Ozarowski <ozarow at gmail.com> Sat, 8 Jul 2006 16:12:00 +0200
-
Copied: packages/chardet/tags/2.2.1-2/debian/changelog (from rev 28986, packages/chardet/trunk/debian/changelog)
===================================================================
--- packages/chardet/tags/2.2.1-2/debian/changelog (rev 0)
+++ packages/chardet/tags/2.2.1-2/debian/changelog 2014-05-20 18:14:43 UTC (rev 28988)
@@ -0,0 +1,109 @@
+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 <barry at debian.org> 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 <piotr at debian.org> 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 <piotr at debian.org> 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 <piotr at debian.org> 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 <doko at debian.org> 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 at 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 <piotr at debian.org> Wed, 05 Mar 2008 20:26:06 +0100
+
+chardet (1.0-1) unstable; urgency=low
+
+ * Initial release (closes: #375809)
+
+ -- Piotr Ozarowski <ozarow at gmail.com> Sat, 8 Jul 2006 16:12:00 +0200
+
Deleted: packages/chardet/tags/2.2.1-2/debian/control
===================================================================
--- packages/chardet/trunk/debian/control 2014-05-15 19:56:03 UTC (rev 28913)
+++ packages/chardet/tags/2.2.1-2/debian/control 2014-05-20 18:14:43 UTC (rev 28988)
@@ -1,129 +0,0 @@
-Source: chardet
-Section: python
-Priority: optional
-Maintainer: Piotr Ożarowski <piotr at debian.org>
-Uploaders:
- Mark Pilgrim <mark at diveintomark.org>,
- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>,
- Daniele Tricoli <eriol at mornie.org>
-Build-Depends:
- debhelper (>= 9),
- dh-python,
- python-all (>= 2.6.6-3),
- python-setuptools (>= 0.6b3),
- 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: python-chardet
-Architecture: all
-Depends:
- ${python:Depends},
- ${misc:Depends},
- python-pkg-resources
-Description: universal character encoding detector for Python2
- 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.
-
-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-wheels
-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 wheels.
-
-Package: python-chardet-doc
-Architecture: all
-Section: doc
-Depends: ${misc:Depends}
-Description: universal character encoding detector for Python (documentation)
- 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 HTML documentation for Chardet.
Copied: packages/chardet/tags/2.2.1-2/debian/control (from rev 28986, packages/chardet/trunk/debian/control)
===================================================================
--- packages/chardet/tags/2.2.1-2/debian/control (rev 0)
+++ packages/chardet/tags/2.2.1-2/debian/control 2014-05-20 18:14:43 UTC (rev 28988)
@@ -0,0 +1,129 @@
+Source: chardet
+Section: python
+Priority: optional
+Maintainer: Piotr Ożarowski <piotr at debian.org>
+Uploaders:
+ Mark Pilgrim <mark at diveintomark.org>,
+ Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>,
+ Daniele Tricoli <eriol at mornie.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all (>= 2.6.6-3),
+ python-setuptools (>= 0.6b3),
+ 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: python-chardet
+Architecture: all
+Depends:
+ ${python:Depends},
+ ${misc:Depends},
+ python-pkg-resources
+Description: universal character encoding detector for Python2
+ 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.
+
+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.
+
+Package: python-chardet-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: universal character encoding detector for Python (documentation)
+ 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 HTML documentation for Chardet.
Deleted: packages/chardet/tags/2.2.1-2/debian/python-chardet-wheels.install
===================================================================
--- packages/chardet/trunk/debian/python-chardet-wheels.install 2014-05-15 19:56:03 UTC (rev 28913)
+++ packages/chardet/tags/2.2.1-2/debian/python-chardet-wheels.install 2014-05-20 18:14:43 UTC (rev 28988)
@@ -1 +0,0 @@
-usr/share/python-wheels
Copied: packages/chardet/tags/2.2.1-2/debian/python-chardet-whl.install (from rev 28986, packages/chardet/trunk/debian/python-chardet-whl.install)
===================================================================
--- packages/chardet/tags/2.2.1-2/debian/python-chardet-whl.install (rev 0)
+++ packages/chardet/tags/2.2.1-2/debian/python-chardet-whl.install 2014-05-20 18:14:43 UTC (rev 28988)
@@ -0,0 +1 @@
+usr/share/python-wheels
Deleted: packages/chardet/tags/2.2.1-2/debian/rules
===================================================================
--- packages/chardet/trunk/debian/rules 2014-05-15 19:56:03 UTC (rev 28913)
+++ packages/chardet/tags/2.2.1-2/debian/rules 2014-05-20 18:14:43 UTC (rev 28988)
@@ -1,20 +0,0 @@
-#!/usr/bin/make -f
-
-export PYBUILD_NAME=chardet
-export PYTHONWARNINGS=d
-
-%:
- dh $@ --with python2,python3 --buildsystem=pybuild
-
-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
Copied: packages/chardet/tags/2.2.1-2/debian/rules (from rev 28914, packages/chardet/trunk/debian/rules)
===================================================================
--- packages/chardet/tags/2.2.1-2/debian/rules (rev 0)
+++ packages/chardet/tags/2.2.1-2/debian/rules 2014-05-20 18:14:43 UTC (rev 28988)
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=chardet
+export PYTHONWARNINGS=d
+
+%:
+ dh $@ --with python2,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
More information about the Python-modules-commits
mailing list