tags 395104 + patch
thanks
Hi,
Attached is the diff for my python-central 0.5.11 NMU.
--
Raphaël Hertzog
Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/
diff -Nru /tmp/xky798U0Bu/python-central-0.5.10/debian/changelog
/tmp/2nNeZo9Pe9/python-central-0.5.11/debian/changelog
--- /tmp/xky798U0Bu/python-central-0.5.10/debian/changelog 2006-11-11
02:35:38.000000000 +0100
+++ /tmp/2nNeZo9Pe9/python-central-0.5.11/debian/changelog 2006-11-22
12:35:39.000000000 +0100
@@ -1,3 +1,10 @@
+python-central (0.5.11) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Only remove empty dirs in /usr/lib/pythonX.Y. Closes: #395104
+
+ -- Raphael Hertzog <[EMAIL PROTECTED]> Wed, 22 Nov 2006 12:33:55 +0100
+
python-central (0.5.10) unstable; urgency=low
* Depend on python (>= 2.3.5-7), providing /usr/share/python_defaults.
diff -Nru /tmp/xky798U0Bu/python-central-0.5.10/dh_pycentral.1
/tmp/2nNeZo9Pe9/python-central-0.5.11/dh_pycentral.1
--- /tmp/xky798U0Bu/python-central-0.5.10/dh_pycentral.1 2006-10-29
11:04:43.000000000 +0100
+++ /tmp/2nNeZo9Pe9/python-central-0.5.11/dh_pycentral.1 2006-11-22
17:59:37.000000000 +0100
@@ -129,7 +129,7 @@
.\" ========================================================================
.\"
.IX Title "DH_PYCENTRAL 1"
-.TH DH_PYCENTRAL 1 "2006-10-18" "" "Debhelper"
+.TH DH_PYCENTRAL 1 "2006-10-29" "" "Debhelper"
.SH "NAME"
dh_pycentral \- use the python\-central framework to handle Python modules and
extensions
.SH "SYNOPSIS"
diff -Nru /tmp/xky798U0Bu/python-central-0.5.10/pycentral.py
/tmp/2nNeZo9Pe9/python-central-0.5.11/pycentral.py
--- /tmp/xky798U0Bu/python-central-0.5.10/pycentral.py 2006-10-29
11:11:41.000000000 +0100
+++ /tmp/2nNeZo9Pe9/python-central-0.5.11/pycentral.py 2006-11-22
17:59:26.000000000 +0100
@@ -437,10 +437,11 @@
continue
# TODO: if dst already exists, make sure, src == dst
os.rename(src, dst)
- # remove empty dirs in /usr/lib
+ # remove empty dirs in /usr/lib/pythonX.Y
for root, dirs, files in os.walk(self.pkgdir + '/usr/lib',
topdown=False):
try:
- os.rmdir(root)
+ if re.match("/usr/lib/python\d\.\d($|/)",
root.replace(self.pkgdir, "")):
+ os.rmdir(root)
except OSError:
pass
# remove empty dirs in /usr/share/pycentral