[Python-apps-commits] r11014 - in modules/defusedxml/trunk/debian (changelog control rules)

nikratio-guest at users.alioth.debian.org nikratio-guest at users.alioth.debian.org
Mon Jun 30 00:48:45 UTC 2014


    Date: Monday, June 30, 2014 @ 00:48:44
  Author: nikratio-guest
Revision: 11014

Added Python 3 support.

Modified:
  modules/defusedxml/trunk/debian/changelog
  modules/defusedxml/trunk/debian/control
  modules/defusedxml/trunk/debian/rules

Modified: modules/defusedxml/trunk/debian/changelog
===================================================================
--- modules/defusedxml/trunk/debian/changelog	2014-06-30 00:46:38 UTC (rev 11013)
+++ modules/defusedxml/trunk/debian/changelog	2014-06-30 00:48:44 UTC (rev 11014)
@@ -1,3 +1,9 @@
+defusedxml (0.4.1-2) UNRELEASED; urgency=medium
+
+  * Added Python 3 support.
+
+ -- Nikolaus Rath <Nikolaus at rath.org>  Sun, 29 Jun 2014 16:38:39 -0700
+
 defusedxml (0.4.1-1) unstable; urgency=low
 
   * Initial release. (Closes: #705691)

Modified: modules/defusedxml/trunk/debian/control
===================================================================
--- modules/defusedxml/trunk/debian/control	2014-06-30 00:46:38 UTC (rev 11013)
+++ modules/defusedxml/trunk/debian/control	2014-06-30 00:48:44 UTC (rev 11014)
@@ -3,17 +3,23 @@
 Uploaders: Luke Faraone <lfaraone at debian.org>
 Section: python
 Priority: optional
-Build-Depends: python-all (>= 2.6.6-3), debhelper (>= 7)
+Build-Depends: python-all (>= 2.6.6-3),
+               python3-all,
+               debhelper (>= 8),
+               dh-python,
+               python-setuptools,
+               python3-setuptools
 Standards-Version: 3.9.4
 Homepage: https://pypi.python.org/pypi/defusedxml
 Vcs-Svn: svn://anonscm.debian.org/svn/python-modules/packages/defusedxml/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/defusedxml/trunk/
 X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
 
 Package: python-defusedxml
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}
-Description: XML bomb protection for Python stdlib modules
+Description: XML bomb protection for Python stdlib modules (for Python 2)
  The results of an attack on a vulnerable XML library can be fairly dramatic.
  With just a few hundred bytes of XML data an attacker can occupy several
  gigabytes of memory within seconds. An attacker can also keep
@@ -21,3 +27,15 @@
  .
  This library allows for XML to be parsed in a manner that avoids these
  pitfalls.
+
+Package: python3-defusedxml
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: XML bomb protection for Python stdlib modules (for Python 3)
+ The results of an attack on a vulnerable XML library can be fairly dramatic.
+ With just a few hundred bytes of XML data an attacker can occupy several
+ gigabytes of memory within seconds. An attacker can also keep
+ CPUs busy for a long time with a small to medium size request.
+ .
+ This library allows for XML to be parsed in a manner that avoids these
+ pitfalls.

Modified: modules/defusedxml/trunk/debian/rules
===================================================================
--- modules/defusedxml/trunk/debian/rules	2014-06-30 00:46:38 UTC (rev 11013)
+++ modules/defusedxml/trunk/debian/rules	2014-06-30 00:48:44 UTC (rev 11014)
@@ -1,9 +1,6 @@
 #!/usr/bin/make -f
 
-# This file was automatically generated by stdeb 0.6.0+git at
-# Thu, 18 Apr 2013 11:15:09 -0400
+export PYBUILD_NAME=defusedxml
 
 %:
-	dh $@ --with python2 --buildsystem=python_distutils
-
-
+	dh $@ --with python2,python3 --buildsystem=pybuild




More information about the Python-apps-commits mailing list