# HG changeset patch # User Paul Boddie # Date 1263171521 -3600 # Node ID d863f4fb53eedefda24cb21dc176cca9c0561c1d # Parent 3330cc7fcadf037ee17b82636244fe316e4e9c6b Removed "manual" installation material. diff -r 3330cc7fcadf -r d863f4fb53ee debian/rules --- a/debian/rules Mon Jan 11 01:48:42 2010 +0100 +++ b/debian/rules Mon Jan 11 01:58:41 2010 +0100 @@ -48,9 +48,7 @@ binary-indep: install dh_testdir -i dh_testroot -i - # Install before dh_pycentral so that it can work out that there's Python involved - dh_install -i -n - dh_pycentral -i usr/lib/shedskin/bin + dh_pycentral -i dh_installdocs -i dh_installchangelogs -i gzip --best debian/shedskin.1 diff -r 3330cc7fcadf -r d863f4fb53ee debian/shedskin.install --- a/debian/shedskin.install Mon Jan 11 01:48:42 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -ss.py usr/lib/shedskin/bin/ -shared.py usr/lib/shedskin/bin/ -extmod.py usr/lib/shedskin/bin/ -graph.py usr/lib/shedskin/bin/ -infer.py usr/lib/shedskin/bin/ -cpp.py usr/lib/shedskin/bin/ -backward.py usr/lib/shedskin/bin/ diff -r 3330cc7fcadf -r d863f4fb53ee debian/shedskin.postinst --- a/debian/shedskin.postinst Mon Jan 11 01:48:42 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,44 +0,0 @@ -#! /bin/sh -# postinst script for ShedSkin -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# -# quoting from the policy: -# Any necessary prompting should almost always be confined to the -# post-installation script, and should be protected with a conditional -# so that unnecessary prompting doesn't happen if a package's -# installation fails and the `postinst' is called with `abort-upgrade', -# `abort-remove' or `abort-deconfigure'. - -PACKAGE=shedskin - -case "$1" in - configure|abort-upgrade|abort-remove|abort-deconfigure) - # ss is already a program - chmod ugo+rx /usr/lib/shedskin/bin/ss.py /usr/bin/shedskin - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - - - -exit 0 - - diff -r 3330cc7fcadf -r d863f4fb53ee debian/shedskin.postinst.debhelper --- a/debian/shedskin.postinst.debhelper Mon Jan 11 01:48:42 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -# Automatically added by dh_pycentral -if which pycentral >/dev/null 2>&1; then - pycentral pkginstall shedskin - if grep -qs '^shedskin$' /var/lib/pycentral/delayed-pkgs; then - sed -i '/^shedskin$/d' /var/lib/pycentral/delayed-pkgs - fi -fi -# End automatically added section diff -r 3330cc7fcadf -r d863f4fb53ee debian/shedskin.prerm --- a/debian/shedskin.prerm Mon Jan 11 01:48:42 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -#! /bin/sh -# prerm script for ShedSkin - -set -e - -PACKAGE=shedskin - -case "$1" in - remove|upgrade|failed-upgrade) - ;; - - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - - - -exit 0 diff -r 3330cc7fcadf -r d863f4fb53ee debian/shedskin.prerm.debhelper --- a/debian/shedskin.prerm.debhelper Mon Jan 11 01:48:42 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,45 +0,0 @@ -# Automatically added by dh_pycentral -case "$1" in remove|upgrade) - pkgremove=y -esac -if [ -f /var/lib/pycentral/shedskin.pkgremove ] || [ -f /var/lib/pycentral/pkgremove ]; then - pkgremove=y -fi -if [ "$pkgremove" = y ]; then -if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then - pycentral pkgremove shedskin -else - flist=$(tempfile) - slist=$(tempfile) - dpkg -L shedskin | tee $flist | \ - while read n; do - case "$n" in - /usr/share/pyshared/*) - n2=${n#/usr/share/pyshared/*} - case "$n" in - *.py) echo "p $n";; - *) [ -d "$n" ] && echo "d $n2" || echo "f $n2" - esac - ;; - *) continue - esac - done > $slist - if [ -s $slist ]; then - for d in /usr/lib/python[0-9].[0-9]/????-packages; do - case "$d" in */python2.1/*|*/python2.2/*) continue; esac - while read t n; do - case "$t" in - p) rm -f $d/$n $d/${n}[co];; - d) rmdir $d/$n 2>/dev/null || true;; - *) rm -f $d/$n - esac - done < $slist - done - fi - awk '/\/usr\/share\/pyshared/ {next} /\.py$/ {print $0"c\n" $0"o"}' $flist \ - | xargs -r rm -f >&2 - rm -f $flist $slist -fi -rm -f /var/lib/pycentral/shedskin.pkgremove -fi -# End automatically added section diff -r 3330cc7fcadf -r d863f4fb53ee debian/shedskin.substvars --- a/debian/shedskin.substvars Mon Jan 11 01:48:42 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -python:Versions=all -python:Depends=python, python-central (>= 0.6.7)