tags 555345 + patch
thanks

* Jakub Wilk <uba...@users.sf.net>, 2009-11-09, 13:02:
Your binary package embeds a copy of the Python elementtree module.
This is violation of Debian Policy 4.13:

[...]

Please modify your package to use the system-wide module provided by
the python-elementtree package or (preferably) by the standard Python
(>= 2.5) library.

The attached patch fixes this problem.

--
Jakub Wilk
diff -u solfege-3.14.5/debian/rules solfege-3.14.5/debian/rules
--- solfege-3.14.5/debian/rules
+++ solfege-3.14.5/debian/rules
@@ -36,6 +36,8 @@
 	rm debian/solfege/usr/share/solfege/soundcard/oss*.py
 	# obviously...
 	rm debian/solfege/usr/share/solfege/soundcard/winsynth.py
+	# drop embedded copy of ElementTree
+	rm debian/solfege/usr/share/solfege/src/ElementTree.py
 	dh install --after dh_install
 	touch install-stamp
 
diff -u solfege-3.14.5/debian/pyversions solfege-3.14.5/debian/pyversions
--- solfege-3.14.5/debian/pyversions
+++ solfege-3.14.5/debian/pyversions
@@ -1 +1 @@
-2.3-
+2.5-
only in patch2:
unchanged:
--- solfege-3.14.5.orig/src/practisesheetdlg.py
+++ solfege-3.14.5/src/practisesheetdlg.py
@@ -30,7 +30,7 @@
 import buildinfo
 import filesystem
 from multipleintervalconfigwidget import IntervalCheckBox
-import ElementTree as et
+from xml.etree import ElementTree as et
 
 
 class NameIt(object):

Attachment: signature.asc
Description: Digital signature

Reply via email to