Package: python-support
Version: 0.8.5
Severity: normal
Tags: patch

I've written a cruft explain script, so that cruft knows what files
have been created by python-support.


-- System Information:
Debian Release: lenny/sid
  APT prefers hardy-updates
  APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 
'hardy-proposed'), (500, 'hardy-backports'), (500, 'hardy')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-20-generic (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-support depends on:
ii  dpkg                    1.14.16.6ubuntu4 package maintenance system for Deb
ii  python                  2.5.2-0ubuntu1   An interactive high-level object-o

python-support recommends no packages.

-- no debconf information
>From 4709ca95b1e22bcb134a12f2ea2a4d2331644a78 Mon Sep 17 00:00:00 2001
From: Gabriel de Perthuis <[EMAIL PROTECTED]>
Date: Wed, 6 Aug 2008 19:44:28 +0200
Subject: [PATCH] Add a cruft explain script for pysupport-compiled files.

---
 cruft/python-support |    5 +++++
 debian/install       |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)
 create mode 100755 cruft/python-support

diff --git a/cruft/python-support b/cruft/python-support
new file mode 100755
index 0000000..7299668
--- /dev/null
+++ b/cruft/python-support
@@ -0,0 +1,5 @@
+#!/bin/sh
+cat /usr/share/python-support/*.dirs |grep '^/' \
+ |xargs --no-run-if-empty -I{} find {} -type f -name '*.py' \
+ |sed 's:$:c:' >&3
+
diff --git a/debian/install b/debian/install
index faa6973..25f8166 100644
--- a/debian/install
+++ b/debian/install
@@ -2,6 +2,7 @@ update-python-modules /usr/sbin/
 pysupport-movemodules pysupport-parseversions /usr/bin/
 *.py /usr/lib/python-support/private/
 python-support.dirs /usr/share/python-support/
+cruft/python-support /usr/lib/cruft/explain/
 debhelper/dh_pysupport /usr/bin/
 debhelper/*-python-support /usr/share/debhelper/autoscripts/
 runtime/* /usr/share/python/runtime.d/
-- 
1.6.0.rc1.64.g61192

Reply via email to