# HG changeset patch # User Paul Boddie # Date 1388876479 -3600 # Node ID 300074f42bdfbe32874406c0b0744452243f3ed0 # Parent 4a2810b3c645fb131c714365ae254c5ed577959b Replaced archaic packaging files with more modern ones. diff -r 4a2810b3c645 -r 300074f42bdf packages/debian-wheezy/python-desktop/debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-wheezy/python-desktop/debian/changelog Sun Jan 05 00:01:19 2014 +0100 @@ -0,0 +1,5 @@ +desktop (0.4.2) wheezy; urgency=low + + * New upstream release. + + -- Paul Boddie Sat, 04 Jan 2014 19:13:55 +0100 diff -r 4a2810b3c645 -r 300074f42bdf packages/debian-wheezy/python-desktop/debian/compat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-wheezy/python-desktop/debian/compat Sun Jan 05 00:01:19 2014 +0100 @@ -0,0 +1,1 @@ +7 diff -r 4a2810b3c645 -r 300074f42bdf packages/debian-wheezy/python-desktop/debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-wheezy/python-desktop/debian/control Sun Jan 05 00:01:19 2014 +0100 @@ -0,0 +1,18 @@ +Source: desktop +Section: python +Priority: optional +Maintainer: Paul Boddie +Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.6-3~), python-epydoc +Standards-Version: 3.9.2 +Homepage: http://www.python.org/pypi/desktop +Vcs-Hg: http://hgweb.boddie.org.uk/desktop +Vcs-Browser: http://hgweb.boddie.org.uk/desktop + +Package: python-desktop +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Recommends: kde, gnome, xfce4 +Description: Desktop environment detection, inspection and interaction + The desktop package supports application launching and the opening of + dialogues and resources for a selection of common and standardised + desktop environments. diff -r 4a2810b3c645 -r 300074f42bdf packages/debian-wheezy/python-desktop/debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-wheezy/python-desktop/debian/copyright Sun Jan 05 00:01:19 2014 +0100 @@ -0,0 +1,32 @@ +Format: http://dep.debian.net/deps/dep5/ +Upstream-Name: desktop +Upstream-Contact: Paul Boddie +Source: http://www.python.org/pypi/desktop +Comment: This package was debianized by Paul Boddie . + +Files: * +Copyright: 2005-2013 Paul Boddie +Copyright: 2012-2013 Jérôme Laheurte +License: LGPL-3+ + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the Free + Software Foundation; either version 3 of the License, or (at your option) any + later version. + . + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + details. + . + You should have received a copy of the GNU Lesser General Public License along + with this program. If not, see . + . + On Debian systems, the full text of the GNU General Public + License version 3 can be found in the file + `/usr/share/common-licenses/LGPL-3'. +Comment: Python desktop package + +Files: debian/* +Copyright: 2013 Paul Boddie +License: Expat +Comment: Debian packaging files diff -r 4a2810b3c645 -r 300074f42bdf packages/debian-wheezy/python-desktop/debian/docs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-wheezy/python-desktop/debian/docs Sun Jan 05 00:01:19 2014 +0100 @@ -0,0 +1,3 @@ +README.txt +docs +apidocs diff -r 4a2810b3c645 -r 300074f42bdf packages/debian-wheezy/python-desktop/debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/debian-wheezy/python-desktop/debian/rules Sun Jan 05 00:01:19 2014 +0100 @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ --with python2 diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-feisty/python-desktop/debian/changelog --- a/packages/ubuntu-feisty/python-desktop/debian/changelog Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,49 +0,0 @@ -desktop (0.4.1-0ubuntu1) feisty; urgency=low - - * New upstream release. - - -- Paul Boddie Thu, 06 Sep 2012 00:21:46 +0200 - -desktop (0.4-0ubuntu1) feisty; urgency=low - - * Improved docstrings. - * Fixed support for examining the root window. - * Changed the licence to the LGPL version 3 (or later). - - -- Paul Boddie Sun, 21 Jun 2009 22:44:30 +0200 - -desktop (0.3-0ubuntu1) feisty; urgency=low - - * Made desktop a package. - * Added support for graphical dialogue boxes through - programs such as kdialog, zenity and Xdialog. - * Added support for inspecting desktop windows (currently - only for X11). - - -- Paul Boddie Sat, 15 Dec 2007 19:47:44 +0100 - -desktop (0.2.4-0ubuntu1) feisty; urgency=low - - * Added XFCE support (with advice from Miki Tebeka). - * Added Ubuntu Feisty (7.04) package support. - - -- Paul Boddie Tue, 28 Aug 2007 00:27:37 +0200 - -desktop (0.2.3-0ubuntu1) hoary; urgency=low - - * Added Python 2.3 support (using popen2 instead of - subprocess). - - -- Paul Boddie Wed, 19 Jul 2006 23:15:54 +0200 - -desktop (0.2.2-0ubuntu1) hoary; urgency=low - - * Changed the licence to LGPL. - - -- Paul Boddie Tue, 13 Jun 2006 00:04:05 +0200 - -desktop (0.2.1-0ubuntu1) hoary; urgency=low - - * New upstream release. - - -- Paul Boddie Thu, 8 Dec 2005 17:12:48 +0100 diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-feisty/python-desktop/debian/compat --- a/packages/ubuntu-feisty/python-desktop/debian/compat Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -5 diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-feisty/python-desktop/debian/control --- a/packages/ubuntu-feisty/python-desktop/debian/control Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -Source: desktop -Section: python -Priority: optional -Maintainer: Paul Boddie -Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-epydoc (>= 2.1-6ubuntu1) -XS-Python-Version: all -Standards-Version: 3.7.2.1 - -Package: python-desktop -Architecture: all -Depends: ${python:Depends} -Suggests: kde, gnome, xfce4 -Conflicts: python2.4-desktop (<< 0.2.4-0ubuntu1) -Replaces: python2.4-desktop (<< 0.2.4-0ubuntu1) -XB-Python-Version: ${python:Versions} -Description: Desktop environment detection, inspection; support for opening dialogues and resources. - A selection of common and standardised desktop environments are supported. diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-feisty/python-desktop/debian/copyright --- a/packages/ubuntu-feisty/python-desktop/debian/copyright Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -Package creator: - - Paul Boddie - -The origin of the package is: - - http://www.python.org/pypi/desktop - -Package author: - - Paul Boddie - -Copyright: - -Licence Agreement for desktop ------------------------------ - -Copyright (C) 2005, 2006, 2007, 2008, 2009, 2012 Paul Boddie -Copyright (C) 2012 Jérôme Laheurte - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License as published by the Free -Software Foundation; either version 3 of the License, or (at your option) any -later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more -details. - -You should have received a copy of the GNU Lesser General Public License along -with this program. If not, see . diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-feisty/python-desktop/debian/docs --- a/packages/ubuntu-feisty/python-desktop/debian/docs Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -README.txt -docs -apidocs diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-feisty/python-desktop/debian/rules --- a/packages/ubuntu-feisty/python-desktop/debian/rules Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,66 +0,0 @@ -#!/usr/bin/make -f -# A debian/rules file using python-central. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -export DH_COMPAT=5 - -PYVERS=$(shell pyversions -vr) - -build: build-stamp - -build-stamp: $(PYVERS:%=build-python%) build-python-scripts - touch $@ - -build-python%: - python$* setup.py build_py - touch $@ - -build-python-scripts: - #python setup.py build_scripts - #touch $@ - -clean: - dh_testdir - dh_testroot - rm -f *-stamp - rm -rf build - find . -name '*.py[co]' | xargs rm -f - dh_clean - -install: build install-prereq $(PYVERS:%=install-python%) install-python-scripts - # Script fixing would appear here. - -install-prereq: - dh_testdir - dh_testroot - dh_clean -k - -install-python%: - python$* setup.py install_lib --install-dir $(CURDIR)/debian/python-desktop/usr/lib/python$*/site-packages - -install-python-scripts: - #python setup.py install_scripts --install-dir $(CURDIR)/debian/python-desktop/usr/bin - -# Build architecture-independent files here. - -binary-indep: install - tools/apidocs.sh - dh_testdir -i - dh_testroot -i - dh_pycentral -i - dh_installdocs -i - dh_fixperms -i - dh_installdeb -i - dh_gencontrol -i - dh_md5sums -i - dh_builddeb -i - -# Build architecture-dependent files here. - -binary-arch: - # Empty rule for this package. - -binary: binary-indep binary-arch -.PHONY: build clean binary-arch binary-indep binary install diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-hardy/python-desktop/debian/changelog --- a/packages/ubuntu-hardy/python-desktop/debian/changelog Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,49 +0,0 @@ -desktop (0.4.1-0ubuntu1) hardy; urgency=low - - * New upstream release. - - -- Paul Boddie Thu, 06 Sep 2012 00:22:30 +0200 - -desktop (0.4-0ubuntu1) hardy; urgency=low - - * Improved docstrings. - * Fixed support for examining the root window. - * Changed the licence to the LGPL version 3 (or later). - - -- Paul Boddie Sun, 21 Jun 2009 22:45:44 +0200 - -desktop (0.3-0ubuntu1) feisty; urgency=low - - * Made desktop a package. - * Added support for graphical dialogue boxes through - programs such as kdialog, zenity and Xdialog. - * Added support for inspecting desktop windows (currently - only for X11). - - -- Paul Boddie Sat, 15 Dec 2007 19:47:44 +0100 - -desktop (0.2.4-0ubuntu1) feisty; urgency=low - - * Added XFCE support (with advice from Miki Tebeka). - * Added Ubuntu Feisty (7.04) package support. - - -- Paul Boddie Tue, 28 Aug 2007 00:27:37 +0200 - -desktop (0.2.3-0ubuntu1) hoary; urgency=low - - * Added Python 2.3 support (using popen2 instead of - subprocess). - - -- Paul Boddie Wed, 19 Jul 2006 23:15:54 +0200 - -desktop (0.2.2-0ubuntu1) hoary; urgency=low - - * Changed the licence to LGPL. - - -- Paul Boddie Tue, 13 Jun 2006 00:04:05 +0200 - -desktop (0.2.1-0ubuntu1) hoary; urgency=low - - * New upstream release. - - -- Paul Boddie Thu, 8 Dec 2005 17:12:48 +0100 diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-hardy/python-desktop/debian/compat --- a/packages/ubuntu-hardy/python-desktop/debian/compat Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -5 diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-hardy/python-desktop/debian/control --- a/packages/ubuntu-hardy/python-desktop/debian/control Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -Source: desktop -Section: python -Priority: optional -Maintainer: Paul Boddie -Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-epydoc (>= 2.1-6ubuntu1) -XS-Python-Version: all -Standards-Version: 3.7.2.1 - -Package: python-desktop -Architecture: all -Depends: ${python:Depends} -Suggests: kde, gnome, xfce4 -Conflicts: python2.4-desktop (<< 0.2.4-0ubuntu1) -Replaces: python2.4-desktop (<< 0.2.4-0ubuntu1) -XB-Python-Version: ${python:Versions} -Description: Desktop environment detection, inspection; support for opening dialogues and resources. - A selection of common and standardised desktop environments are supported. diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-hardy/python-desktop/debian/copyright --- a/packages/ubuntu-hardy/python-desktop/debian/copyright Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -Package creator: - - Paul Boddie - -The origin of the package is: - - http://www.python.org/pypi/desktop - -Package author: - - Paul Boddie - -Copyright: - -Licence Agreement for desktop ------------------------------ - -Copyright (C) 2005, 2006, 2007, 2008, 2009, 2012 Paul Boddie -Copyright (C) 2012 Jérôme Laheurte - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License as published by the Free -Software Foundation; either version 3 of the License, or (at your option) any -later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more -details. - -You should have received a copy of the GNU Lesser General Public License along -with this program. If not, see . diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-hardy/python-desktop/debian/docs --- a/packages/ubuntu-hardy/python-desktop/debian/docs Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -README.txt -docs -apidocs diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-hardy/python-desktop/debian/rules --- a/packages/ubuntu-hardy/python-desktop/debian/rules Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,66 +0,0 @@ -#!/usr/bin/make -f -# A debian/rules file using python-central. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -export DH_COMPAT=5 - -PYVERS=$(shell pyversions -vr) - -build: build-stamp - -build-stamp: $(PYVERS:%=build-python%) build-python-scripts - touch $@ - -build-python%: - python$* setup.py build_py - touch $@ - -build-python-scripts: - #python setup.py build_scripts - #touch $@ - -clean: - dh_testdir - dh_testroot - rm -f *-stamp - rm -rf build - find . -name '*.py[co]' | xargs rm -f - dh_clean - -install: build install-prereq $(PYVERS:%=install-python%) install-python-scripts - # Script fixing would appear here. - -install-prereq: - dh_testdir - dh_testroot - dh_clean -k - -install-python%: - python$* setup.py install_lib --install-dir $(CURDIR)/debian/python-desktop/usr/lib/python$*/site-packages - -install-python-scripts: - #python setup.py install_scripts --install-dir $(CURDIR)/debian/python-desktop/usr/bin - -# Build architecture-independent files here. - -binary-indep: install - tools/apidocs.sh - dh_testdir -i - dh_testroot -i - dh_pycentral -i - dh_installdocs -i - dh_fixperms -i - dh_installdeb -i - dh_gencontrol -i - dh_md5sums -i - dh_builddeb -i - -# Build architecture-dependent files here. - -binary-arch: - # Empty rule for this package. - -binary: binary-indep binary-arch -.PHONY: build clean binary-arch binary-indep binary install diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-hoary/python2.4-desktop/debian/changelog --- a/packages/ubuntu-hoary/python2.4-desktop/debian/changelog Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,49 +0,0 @@ -desktop (0.4.1-0ubuntu1) hoary; urgency=low - - * New upstream release. - - -- Paul Boddie Thu, 06 Sep 2012 00:22:48 +0200 - -desktop (0.4-0ubuntu1) hoary; urgency=low - - * Improved docstrings. - * Fixed support for examining the root window. - * Changed the licence to the LGPL version 3 (or later). - - -- Paul Boddie Sun, 21 Jun 2009 22:45:13 +0200 - -desktop (0.3-0ubuntu1) hoary; urgency=low - - * Made desktop a package. - * Added support for graphical dialogue boxes through - programs such as kdialog, zenity and Xdialog. - * Added support for inspecting desktop windows (currently - only for X11). - - -- Paul Boddie Sat, 15 Dec 2007 19:47:30 +0100 - -desktop (0.2.4-0ubuntu1) hoary; urgency=low - - * Added XFCE support (with advice from Miki Tebeka). - * Added Ubuntu Feisty (7.04) package support. - - -- Paul Boddie Tue, 28 Aug 2007 00:27:23 +0200 - -desktop (0.2.3-0ubuntu1) hoary; urgency=low - - * Added Python 2.3 support (using popen2 instead of - subprocess). - - -- Paul Boddie Wed, 19 Jul 2006 23:15:54 +0200 - -desktop (0.2.2-0ubuntu1) hoary; urgency=low - - * Changed the licence to LGPL. - - -- Paul Boddie Tue, 13 Jun 2006 00:04:05 +0200 - -desktop (0.2.1-0ubuntu1) hoary; urgency=low - - * New upstream release. - - -- Paul Boddie Thu, 8 Dec 2005 17:12:48 +0100 diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-hoary/python2.4-desktop/debian/control --- a/packages/ubuntu-hoary/python2.4-desktop/debian/control Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -Source: desktop -Priority: optional -Maintainer: Paul Boddie -Build-Depends: debhelper (>> 3.0.0), python2.4-dev, python-epydoc (>= 2.1-6ubuntu1) -Standards-Version: 3.5.8 -Section: python - -Package: python2.4-desktop -Section: python -Architecture: all -Depends: python2.4 -Suggests: kde, gnome, xfce4 -Description: Desktop environment detection, inspection; support for opening dialogues and resources. - A selection of common and standardised desktop environments are supported. - . - This package is built for Python 2.4.x. diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-hoary/python2.4-desktop/debian/copyright --- a/packages/ubuntu-hoary/python2.4-desktop/debian/copyright Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -Package creator: - - Paul Boddie - -The origin of the package is: - - http://www.python.org/pypi/desktop - -Package author: - - Paul Boddie - -Copyright: - -Licence Agreement for desktop ------------------------------ - -Copyright (C) 2005, 2006, 2007, 2008, 2009, 2012 Paul Boddie -Copyright (C) 2012 Jérôme Laheurte - -This program is free software; you can redistribute it and/or modify it under -the terms of the GNU Lesser General Public License as published by the Free -Software Foundation; either version 3 of the License, or (at your option) any -later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more -details. - -You should have received a copy of the GNU Lesser General Public License along -with this program. If not, see . diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-hoary/python2.4-desktop/debian/docs --- a/packages/ubuntu-hoary/python2.4-desktop/debian/docs Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -README.txt -docs -apidocs diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-hoary/python2.4-desktop/debian/postinst --- a/packages/ubuntu-hoary/python2.4-desktop/debian/postinst Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,49 +0,0 @@ -#! /bin/sh -# postinst script for desktop -# -# 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=python2.4-desktop -VERSION=2.4 -LIB="/usr/lib/python$VERSION" -DIRLIST="$LIB/site-packages/desktop" - -case "$1" in - configure|abort-upgrade|abort-remove|abort-deconfigure) - for i in $DIRLIST ; do - /usr/bin/python$VERSION -O $LIB/compileall.py -q $i - /usr/bin/python$VERSION $LIB/compileall.py -q $i - done - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - - - -exit 0 - - diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-hoary/python2.4-desktop/debian/prerm --- a/packages/ubuntu-hoary/python2.4-desktop/debian/prerm Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -#! /bin/sh -# prerm script for desktop - -set -e - -PACKAGE=python2.4-desktop -VERSION=2.4 -LIB="/usr/lib/python$VERSION" -DIRLIST="$LIB/site-packages/desktop" - -case "$1" in - remove|upgrade|failed-upgrade) - for i in $DIRLIST ; do - find $i -name '*.py[co]' -exec rm \{\} \; - done - ;; - - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - - - -exit 0 diff -r 4a2810b3c645 -r 300074f42bdf packages/ubuntu-hoary/python2.4-desktop/debian/rules --- a/packages/ubuntu-hoary/python2.4-desktop/debian/rules Sun Jan 05 00:00:46 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,50 +0,0 @@ -#!/usr/bin/make -f -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -# This is the debhelper compatibility version to use. -export DH_COMPAT=4 - - - -build: build-stamp - /usr/bin/python2.4 setup.py build -build-stamp: - touch build-stamp - -configure: - # Do nothing - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - - -rm -rf build - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - /usr/bin/python2.4 setup.py install --no-compile --prefix=$(CURDIR)/debian/python2.4-desktop/usr - -# Build architecture-independent files here. -binary-indep: install - tools/apidocs.sh - dh_testdir - dh_testroot - - dh_installdocs - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb -# We have nothing to do by default. - -binary: binary-indep -.PHONY: build clean binary-indep binary install