Le jeudi 28 septembre 2006 à 19:12 -0400, Joey Hess a écrit :
> Pierre HABOUZIT wrote:
> >   there is a way out here. let me explain that:
> 
> Ok, I guess that this could still work. It would need to be acted on
> pretty soon to happen though.

Well, the patch is trivial for each of dh_python, dh_pycentral and
dh_pysupport, so we just need a synchronized upload. What are we waiting
for?
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           [EMAIL PROTECTED]
`. `'                        [EMAIL PROTECTED]
  `-  Debian GNU/Linux -- The power of freedom
--- /usr/bin/dh_pycentral	2006-08-13 21:23:30.000000000 +0200
+++ dh_pycentral	2006-10-01 12:48:13.000000000 +0200
@@ -52,8 +52,8 @@
 foreach my $package (@{$dh{DOPACKAGES}}) {
 	my $tmp = tmpdir($package);
 
-	# Move *.py files if needed
-	doit("pycentral debhelper $package $tmp");
+	# Move *.py files if needed and generate dependencies
+	doit("pycentral debhelper --substvars=file --provides $package $tmp");
 
 	# Check that we have *.py files!
 	my $found = 0;
@@ -64,7 +64,6 @@
 	}, $tmp;
 
 	if ($found or -d "$tmp/usr/share/pycentral") {
-                addsubstvar($package, "python:Depends", "python-central", ">= 0.5");
                 if (! $dh{NOSCRIPTS}) {
                         autoscript($package,"postinst","postinst-pycentral","s%#PACKAGE#%$package%");
                         autoscript($package,"prerm","prerm-pycentral","s%#PACKAGE#%$package%");
--- /usr/bin/dh_pysupport	2006-09-11 23:51:30.000000000 +0200
+++ dh_pysupport	2006-10-01 12:45:02.000000000 +0200
@@ -97,9 +97,6 @@
 
 # Generate dependencies if dh_python's debian/pycompat file isn't here
 my $do_deps=1;
-if (-f "debian/pycompat" && ! $dh{D_FLAG}) {
-	$do_deps=0;
-}
 
 
 foreach my $package (@{$dh{DOPACKAGES}}) {

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to