Merge lp:~jtatum/mago/debian-patch into lp:~mago-contributors/mago/debian

Proposed by James Tatum
Status: Merged
Merged at revision: not available
Proposed branch: lp:~jtatum/mago/debian-patch
Merge into: lp:~mago-contributors/mago/debian
Diff against target: None lines
To merge this branch: bzr merge lp:~jtatum/mago/debian-patch
Reviewer Review Type Date Requested Status
Javier Collado (community) Approve
Review via email: mp+11578@code.launchpad.net
To post a comment you must log in.
Revision history for this message
James Tatum (jtatum) wrote :

Removing patch from packaging recipe - adding it in Debian branch

Revision history for this message
Javier Collado (javier.collado) wrote :

 review approve

Nice suggestion! I didn't know about quilt. Thanks.

James Tatum wrote:
> James Tatum has proposed merging lp:~jtatum/mago/debian-patch into lp:~mago-contributors/mago/debian.
>
> Requested reviews:
> Javier Collado (javier.collado)
>
> Removing patch from packaging recipe - adding it in Debian branch
>

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'README.source'
2--- README.source 1970-01-01 00:00:00 +0000
3+++ README.source 2009-09-10 21:28:49 +0000
4@@ -0,0 +1,1 @@
5+This package uses quilt, as documented in /usr/share/doc/quilt/README.source
6
7=== modified file 'control'
8--- control 2009-09-09 09:58:53 +0000
9+++ control 2009-09-10 21:39:27 +0000
10@@ -2,7 +2,7 @@
11 Section: devel
12 Priority: extra
13 Maintainer: Javier Collado <javier.collado@canonical.com>
14-Build-Depends: cdbs (>= 0.4.52), debhelper (>= 7.0.17), python-central (>= 0.6.11), python-distutils-extra
15+Build-Depends: cdbs (>= 0.4.52), debhelper (>= 7.0.17), python-central (>= 0.6.11), python-distutils-extra, quilt
16 Standards-Version: 3.8.2
17 XS-Python-Version: >= 2.6
18 Homepage: http://mago.ubuntu.com/
19
20=== added directory 'patches'
21=== added file 'patches/series'
22--- patches/series 1970-01-01 00:00:00 +0000
23+++ patches/series 2009-09-10 21:28:49 +0000
24@@ -0,0 +1,1 @@
25+setup_py_add_tests.patch
26
27=== added file 'patches/setup_py_add_tests.patch'
28--- patches/setup_py_add_tests.patch 1970-01-01 00:00:00 +0000
29+++ patches/setup_py_add_tests.patch 2009-09-10 21:28:49 +0000
30@@ -0,0 +1,42 @@
31+--- a/setup.py
32++++ b/setup.py
33+@@ -86,6 +86,26 @@
34+ 'TESTS_SHARE = "/usr/share/mago"'})
35+
36+
37++def rlist(prefix, dirs):
38++ """
39++ Recursively list files to be installed and installation prefix to
40++ path
41++ """
42++ files = []
43++
44++ def add_files(acc, dirname, fnames):
45++ fnames = [os.path.join(dirname, fname)
46++ for fname in fnames]
47++ fnames = [fname for fname in fnames
48++ if os.path.isfile(fname)]
49++ acc.append((os.path.join(prefix, dirname),
50++ fnames))
51++
52++ for dir in dirs:
53++ os.path.walk(dir, add_files, files)
54++ return files
55++
56++
57+ setup(
58+ name = "mago",
59+ version = changelog_version(),
60+@@ -97,7 +117,11 @@
61+ This project provides a library and scripts for mago.
62+ """,
63+ data_files = [
64+- ("share/mago", ["report.xsl", "conffile.ini"])],
65++ ("share/mago", ["report.xsl", "conffile.ini"])] \
66++ + rlist("share/mago-test",
67++ ["evolution", "gedit", "gnome-screenshot",
68++ "indicator-applet", "notify-osd", "pidgin",
69++ "seahorse", "ubuntu-menu", "update-manager"]),
70+ scripts = ["bin/mago"],
71+ packages = ["mago",
72+ "mago.application",
73
74=== modified file 'rules'
75--- rules 2009-09-09 09:23:40 +0000
76+++ rules 2009-09-10 21:39:27 +0000
77@@ -1,6 +1,7 @@
78 #!/usr/bin/make -f
79 DEB_PYTHON_SYSTEM=pycentral
80
81+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
82 include /usr/share/cdbs/1/rules/debhelper.mk
83 include /usr/share/cdbs/1/class/python-distutils.mk
84

Subscribers

People subscribed via source and target branches

to all changes: