Package: python-urlgrabber
Version: 3.9.1-1
Severity: important
Tags: patch
User: debian-pyt...@lists.debian.org
Usertags: python2.6

python-urlgrabber has the following depends, yet it shouldn't actually
need to depend on python2.5, as it's 2.6 compatible.
| Depends: python-support (>= 0.90.0), python2.5

The cause of that is:
| $ head -n1 /usr/bin/urlgrabber
| #!/usr/bin/python2.5 -t

The cause of *that* is:
| for py in $(PYVERS); do \
|       $$py setup.py install --prefix=/usr 
--root=$(CURDIR)/debian/python-urlgrabber; \
| done

If you only install with the default version, you won't have this
problem.
You could also rewrite the shebang with sed.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127
--- urlgrabber-3.9.1/debian/rules	2010-06-23 00:37:33.000000000 +0200
+++ urlgrabber-3.9.1/debian/rules	2010-06-24 15:45:36.000000000 +0200
@@ -46,9 +46,7 @@
 	dh_prep
 	dh_installdirs
 	# Add here commands to install the package into debian/urlgrabber.
-	for py in $(PYVERS); do \
-		$$py setup.py install --prefix=/usr --root=$(CURDIR)/debian/python-urlgrabber; \
-	done
+	python setup.py install --prefix=/usr --root=$(CURDIR)/debian/python-urlgrabber
 	# remove unneeded documents installed by setup.py
 	-rm -rf $(CURDIR)/debian/python-urlgrabber/usr/share/doc/urlgrabber-3*
 

Attachment: signature.asc
Description: Digital signature

Reply via email to