Merge lp:~jtaylor/ubuntu/natty/foolscap/foolscap-fix-782414 into lp:ubuntu/natty/foolscap

Proposed by Julian Taylor
Status: Merged
Merged at revision: 8
Proposed branch: lp:~jtaylor/ubuntu/natty/foolscap/foolscap-fix-782414
Merge into: lp:ubuntu/natty/foolscap
Diff against target: 59 lines (+30/-1)
4 files modified
debian/changelog (+8/-0)
debian/control (+1/-1)
debian/preinst (+20/-0)
debian/pydist-overrides (+1/-0)
To merge this branch: bzr merge lp:~jtaylor/ubuntu/natty/foolscap/foolscap-fix-782414
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Micah Gersten Pending
Review via email: mp+61682@code.launchpad.net

Description of the change

To post a comment you must log in.
Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for contributing to Ubuntu development.

I commented on the bug regarding the install failure, but I'll comment here about the tweaks to the proposal. These are mostly cosmetic things to keep in mind for the future, I made these changes locally. You needn't bother reproposing unless something else is required.

Version should be 0.6.1-1ubuntu0.1 since it's an SRU
You should run update-maintainer (This might be a special case since you're the Debian uploader, but something to keep in mind in general for Ubuntu)

9. By Julian Taylor

remove old egg symlinks in a preinst to ensure a correct upgrade

10. By Julian Taylor

pydist-override twisted -> python-twisted-core

Revision history for this message
Martin Pitt (pitti) wrote :

This looks fine to me now, thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2011-03-01 23:42:14 +0000
+++ debian/changelog 2011-05-26 13:23:25 +0000
@@ -1,3 +1,11 @@
1foolscap (0.6.1-1ubuntu0.1) natty-proposed; urgency=low
2
3 * add build dependency python-setup to create proper egg (LP: #782414)
4 - remove old egg symlinks in a preinst to ensure a correct upgrade
5 - pydist-override twisted -> python-twisted-core
6
7 -- Julian Taylor <jtaylor.debian@googlemail.com> Thu, 19 May 2011 10:41:24 +0200
8
1foolscap (0.6.1-1) unstable; urgency=low9foolscap (0.6.1-1) unstable; urgency=low
210
3 [ Julian Taylor ]11 [ Julian Taylor ]
412
=== modified file 'debian/control'
--- debian/control 2011-03-01 23:42:14 +0000
+++ debian/control 2011-05-26 13:23:25 +0000
@@ -3,7 +3,7 @@
3Priority: optional3Priority: optional
4Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>4Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
5Uploaders: Stephan Peijnik <debian@sp.or.at>, Julian Taylor <jtaylor.debian@googlemail.com>5Uploaders: Stephan Peijnik <debian@sp.or.at>, Julian Taylor <jtaylor.debian@googlemail.com>
6Build-Depends-Indep: python-all (>= 2.6.6-3), python-openssl, python-twisted-core, python-twisted-web, debhelper (>= 7.0.50~)6Build-Depends-Indep: python-all (>= 2.6.6-3), python-openssl, python-twisted-core, python-twisted-web, debhelper (>= 7.0.50~), python-setuptools
7X-Python-Version: >= 2.47X-Python-Version: >= 2.4
8Standards-Version: 3.9.18Standards-Version: 3.9.1
9Homepage: http://foolscap.lothar.com/9Homepage: http://foolscap.lothar.com/
1010
=== added file 'debian/preinst'
--- debian/preinst 1970-01-01 00:00:00 +0000
+++ debian/preinst 2011-05-26 13:23:25 +0000
@@ -0,0 +1,20 @@
1#!/bin/sh
2set -e
3
4# there are no guarantees on unpack order, so when the pyshared egg
5# folder is extracted before the symlinks in /usr/lib/.../dist-packages
6# the upgrade will fail due to policy 6.6.4 when there are more than
7# one supported python version as it will try to overwrite a directory
8# after following the symlink
9# => remove egg symlink installed by 0.6.1-1 before unpacking
10if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt "0.6.1-4"; then
11 for f in /usr/lib/python2.*; do
12 # if egg is a link and not pointing to a directory
13 if [ -L "$f/dist-packages/foolscap-0.6.1.egg-info" ] &&
14 [ -f "$f/dist-packages/foolscap-0.6.1.egg-info" ]; then
15 rm -f "$f/dist-packages/foolscap-0.6.1.egg-info";
16 fi
17 done
18fi
19
20#DEBHELPER#
021
=== added file 'debian/pydist-overrides'
--- debian/pydist-overrides 1970-01-01 00:00:00 +0000
+++ debian/pydist-overrides 2011-05-26 13:23:25 +0000
@@ -0,0 +1,1 @@
1twisted python-twisted-core

Subscribers

People subscribed via source and target branches

to all changes: