This patch updates the package for the new Python policy, required for
Etch.
Gerardo, if you agree I can NMU the package in a week.

Ciao
~marco

diff -Naur gnome-btdownload-0.0.22/debian/control gnome-btdownload-0.0.22.patched/debian/control
--- gnome-btdownload-0.0.22/debian/control	2006-09-04 12:14:47.000000000 +0200
+++ gnome-btdownload-0.0.22.patched/debian/control	2006-09-04 12:12:53.000000000 +0200
@@ -2,13 +2,13 @@
 Section: net
 Priority: optional
 Maintainer: Gerardo Curiel <[EMAIL PROTECTED]>
-Build-Depends-Indep: python (>= 2.3.0), intltool, gconf2
-Build-Depends: cdbs, debhelper (>= 5.0.32)
-Standards-Version: 3.7.0
+Build-Depends: cdbs, debhelper (>= 5.0.32), python-central, intltool, gconf2
+Standards-Version: 3.7.2
+XS-Python-Version: >= 2.4
 
 Package: gnome-btdownload
 Architecture: all
-Depends: bittorrent (>= 3.2), python2.3 (>= 2.3), python(<<2.4), python-gtk2, python-gnome2, python-glade2 (>= 2.0.0), ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}
+Depends: ${misc:Depends}, ${python:Depends}, bittorrent (>= 3.2), python-gtk2, python-gnome2, python-glade2 (>= 2.0.0)
 Description: Gnome interface for 'executing' BitTorrent files
  A simple Gnome interface designed as a mime-sink for BitTorrent files.
  gnome-btdownload allow a user to download files using bittorrent, 
diff -Naur gnome-btdownload-0.0.22/debian/patches/07_python23_depends.patch gnome-btdownload-0.0.22.patched/debian/patches/07_python23_depends.patch
--- gnome-btdownload-0.0.22/debian/patches/07_python23_depends.patch	2006-09-04 12:14:47.000000000 +0200
+++ gnome-btdownload-0.0.22.patched/debian/patches/07_python23_depends.patch	1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
---- src/gnome-btdownload.orig	2006-05-09 01:03:44.000000000 -0400
-+++ src/gnome-btdownload	2006-05-09 01:03:57.000000000 -0400
-@@ -1,4 +1,4 @@
--#!/usr/bin/python
-+#!/usr/bin/python2.3
- 
- # BitTorrent related modules.
- import BitTorrent.download, BitTorrent.bencode
diff -Naur gnome-btdownload-0.0.22/debian/pycompat gnome-btdownload-0.0.22.patched/debian/pycompat
--- gnome-btdownload-0.0.22/debian/pycompat	1970-01-01 01:00:00.000000000 +0100
+++ gnome-btdownload-0.0.22.patched/debian/pycompat	2006-09-04 12:13:14.000000000 +0200
@@ -0,0 +1 @@
+2
diff -Naur gnome-btdownload-0.0.22/debian/rules gnome-btdownload-0.0.22.patched/debian/rules
--- gnome-btdownload-0.0.22/debian/rules	2006-09-04 12:14:47.000000000 +0200
+++ gnome-btdownload-0.0.22.patched/debian/rules	2006-09-04 12:13:51.000000000 +0200
@@ -9,3 +9,7 @@
 
 install/gnome-btdownload::
 	install -m644 debian/gnome-btdownload.mime  debian/gnome-btdownload/usr/lib/mime/packages/gnome-btdownload
+
+binary-install/gnome-btdownload::
+        dh_pycentral
+        dh_python -V 2.4

Attachment: signature.asc
Description: Questa รจ una parte del messaggio firmata digitalmente

Reply via email to