Bug#547824: [hellanzb] patch does not build

2009-10-17 Thread Bastian Venthur
tags 547824 - patch
quit

Package: hellanzb

The patch provided causes a FTBFS.


Cheers,

Bastian
-- 
Bastian Venthur  http://venthur.de
Debian Developer venthur at debian org




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#547824: [hellanzb] patch does not build

2009-10-17 Thread Kumar Appaiah
tags 547824 + patch
thanks

On Sat, Oct 17, 2009 at 03:55:54PM +0200, Bastian Venthur wrote:
 tags 547824 - patch
 quit
 
 Package: hellanzb
 
 The patch provided causes a FTBFS.

Hi!

The least you could do is to provide a snippet from the build
log. Anyway, it was because I wrote $(PYDEF) as $(PYVER) by
mistake. An updated patch attached.

HTH.

Kumar
-- 
Kumar Appaiah
diff -Nru --exclude changelog hellanzb-0.13/debian/rules hellanzb-0.13/debian/rules
--- hellanzb-0.13/debian/rules	2009-10-17 09:20:55.0 -0500
+++ hellanzb-0.13/debian/rules	2009-10-17 09:20:55.0 -0500
@@ -12,6 +12,10 @@
 # Current python version
 PYDEF = $(shell pyversions -d)
 
+# Added for Python 2.6 site packages directory change
+include /usr/share/python/python.mk
+SITEDIR = $(call py_sitename, $(PYDEF))
+
 build: patch
 
 clean: unpatch
@@ -29,7 +33,7 @@
 	dh_clean -k
 
 install-python: install-prereq
-	python setup.py install --prefix=$(DESTDIR)/usr --no-compile
+	python setup.py install --prefix=$(DESTDIR)/usr --no-compile $(py_setup_install_args)
 
 install-finish: install-python
 	# Remove docs and conf installed by setup.py
@@ -37,7 +41,7 @@
 	# Remove .py
 	mv $(DESTDIR)/usr/bin/hellanzb.py $(DESTDIR)/usr/bin/hellanzb
 	# Remove interpreter in python modules
-	sed -i -e '0,/^.*$$/s///' $(DESTDIR)/usr/lib/$(PYDEF)/site-packages/Hellanzb/Growl.py
+	sed -i -e '0,/^.*$$/s///' $(DESTDIR)/usr/lib/$(PYDEF)/$(SITEDIR)/Hellanzb/Growl.py
 	# Install conf file
 	install -D -m 644 etc/hellanzb.conf.sample $(DESTDIR)/etc/hellanzb.conf
 


Bug#547824: [hellanzb] patch does not build

2009-10-17 Thread Bastian Venthur


Kumar Appaiah schrieb:
 tags 547824 + patch
 thanks
 
 On Sat, Oct 17, 2009 at 03:55:54PM +0200, Bastian Venthur wrote:
 tags 547824 - patch
 quit

 Package: hellanzb

 The patch provided causes a FTBFS.
 
 Hi!
 
 The least you could do is to provide a snippet from the build

You're right, sorry for that.

 log. Anyway, it was because I wrote $(PYDEF) as $(PYVER) by
 mistake. An updated patch attached.

Thanks, I'll app ply, test and upload it.

I have by the way today uploaded over a dozen of python packages, and
all of them where patched by you. Thank you very much for your work!


Cheers,

Bastian

-- 
Bastian Venthur  http://venthur.de
Debian Developer venthur at debian org




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#547824: [hellanzb] patch does not build

2009-10-17 Thread Kumar Appaiah
On Sat, Oct 17, 2009 at 04:35:07PM +0200, Bastian Venthur wrote:
  The least you could do is to provide a snippet from the build
 
 You're right, sorry for that.

No problems!

  log. Anyway, it was because I wrote $(PYDEF) as $(PYVER) by
  mistake. An updated patch attached.
 
 Thanks, I'll app ply, test and upload it.
 
 I have by the way today uploaded over a dozen of python packages, and
 all of them where patched by you. Thank you very much for your work!

I greatly appreciate your work. Patching wasn't difficult, the fact
that you are spending time testing them is something I must give you
kudos for.

Let's hope Python 2.6 enters unstable really soon!

Kumar
-- 
Kumar Appaiah


signature.asc
Description: Digital signature