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
=== added file 'README.source'
--- README.source 1970-01-01 00:00:00 +0000
+++ README.source 2009-09-10 21:28:49 +0000
@@ -0,0 +1,1 @@
1This package uses quilt, as documented in /usr/share/doc/quilt/README.source
02
=== modified file 'control'
--- control 2009-09-09 09:58:53 +0000
+++ control 2009-09-10 21:39:27 +0000
@@ -2,7 +2,7 @@
2Section: devel2Section: devel
3Priority: extra3Priority: extra
4Maintainer: Javier Collado <javier.collado@canonical.com>4Maintainer: Javier Collado <javier.collado@canonical.com>
5Build-Depends: cdbs (>= 0.4.52), debhelper (>= 7.0.17), python-central (>= 0.6.11), python-distutils-extra5Build-Depends: cdbs (>= 0.4.52), debhelper (>= 7.0.17), python-central (>= 0.6.11), python-distutils-extra, quilt
6Standards-Version: 3.8.26Standards-Version: 3.8.2
7XS-Python-Version: >= 2.67XS-Python-Version: >= 2.6
8Homepage: http://mago.ubuntu.com/8Homepage: http://mago.ubuntu.com/
99
=== added directory 'patches'
=== added file 'patches/series'
--- patches/series 1970-01-01 00:00:00 +0000
+++ patches/series 2009-09-10 21:28:49 +0000
@@ -0,0 +1,1 @@
1setup_py_add_tests.patch
02
=== added file 'patches/setup_py_add_tests.patch'
--- patches/setup_py_add_tests.patch 1970-01-01 00:00:00 +0000
+++ patches/setup_py_add_tests.patch 2009-09-10 21:28:49 +0000
@@ -0,0 +1,42 @@
1--- a/setup.py
2+++ b/setup.py
3@@ -86,6 +86,26 @@
4 'TESTS_SHARE = "/usr/share/mago"'})
5
6
7+def rlist(prefix, dirs):
8+ """
9+ Recursively list files to be installed and installation prefix to
10+ path
11+ """
12+ files = []
13+
14+ def add_files(acc, dirname, fnames):
15+ fnames = [os.path.join(dirname, fname)
16+ for fname in fnames]
17+ fnames = [fname for fname in fnames
18+ if os.path.isfile(fname)]
19+ acc.append((os.path.join(prefix, dirname),
20+ fnames))
21+
22+ for dir in dirs:
23+ os.path.walk(dir, add_files, files)
24+ return files
25+
26+
27 setup(
28 name = "mago",
29 version = changelog_version(),
30@@ -97,7 +117,11 @@
31 This project provides a library and scripts for mago.
32 """,
33 data_files = [
34- ("share/mago", ["report.xsl", "conffile.ini"])],
35+ ("share/mago", ["report.xsl", "conffile.ini"])] \
36+ + rlist("share/mago-test",
37+ ["evolution", "gedit", "gnome-screenshot",
38+ "indicator-applet", "notify-osd", "pidgin",
39+ "seahorse", "ubuntu-menu", "update-manager"]),
40 scripts = ["bin/mago"],
41 packages = ["mago",
42 "mago.application",
043
=== modified file 'rules'
--- rules 2009-09-09 09:23:40 +0000
+++ rules 2009-09-10 21:39:27 +0000
@@ -1,6 +1,7 @@
1#!/usr/bin/make -f1#!/usr/bin/make -f
2DEB_PYTHON_SYSTEM=pycentral2DEB_PYTHON_SYSTEM=pycentral
33
4include /usr/share/cdbs/1/rules/patchsys-quilt.mk
4include /usr/share/cdbs/1/rules/debhelper.mk5include /usr/share/cdbs/1/rules/debhelper.mk
5include /usr/share/cdbs/1/class/python-distutils.mk6include /usr/share/cdbs/1/class/python-distutils.mk
67

Subscribers

People subscribed via source and target branches

to all changes: