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

Proposed by Andrew Starr-Bochicchio
Status: Merged
Merged at revision: 738
Proposed branch: lp:~andrewsomething/bzr-builddeb/BTS711042
Merge into: lp:bzr-builddeb
Diff against target: 225 lines (+55/-66)
11 files modified
debian/changelog (+21/-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)
tests/blackbox/test_import_dsc.py (+4/-2)
version.py (+1/-1)
To merge this branch: bzr merge lp:~andrewsomething/bzr-builddeb/BTS711042
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve
Review via email: mp+168299@code.launchpad.net

Description of the change

This fixes Debian BTS: #711042

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711042

  * tests/blackbox/test_import_dsc.py:
   - Explicitly pass '--format=1.0' to dpkg-source inorder to
     silence "no source format specified" warnings printed to
     stderr (Closes: #711042).

It also includes the changes from lp:~andrewsomething/bzr-builddeb/spring_cleaning

https://code.launchpad.net/~andrewsomething/bzr-builddeb/spring_cleaning/+merge/165247

That branch has been pushed to Alioth and uploaded to Debian. It hasn't actually landed in lp:bzr-builddeb though. It was approved by Jelmer.

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

On Sun, Jun 09, 2013 at 06:51:24PM -0000, Andrew Starr-Bochicchio wrote:
> Andrew Starr-Bochicchio has proposed merging lp:~andrewsomething/bzr-builddeb/BTS711042 into lp:bzr-builddeb.
>
> Requested reviews:
> Bzr-builddeb-hackers (bzr-builddeb-hackers)
>
> For more details, see:
> https://code.launchpad.net/~andrewsomething/bzr-builddeb/BTS711042/+merge/168299
>
> This fixes Debian BTS: #711042
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711042
>
> * tests/blackbox/test_import_dsc.py:
> - Explicitly pass '--format=1.0' to dpkg-source inorder to
> silence "no source format specified" warnings printed to
> stderr (Closes: #711042).
>
> It also includes the changes from lp:~andrewsomething/bzr-builddeb/spring_cleaning
>
> https://code.launchpad.net/~andrewsomething/bzr-builddeb/spring_cleaning/+merge/165247
>
> That branch has been pushed to Alioth and uploaded to Debian. It hasn't actually landed in lp:bzr-builddeb though. It was approved by Jelmer.

  review approve

Cheers,

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

Subscribers

People subscribed via source and target branches