Merge lp:~andrewsomething/bzr-builddeb/spring_cleaning into lp:bzr-builddeb

Proposed by Andrew Starr-Bochicchio
Status: Merged
Merged at revision: 738
Proposed branch: lp:~andrewsomething/bzr-builddeb/spring_cleaning
Merge into: lp:bzr-builddeb
Diff against target: 199 lines (+42/-64)
10 files modified
debian/changelog (+12/-0)
debian/compat (+1/-1)
debian/control (+5/-4)
debian/pycompat (+0/-1)
debian/pyversions (+0/-1)
debian/rules (+12/-55)
debian/tests/control (+3/-0)
debian/tests/testsuite (+7/-0)
info.py (+1/-1)
version.py (+1/-1)
To merge this branch: bzr merge lp:~andrewsomething/bzr-builddeb/spring_cleaning
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve
Review via email: mp+165247@code.launchpad.net

Description of the change

Hi,

bzr-builddeb needs an upload in Debian to promote 2.8.5 from experimental
to unstable. So I took the opportunity to do a little house cleaning.

  * Move to minimal dh style rules file.
  * Drop bzr-svn from Build-Depends-Indep and Suggests (Closes: #709288).
  * Bump Standards-Version to 3.9.4, no changes needed.
  * Drop deprecated debian/pycompat and debian/pyversions files.
  * Add autopkgtests.

To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-12-03 22:33:39 +0000
3+++ debian/changelog 2013-05-22 20:51:26 +0000
4@@ -1,3 +1,15 @@
5+bzr-builddeb (2.8.6) unstable; urgency=low
6+
7+ * Team upload.
8+ * Upload to unstable.
9+ * Move to minimal dh style rules file.
10+ * Drop bzr-svn from Build-Depends-Indep and Suggests (Closes: #709288).
11+ * Bump Standards-Version to 3.9.4, no changes needed.
12+ * Drop deprecated debian/pycompat and debian/pyversions files.
13+ * Add autopkgtests.
14+
15+ -- Andrew Starr-Bochicchio <asb@debian.org> Wed, 22 May 2013 14:03:43 -0400
16+
17 bzr-builddeb (2.8.5) experimental; urgency=low
18
19 * Cope with quilt output being empty in error message. LP: #1014543
20
21=== modified file 'debian/compat'
22--- debian/compat 2006-08-15 21:34:50 +0000
23+++ debian/compat 2013-05-22 20:51:26 +0000
24@@ -1,1 +1,1 @@
25-5
26+9
27
28=== modified file 'debian/control'
29--- debian/control 2012-12-03 22:28:44 +0000
30+++ debian/control 2013-05-22 20:51:26 +0000
31@@ -3,18 +3,19 @@
32 Priority: optional
33 Maintainer: Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>
34 Uploaders: James Westby <james.westby@ubuntu.com>
35-Build-Depends: debhelper (>= 5.0.37.2), python-all (>= 2.6.6-3), xz-utils
36-Build-Depends-Indep: bzr (>= 2.1~), python-docutils, python-debian (>= 0.1.11), python-apt, patchutils, python-testtools (>= 0.9.2), pristine-tar, devscripts (>= 2.10.59), python-subunit, python-bzrlib.tests | bzr (<< 2.4.0~beta1-2), python-lzma, libalgorithm-merge-perl, python-distro-info, quilt, bzr-svn
37+Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3), xz-utils
38+Build-Depends-Indep: bzr (>= 2.1~), python-docutils, python-debian (>= 0.1.11), python-apt, patchutils, python-testtools (>= 0.9.2), pristine-tar, devscripts (>= 2.10.59), python-subunit, python-bzrlib.tests | bzr (<< 2.4.0~beta1-2), python-lzma, libalgorithm-merge-perl, python-distro-info, quilt
39 Vcs-Bzr: http://bzr.debian.org/pkg-bazaar/bzr-builddeb/unstable
40 Vcs-Browser: http://bzr.debian.org/loggerhead/pkg-bazaar/bzr-builddeb/unstable
41 X-Python-Version: >= 2.4
42-Standards-Version: 3.9.3
43+Standards-Version: 3.9.4
44+XS-Testsuite: autopkgtest
45
46 Package: bzr-builddeb
47 Architecture: all
48 Depends: bzr (>= 2.1~), python-debian (>= 0.1.11), python-apt, ${python:Depends}, dpkg-dev, fakeroot, devscripts (>= 2.10.59), patchutils, pristine-tar, quilt, ${misc:Depends}
49 Recommends: python-launchpadlib, libalgorithm-merge-perl, python-distro-info
50-Suggests: bzr-svn (>= 0.4.10), python-lzma
51+Suggests: python-lzma
52 Provides: bzr-buildpackage
53 Description: bzr plugin for Debian package management
54 bzr-builddeb is a plugin for the bzr version control system that helps to
55
56=== removed file 'debian/pycompat'
57--- debian/pycompat 2006-09-17 15:19:19 +0000
58+++ debian/pycompat 1970-01-01 00:00:00 +0000
59@@ -1,1 +0,0 @@
60-2
61
62=== removed file 'debian/pyversions'
63--- debian/pyversions 2006-08-16 16:41:19 +0000
64+++ debian/pyversions 1970-01-01 00:00:00 +0000
65@@ -1,1 +0,0 @@
66-2.4-
67
68=== modified file 'debian/rules'
69--- debian/rules 2012-01-16 00:25:08 +0000
70+++ debian/rules 2013-05-22 20:51:26 +0000
71@@ -10,18 +10,8 @@
72 rst_docs=$(wildcard $(addsuffix /*.rst, $(doc_dir)))
73 html_docs=$(patsubst %.rst, %.html, $(rst_docs))
74
75-%.html: %.rst
76- rst2html --stylesheet-path=$(doc_dir)/user_manual.css $< > $@
77-
78-docs: $(html_docs)
79-
80-build-indep: $(PYVERS:%=build-python%) docs
81- rst2html README > README.html
82- touch $@
83-
84-build-arch:
85-
86-build: build-indep
87+%:
88+ dh $* --with python2 --buildsystem=python_distutils
89
90 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
91 SELFTEST_CONCURRENCY = BZR_CONCURRENCY=$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
92@@ -31,53 +21,20 @@
93 SELFTEST_PARALLEL =
94 endif
95
96-build-python%:
97- python$* setup.py build
98+override_dh_auto_test:
99 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
100 $(SELFTEST_CONCURRENCY) BZR_PLUGINS_AT=builddeb@$(CURDIR) python$* /usr/bin/bzr selftest \
101 $(SELFTEST_PARALLEL) -v -s bp.builddeb
102 endif
103- touch $@-stamp
104-
105-clean:
106- dh_testdir
107- dh_testroot
108- rm -f build-stamp install-all-stamp build-python*-stamp
109+
110+%.html: %.rst
111+ rst2html --stylesheet-path=$(doc_dir)/user_manual.css $< > $@
112+
113+override_dh_auto_build-indep: $(html_docs)
114+ rst2html README > README.html
115+
116+override_dh_auto_clean:
117+ dh_auto_clean
118 rm -f $(html_docs)
119 rm -f README.html
120
121- python setup.py clean --all
122- dh_clean
123-
124-install: build-indep $(PYVERS:%=install-python%)
125-
126-install-all-stamp:
127- dh_testdir
128- dh_testroot
129- dh_clean
130- dh_installdirs
131- touch install-all-stamp
132-
133-install-python%: install-all-stamp
134- python$* setup.py install --root=$(CURDIR)/debian/bzr-builddeb --no-compile --install-layout=deb
135-
136-binary-indep: build-indep install
137- dh_testdir
138- dh_testroot
139- dh_install
140- dh_installchangelogs
141- dh_installdocs
142- dh_installexamples
143- dh_compress
144- dh_fixperms
145- dh_python2
146- dh_installdeb
147- dh_shlibdeps
148- dh_gencontrol
149- dh_md5sums
150- dh_builddeb
151-
152-binary-arch: build-arch install
153-
154-binary: binary-indep binary-arch
155-.PHONY: build clean binary-indep binary-arch binary install build-arch build-indep
156
157=== added directory 'debian/tests'
158=== added file 'debian/tests/control'
159--- debian/tests/control 1970-01-01 00:00:00 +0000
160+++ debian/tests/control 2013-05-22 20:51:26 +0000
161@@ -0,0 +1,3 @@
162+Tests: testsuite
163+Depends: @, python-bzrlib.tests, python-subunit, python-testtools, python-lzma
164+Features: no-build-needed
165
166=== added file 'debian/tests/testsuite'
167--- debian/tests/testsuite 1970-01-01 00:00:00 +0000
168+++ debian/tests/testsuite 2013-05-22 20:51:26 +0000
169@@ -0,0 +1,7 @@
170+#!/bin/sh
171+
172+# Disable the doctest bzrlib.plugins.builddeb.config.DebBuildConfig.__init__
173+# as it wants to find sample conf files from the source tree that are not
174+# guaranteed to actually exist.
175+/usr/bin/bzr selftest -s bp.builddeb --parallel=fork \
176+ -x bzrlib.plugins.builddeb.config.DebBuildConfig.__init__
177
178=== modified file 'info.py'
179--- info.py 2012-06-18 15:50:12 +0000
180+++ info.py 2013-05-22 20:51:26 +0000
181@@ -18,7 +18,7 @@
182
183 bzr_plugin_name = 'builddeb'
184
185-bzr_plugin_version = (2, 8, 5, 'dev', 0)
186+bzr_plugin_version = (2, 8, 6, 'final', 0)
187
188 bzr_commands = [
189 "test_builddeb",
190
191=== modified file 'version.py'
192--- version.py 2009-03-08 23:05:19 +0000
193+++ version.py 2013-05-22 20:51:26 +0000
194@@ -26,5 +26,5 @@
195 # releaselevel of 'dev' for unreleased under-development code.
196 #
197 # Please set this to 'final' before upload.
198-version_info = (2, 1, 2, 'dev', 0)
199+version_info = (2, 8, 6, 'final', 0)
200

Subscribers

People subscribed via source and target branches