[Python-modules-commits] r28881 - in packages/chardet/trunk/debian (4 files)

barry at users.alioth.debian.org barry at users.alioth.debian.org
Tue May 13 00:50:12 UTC 2014


    Date: Tuesday, May 13, 2014 @ 00:50:11
  Author: barry
Revision: 28881

* 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.

Added:
  packages/chardet/trunk/debian/python-chardet-wheels.install
Modified:
  packages/chardet/trunk/debian/changelog
  packages/chardet/trunk/debian/control
  packages/chardet/trunk/debian/rules

Modified: packages/chardet/trunk/debian/changelog
===================================================================
--- packages/chardet/trunk/debian/changelog	2014-05-12 23:48:39 UTC (rev 28880)
+++ packages/chardet/trunk/debian/changelog	2014-05-13 00:50:11 UTC (rev 28881)
@@ -1,3 +1,14 @@
+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 ]

Modified: packages/chardet/trunk/debian/control
===================================================================
--- packages/chardet/trunk/debian/control	2014-05-12 23:48:39 UTC (rev 28880)
+++ packages/chardet/trunk/debian/control	2014-05-13 00:50:11 UTC (rev 28881)
@@ -12,7 +12,8 @@
  python-all (>= 2.6.6-3),
  python-setuptools (>= 0.6b3),
  python3-all,
- python3-setuptools
+ python3-setuptools,
+ python3-wheel
 X-Python-Version: >= 2.6
 Standards-Version: 3.9.5
 Homepage: https://github.com/chardet/chardet
@@ -21,7 +22,7 @@
 
 Package: python-chardet
 Architecture: all
-Depends: 
+Depends:
  ${python:Depends},
  ${misc:Depends},
  python-pkg-resources
@@ -47,7 +48,7 @@
 
 Package: python3-chardet
 Architecture: all
-Depends: 
+Depends:
  ${python3:Depends},
  ${misc:Depends},
  python3-pkg-resources
@@ -73,6 +74,34 @@
  .
  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

Added: packages/chardet/trunk/debian/python-chardet-wheels.install
===================================================================
--- packages/chardet/trunk/debian/python-chardet-wheels.install	                        (rev 0)
+++ packages/chardet/trunk/debian/python-chardet-wheels.install	2014-05-13 00:50:11 UTC (rev 28881)
@@ -0,0 +1 @@
+usr/share/python-wheels

Modified: packages/chardet/trunk/debian/rules
===================================================================
--- packages/chardet/trunk/debian/rules	2014-05-12 23:48:39 UTC (rev 28880)
+++ packages/chardet/trunk/debian/rules	2014-05-13 00:50:11 UTC (rev 28881)
@@ -8,13 +8,13 @@
 
 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