/[collab-maint]/deb-maint/python-support/trunk/debhelper/dh_pysupport
ViewVC logotype

Diff of /deb-maint/python-support/trunk/debhelper/dh_pysupport

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 12973 by joss, Tue May 5 17:00:38 2009 UTC revision 12974 by joss, Tue May 5 17:04:43 2009 UTC
# Line 298  foreach my $package (@{$dh{DOPACKAGES}}) Line 298  foreach my $package (@{$dh{DOPACKAGES}})
298          }          }
299    
300          # 3) Add python-support dependency depending on what we found          # 3) Add python-support dependency depending on what we found
301          if (-d "$tmp/usr/share/python-support") {          if (-d "$tmp/usr/share/python-support") {
302                  # Namespace packages were introduced in 0.7.1                  if (`find $tmp/usr/share/python-support -name .noinit`) {
303                  addsubstvar($package, "python:Depends", "python-support (>= 0.7.1)");                          # Excluding namespace packages, introduced in 0.8.5
304          }                          addsubstvar($package, "python:Depends", "python-support (>= 0.8.5)");
305                    } else {
306                            # Latest non-detectable feature: namespace packages in 0.7.1
307                            addsubstvar($package, "python:Depends", "python-support (>= 0.7.1)");
308                    }
309            }
310    
311          # 4) Look for python scripts          # 4) Look for python scripts
312          find sub {          find sub {
313                  return unless -f and -x;                  return unless -f and -x;

Legend:
Removed from v.12973  
changed lines
  Added in v.12974

  ViewVC Help
Powered by ViewVC 1.1.5