Merge lp:~stefanor/gapti/py27transition into lp:gapti

Proposed by Stefano Rivera
Status: Merged
Approved by: Savvas Radevic
Approved revision: 37
Merged at revision: 36
Proposed branch: lp:~stefanor/gapti/py27transition
Merge into: lp:gapti
Diff against target: 212 lines (+67/-58)
9 files modified
.bzr-builddeb/default.conf (+2/-0)
debian/changelog (+42/-2)
debian/control (+7/-4)
debian/copyright (+1/-1)
debian/pycompat (+0/-1)
debian/pyversions (+0/-1)
debian/rules (+10/-45)
debian/source/format (+1/-0)
mime/gapti.xml (+4/-4)
To merge this branch: bzr merge lp:~stefanor/gapti/py27transition
Reviewer Review Type Date Requested Status
Savvas Radevic Approve
Review via email: mp+43474@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Savvas Radevic (medigeek) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory '.bzr-builddeb'
2=== added file '.bzr-builddeb/default.conf'
3--- .bzr-builddeb/default.conf 1970-01-01 00:00:00 +0000
4+++ .bzr-builddeb/default.conf 2010-12-12 16:43:28 +0000
5@@ -0,0 +1,2 @@
6+[BUILDDEB]
7+native = True
8
9=== modified file 'debian/changelog'
10--- debian/changelog 2009-04-03 01:11:25 +0000
11+++ debian/changelog 2010-12-12 16:43:28 +0000
12@@ -1,5 +1,6 @@
13-gapti (0.0.3) jaunty; urgency=low
14+gapti (0.0.3ubuntu1) natty; urgency=low
15
16+ [ Savvas Radevic ]
17 * Bug-fix release.
18 * python 2.6 transition (LP: #340901)
19 + debian/control: Build-Depends: python-dev, python-support
20@@ -13,7 +14,46 @@
21 + debhelper (>= 7)
22 * debian/rules: Removed sed command that changed shebangs
23
24- -- Savvas Radevic <vicedar@gmail.com> Wed, 11 Mar 2009 01:14:21 +0100
25+ [ Stefano Rivera ]
26+ * Python 2.7 transition: Remove python version restrictions. (LP: #689318)
27+ * Convert to dh_python2.
28+ - Install as a private module in /usr/share/gapti
29+ * Use minimal dh7 rules.
30+ * Use 3.0 (native) source format.
31+ * Bumped Standards-Version to 3.9.1:
32+ - Point to versioned common-licence (GPL-3).
33+ * debian/control:
34+ - Depend on software-properties-gtk.
35+ - Add Homepage.
36+
37+ -- Stefano Rivera <stefanor@ubuntu.com> Sun, 12 Dec 2010 17:55:05 +0200
38+
39+gapti (0.0.2ubuntu6) natty; urgency=low
40+
41+ * Rebuild with python 2.7 as the python default.
42+
43+ -- Matthias Klose <doko@ubuntu.com> Wed, 08 Dec 2010 15:03:01 +0000
44+
45+gapti (0.0.2ubuntu5) jaunty; urgency=low
46+
47+ [ Savvas Radevic ]
48+ * debian/rules:
49+ Fixed module calls: UpdateManager.Common to UpdateManager
50+
51+ [ Scott Kitterman ]
52+ * Convert ${python:Depends} to a python dependency manually since package
53+ does not use one of the Python helper systems
54+
55+ -- Scott Kitterman <scott@kitterman.com> Sun, 19 Apr 2009 11:09:30 -0400
56+
57+gapti (0.0.2ubuntu4) jaunty; urgency=low
58+
59+ * Move to Python 2.6
60+ - Update locations in gapti.links and gapti.install
61+ - Update build-dep to python2.6-dev
62+ * Move build-depends-indep to build-depends to satisfy clean
63+
64+ -- Scott Kitterman <scott@kitterman.com> Sat, 28 Mar 2009 14:29:39 -0400
65
66 gapti (0.0.2ubuntu3) intrepid; urgency=low
67
68
69=== modified file 'debian/control'
70--- debian/control 2009-04-03 01:11:25 +0000
71+++ debian/control 2010-12-12 16:43:28 +0000
72@@ -1,21 +1,24 @@
73 Source: gapti
74 Section: admin
75 Priority: optional
76-Maintainer: Jerry Haltom <wasabi@larvalstage.net>
77+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
78+XSBC-Original-Maintainer: Jerry Haltom <wasabi@larvalstage.net>
79 Uploaders: Savvas Radevic <vicedar@gmail.com>
80-Build-Depends: debhelper (>= 7), python-support, python-dev
81-Standards-Version: 3.8.0
82+Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.5-13~)
83+X-Python-Version: all
84+Standards-Version: 3.9.1
85+Homepage: http://launchpad.net/gapti
86
87 Package: gapti
88 Architecture: all
89 Depends: ${python:Depends},
90 ${misc:Depends},
91- ${sh:Depends},
92 python-gtk2 (>= 2.6.3-2),
93 python-glade2 (>= 2.6.3-2),
94 python-apt (>= 0.6.16.2),
95 python-vte (>= 1:0.11.15-4),
96 gksu (>= 1.3.6-1),
97+ software-properties-gtk,
98 synaptic,
99 update-notifier (>= 0.42)
100 Description: tool to process .apt files
101
102=== modified file 'debian/copyright'
103--- debian/copyright 2009-04-03 01:11:25 +0000
104+++ debian/copyright 2010-12-12 16:43:28 +0000
105@@ -25,5 +25,5 @@
106 You should have received a copy of the GNU General Public License
107 along with this program. If not, see <http://www.gnu.org/licenses/>.
108
109-On a Debian system, see /usr/share/common-licenses/GPL
110+On a Debian system, see /usr/share/common-licenses/GPL-3
111 The debian package is under the same license.
112
113=== removed file 'debian/pycompat'
114--- debian/pycompat 2009-03-16 16:24:38 +0000
115+++ debian/pycompat 1970-01-01 00:00:00 +0000
116@@ -1,1 +0,0 @@
117-2
118
119=== removed file 'debian/pyversions'
120--- debian/pyversions 2009-03-16 16:24:38 +0000
121+++ debian/pyversions 1970-01-01 00:00:00 +0000
122@@ -1,1 +0,0 @@
123--2.6
124
125=== modified file 'debian/rules'
126--- debian/rules 2009-04-03 01:20:08 +0000
127+++ debian/rules 2010-12-12 16:43:28 +0000
128@@ -1,47 +1,12 @@
129 #!/usr/bin/make -f
130
131-PYVERS=$(shell pyversions -vd)
132-PKG=gapti
133-PYSUPPORTDIR=usr/share/python-support/$(PKG)
134-BASE=debian/$(PKG)
135-
136-clean:
137- dh $@
138- find . -name '*.pyc' -exec rm "{}" \;
139- find . -name '*~' -exec rm "{}" \;
140- find . -name '.bzr' -exec rm "{}" \;
141- python setup.py clean --all
142-
143-build: clean
144- dh $@
145- python setup.py build
146-
147-install: build
148- dh $@
149- python setup.py install --no-compile --root=$(BASE) --install-layout=deb
150-
151-binary-indep: build install
152- dh_testdir
153- dh_testroot
154- dh_desktop
155- dh_installmime
156- dh_installdocs README
157- dh_installexamples photoshop.apt
158- dh_installman
159- dh_installchangelogs ChangeLog
160- dh_link $(PYSUPPORTDIR)/gapti/main.py usr/bin/gapti
161- dh_link $(PYSUPPORTDIR)/gapti/root.py usr/share/gapti/gapti-root
162- dh_strip
163- dh_compress
164- dh_fixperms
165- dh_pysupport
166- chmod 755 $(BASE)/$(PYSUPPORTDIR)/gapti/main.py $(BASE)/$(PYSUPPORTDIR)/gapti/root.py
167- dh_installdeb
168- dh_shlibdeps
169- dh_gencontrol
170- dh_md5sums
171- dh_builddeb
172-
173-binary-arch: build install
174-binary: binary-indep binary-arch
175-.PHONY: clean build install binary binary-indep binary-arch
176+%:
177+ dh $@ --with python2
178+
179+override_dh_auto_install:
180+ dh_auto_install -- --install-lib /usr/share/gapti
181+ # Install binary symlinks:
182+ rm -f debian/gapti/usr/share/gapti/gapti-root
183+ cd debian/gapti/usr/share/gapti/gapti/ && chmod +x main.py root.py
184+ dh_link usr/share/gapti/gapti/root.py usr/share/gapti/gapti-root
185+ dh_link usr/share/gapti/gapti/main.py usr/bin/gapti
186
187=== added directory 'debian/source'
188=== added file 'debian/source/format'
189--- debian/source/format 1970-01-01 00:00:00 +0000
190+++ debian/source/format 2010-12-12 16:43:28 +0000
191@@ -0,0 +1,1 @@
192+3.0 (native)
193
194=== modified file 'mime/gapti.xml'
195--- mime/gapti.xml 2009-03-16 16:24:38 +0000
196+++ mime/gapti.xml 2010-12-12 16:43:28 +0000
197@@ -1,11 +1,11 @@
198 <?xml version="1.0" encoding="UTF-8"?>
199 <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
200 <mime-type type="application/x-apt">
201- <sub-class-of type="text/plain"/>
202+ <sub-class-of type="text/plain"/>
203 <comment>Remote software package</comment>
204- <magic priority="80">
205- <match type="string" value="#@application/x-apt" offset="0:0"/>
206- </magic>
207+ <magic priority="80">
208+ <match type="string" value="#@application/x-apt" offset="0:0"/>
209+ </magic>
210 <glob pattern="*.apt"/>
211 </mime-type>
212 </mime-info>

Subscribers

People subscribed via source and target branches

to all changes: