Merge lp:~lool/python-distutils-extra/misc-cleanups into lp:python-distutils-extra

Proposed by Loïc Minier
Status: Merged
Merged at revision: not available
Proposed branch: lp:~lool/python-distutils-extra/misc-cleanups
Merge into: lp:python-distutils-extra
Diff against target: None lines
To merge this branch: bzr merge lp:~lool/python-distutils-extra/misc-cleanups
Reviewer Review Type Date Requested Status
Registry Administrators Pending
Review via email: mp+8235@code.launchpad.net
To post a comment you must log in.
107. By Loïc Minier

Depend on ${misc:Depends}

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

Hello Loïc,

Loïc Minier [2009-07-05 16:15 -0000]:
> Loïc Minier has proposed merging
> lp:~lool/python-distutils-extra/misc-cleanups into
> lp:python-distutils-extra.

Merci! Merged.

Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/local/python-mkdebian'
2--- debian/local/python-mkdebian 2009-07-01 14:37:35 +0000
3+++ debian/local/python-mkdebian 2009-07-05 15:53:51 +0000
4@@ -4,7 +4,7 @@
5 # Author: Martin Pitt
6 # License: GPL v2 or later
7
8-import subprocess, tempfile, shutil, sys, os
9+import subprocess, tempfile, shutil, sys, os, textwrap
10
11 def get_egg_info():
12 '''Get egg information from ./setup.py into a dictionary.'''
13@@ -134,7 +134,7 @@
14 Section: python
15 Priority: extra
16 Build-Depends: cdbs (>= 0.4.43),
17- debhelper (>= 6),
18+ debhelper (>= 6),
19 python-central (>= 0.6.11),
20 python-distutils-extra (>= 2.3)%(bdep)s
21 Maintainer: %(maint)s
22@@ -144,10 +144,14 @@
23 Package: %(name)s
24 Architecture: all
25 XB-Python-Version: ${python:Versions}
26-Depends: ${python:Depends}, %(depends)s
27+Depends: ${python:Depends}%(depends)s
28 Description: %(desc)s
29-''' % {'name': egg['Name'], 'maint': author, 'depends': ', '.join(deps),
30- 'desc': egg.get('Summary', ''), 'bdep': bdeps})
31+ %(longdesc)s
32+''' % {'name': egg['Name'], 'maint': author,
33+ 'depends': ',\n '.join(['',] + list(deps)),
34+ 'desc': egg.get('Summary', ''),
35+ 'longdesc': '\n '.join(textwrap.wrap(egg.get('Description', ''), 72)),
36+ 'bdep': bdeps})
37 f.close()
38
39 # TODO: update debian/control

Subscribers

People subscribed via source and target branches

to all changes:
to status/vote changes: