Package: pylibmc
Version: 1.5.0-1
Severity: serious
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu wily ubuntu-patch

While preparing the transition for python3.5 in Ubuntu, we found that the
pylibmc package was failing to build.  The reason for this is a debian/rules
override of both dh_python2 and dh_python3 that tries to rmdir some
directories from the build tree.  However, with current dh_python2 and
dh_python3 these directories are never created, so the rmdir is failing.

The attach patch fixes the build failure, which I've confirmed to be
reproducible on Debian unstable - hence filing as severity: serious.

  * Drop debian/rules overrides to remove directories that aren't there.

Thanks for considering the patch.
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru pylibmc-1.5.0/debian/rules pylibmc-1.5.0/debian/rules
--- pylibmc-1.5.0/debian/rules	2015-06-25 11:12:26.000000000 -0700
+++ pylibmc-1.5.0/debian/rules	2015-07-22 15:52:57.000000000 -0700
@@ -12,14 +12,6 @@
 override_dh_strip:
 	dh_strip --dbg-package=python-pylibmc-dbg --dbg-package=python3-pylibmc-dbg
 
-override_dh_python2:
-	dh_python2
-	rmdir debian/python-pylibmc-dbg/usr/lib/python*/*-packages/pylibmc
-
-override_dh_python3:
-	dh_python3
-	rmdir debian/python3-pylibmc-dbg/usr/lib/python*/*-packages/pylibmc
-
 override_dh_clean:
 	rm -rf docs/.build
 	dh_clean
_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to