[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#535120: closed by Hector Oron <hector.oron@gmail.com> (Bug#535120: fixed in hk-classes 0.8.3-6)



Hi,

This package still FTBFS with python2.6 because the first part of the
patch python2.6-fix.patch doesn't patch the Makefiles in python, but
create a patch named python2.6.patch:
diff -urN hk-classes-0.8.3/debian/patches/python2.6.patch
hk-classes-0.8.3.bbb/debian/patches/python2.6.patch
--- hk-classes-0.8.3/debian/patches/python2.6.patch	1970-01-01
01:00:00.000000000 +0100
+++ hk-classes-0.8.3.bbb/debian/patches/python2.6.patch	2009-07-20
18:11:04.000000000 +0200
@@ -0,0 +1,30 @@
+diff -Nur -x '*.orig' -x '*~' hk-classes-0.8.3/python/Makefile.am
hk-classes-0.8.3.new/python/Makefile.am
+--- hk-classes-0.8.3/python/Makefile.am	2006-05-23 18:02:11.000000000 +0000
++++ hk-classes-0.8.3.new/python/Makefile.am	2009-06-26
04:07:47.000000000 +0000
+@@ -10,9 +10,9 @@
+
+ install-data-hook:
+ 	if test -z "$(DESTDIR)"; then \
+-	   python setup.py install ; \
++	   python setup.py install --install-layout=deb ; \
+ 	else \
+- 	   python setup.py install --root $(DESTDIR) ; \
++ 	   python setup.py install --install-layout=deb --root $(DESTDIR) ; \
+ 	fi
+ 	/bin/rm -f -R ./build/*
+
+diff -Nur -x '*.orig' -x '*~' hk-classes-0.8.3/python/Makefile.in
hk-classes-0.8.3.new/python/Makefile.in
+--- hk-classes-0.8.3/python/Makefile.in	2006-12-17 14:27:52.000000000 +0000
++++ hk-classes-0.8.3.new/python/Makefile.in	2009-06-26
04:07:00.000000000 +0000
+@@ -371,9 +371,9 @@
+
+ install-data-hook:
+ 	if test -z "$(DESTDIR)"; then \
+-	   python setup.py install ; \
++	   python setup.py install --install-layout=deb ; \
+ 	else \
+- 	   python setup.py install --root $(DESTDIR) ; \
++ 	   python setup.py install --install-layout=deb --root $(DESTDIR) ; \
+ 	fi
+ 	/bin/rm -f -R ./build/*
+

This should be changed to a apply it directly, like this:
diff -Nur -x '*.orig' -x '*~' hk-classes-0.8.3/python/Makefile.am
hk-classes-0.8.3.new/python/Makefile.am
--- hk-classes-0.8.3/python/Makefile.am	2006-05-23 18:02:11.000000000 +0000
+++ hk-classes-0.8.3.new/python/Makefile.am	2009-06-26
04:07:47.000000000 +0000
@@ -10,9 +10,9 @@

 install-data-hook:
 	if test -z "$(DESTDIR)"; then \
-	   python setup.py install ; \
+	   python setup.py install --install-layout=deb ; \
 	else \
- 	   python setup.py install --root $(DESTDIR) ; \
+ 	   python setup.py install --install-layout=deb --root (DESTDIR) ; \
 	fi
 	/bin/rm -f -R ./build/*

diff -Nur -x '*.orig' -x '*~' hk-classes-0.8.3/python/Makefile.in
hk-classes-0.8.3.new/python/Makefile.in
--- hk-classes-0.8.3/python/Makefile.in	2006-12-17 14:27:52.000000000 +0000
+++ hk-classes-0.8.3.new/python/Makefile.in	2009-06-26
04:07:00.000000000 +0000
@@ -371,9 +371,9 @@

 install-data-hook:
 	if test -z "$(DESTDIR)"; then \
-	   python setup.py install ; \
+	   python setup.py install --install-layout=deb ; \
 	else \
- 	   python setup.py install --root $(DESTDIR) ; \
+ 	   python setup.py install --install-layout=deb --root (DESTDIR) ; \
 	fi
 	/bin/rm -f -R ./build/*


Thanks,
Fabrice



Reply to: