On Saturday, July 28, 2012 10:21:59 PM you wrote:
> Package: bpython
> Version: 0.11-1
> Severity: serious
>
> If you rebuild bpython in an up-to-date sid chroot, /usr/bin/bpython
> ends up with "#! /usr/bin/python3" shebang.
Patch attached.
Scott K
diff -Nru bpython-0.11/debian/changelog bpython-0.11/debian/changelog
--- bpython-0.11/debian/changelog 2012-04-07 13:31:03.000000000 -0400
+++ bpython-0.11/debian/changelog 2012-07-30 09:27:35.000000000 -0400
@@ -1,3 +1,11 @@
+bpython (0.11-2) UNRELEASED; urgency=low
+
+ * Add override for dh_python3 so it actis only on bpythons
+ (Closes: #683107)
+ * Extend dh_python override so it does not act on bpython3
+
+ -- Scott Kitterman <sc...@kitterman.com> Mon, 30 Jul 2012 09:19:30 -0400
+
bpython (0.11-1) unstable; urgency=low
* New upstream version
diff -Nru bpython-0.11/debian/rules bpython-0.11/debian/rules
--- bpython-0.11/debian/rules 2012-04-07 13:31:03.000000000 -0400
+++ bpython-0.11/debian/rules 2012-07-30 09:37:25.000000000 -0400
@@ -33,8 +33,11 @@
mv $(CURDIR)/debian/bpython-urwid/usr/share/bpython/urwid.py \
$(CURDIR)/debian/bpython-urwid/usr/share/bpython/urwid_.py
+override_dh_python3:
+ dh_python3 -p bpython3
+
override_dh_python2:
- dh_python2
+ dh_python2 -N bpython3
find $(CURDIR)/debian/bpython/ -name "gtk_.py*" -delete
find $(CURDIR)/debian/bpython/ -name "urwid.py*" -delete