Re: debhelper for python-central, problems with prerm/postinst

2008-01-07 Thread Ben Finney
Vincent Bernat [EMAIL PROTECTED] writes:

 On Mon, 07 Jan 2008 18:17:34 +1100, Ben Finney
 [EMAIL PROTECTED] wrote:
  So, how do Python-language packagers work around this bug
  currently?
 
 I don't use dh_installinit and I put the correct snippet in
 postinst/prerm by hand, waiting for the bug to be fixed.

When you say by hand, exactly when do you insert the postinst/prerm
snippet? When making the 'debian/foo.{prerm,postinst}' files the first
time? Immediately after building a binary package? Something else?

-- 
 \I was in Las Vegas, at the roulette table, having a furious |
  `\ argument over what I considered to be an odd number.  -- |
_o__)Steven Wright |
Ben Finney


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



debhelper for python-central, problems with prerm/postinst (was: Python modules not installed correctly with pycentral)

2008-01-06 Thread Ben Finney
(Vincent, please don't send me copies of messages sent to this list.
This is spelled out on the mailing-list code of conduct
URL:http://www.debian.org/MailingLists/#codeofconduct.)

Vincent Bernat [EMAIL PROTECTED] writes:

 OoO En cette nuit striée d'éclairs du lundi 07 janvier 2008, vers 02:06,
 Ben Finney [EMAIL PROTECTED] disait:
 
  Should the default placement of 'dh_pycentral' be changed so that
  'pycentral' is run early enough for programs in the package that
  depend on the installed modules?
 
 Well, if you can change the order for postinst, you will get wrong order
 in prerm.
 
 See:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386970
  http://lists.debian.org/debian-release/2006/10/msg00073.html
 
 This is not specific to cdbs in fact, so it applies to you too.

Hmm, that's a wrinkle I hadn't thought of. Thank you for showing me
that discussion.

So, how do Python-language packagers work around this bug currently?

-- 
 \ If nature has made any one thing less susceptible than all |
  `\others of exclusive property, it is the action of the thinking |
_o__)  power called an idea —Thomas Jefferson |
Ben Finney


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: debhelper for python-central, problems with prerm/postinst (was: Python modules not installed correctly with pycentral)

2008-01-06 Thread Vincent Bernat

On Mon, 07 Jan 2008 18:17:34 +1100, Ben Finney
[EMAIL PROTECTED] wrote:
 (Vincent, please don't send me copies of messages sent to this list.
 This is spelled out on the mailing-list code of conduct
 URL:http://www.debian.org/MailingLists/#codeofconduct.)

Sorry for that.

 See:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386970
  http://lists.debian.org/debian-release/2006/10/msg00073.html

 This is not specific to cdbs in fact, so it applies to you too.
 
 Hmm, that's a wrinkle I hadn't thought of. Thank you for showing me
 that discussion.
 
 So, how do Python-language packagers work around this bug currently?

I don't use dh_installinit and I put the correct snippet in postinst/prerm
by hand, waiting for the bug to be fixed.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]