~ubuntu-branches/ubuntu/edgy/ecasound2.2/edgy

« back to all changes in this revision

Viewing changes to debian/python-ecasound2.2.prerm

  • Committer: Bazaar Package Importer
  • Author(s): Junichi Uekawa
  • Date: 2006-08-12 22:03:54 UTC
  • Revision ID: james.westby@ubuntu.com-20060812220354-6c2oddxzlyv3rap5
Tags: 2.4.4-3
* Bug fix: "Python policy transition" (Closes: #373316).
- Build-depend on python-dev instead of python2.4-dev
- python-ecasound is arch all
- fix description to remove reference to python 2.3
- debian/rules: remove reference to python2.3 and use dh_pysupport instead of dh_python
- remove existing byte-compilation handling from postinst/preinst.
some of it thanks to Pierre Habouzit <madcoder@debian.org>
* Bug fix: "ecasound2.2: FTBFS on kfreebsd-amd64: unsatisfied
  Build-Depends", thanks to Petr Salinger (Closes: #361469).
  add hurd-i386 to list
* Standards-Version: 3.7.2
* remove g++ versioned build-dependency, and add python-support (>=
  0.4.0) to build-dependency.
* update watch file format
* debian/rules clean config.log, config.status.
* ecasound now has versioned depends on python-ecasound, since it was
  the original intention.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/bash -e
2
 
#
3
 
# Debian prerm script for Python x.y hierarchical modules
4
 
# Written by Gregor Hoffleit <flight@debian.org>
5
 
# Extended by Matthias Klose <doko@debian.org>
6
 
# touched a little by Junichi Uekawa <dancer@debian.org>
7
 
#
8
 
 
9
 
PACKAGE=`basename $0 .prerm`
10
 
PV=`dpkg --listfiles $PACKAGE | sed -n -e '/^\/usr\/lib\/python.*\//{
11
 
  s,/usr/lib/python\([0-9][0-9.]*\)/.*,\1,p
12
 
  q
13
 
}'`
14
 
 
15
 
dpkg --listfiles $PACKAGE |
16
 
        awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
17
 
        xargs rm -f >&2
18
2
 
19
3
#DEBHELPER#