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
=== modified file 'debian/changelog'
--- debian/changelog 2012-12-03 22:33:39 +0000
+++ debian/changelog 2013-05-22 20:51:26 +0000
@@ -1,3 +1,15 @@
1bzr-builddeb (2.8.6) unstable; urgency=low
2
3 * Team upload.
4 * Upload to unstable.
5 * Move to minimal dh style rules file.
6 * Drop bzr-svn from Build-Depends-Indep and Suggests (Closes: #709288).
7 * Bump Standards-Version to 3.9.4, no changes needed.
8 * Drop deprecated debian/pycompat and debian/pyversions files.
9 * Add autopkgtests.
10
11 -- Andrew Starr-Bochicchio <asb@debian.org> Wed, 22 May 2013 14:03:43 -0400
12
1bzr-builddeb (2.8.5) experimental; urgency=low13bzr-builddeb (2.8.5) experimental; urgency=low
214
3 * Cope with quilt output being empty in error message. LP: #101454315 * Cope with quilt output being empty in error message. LP: #1014543
416
=== modified file 'debian/compat'
--- debian/compat 2006-08-15 21:34:50 +0000
+++ debian/compat 2013-05-22 20:51:26 +0000
@@ -1,1 +1,1 @@
1519
22
=== modified file 'debian/control'
--- debian/control 2012-12-03 22:28:44 +0000
+++ debian/control 2013-05-22 20:51:26 +0000
@@ -3,18 +3,19 @@
3Priority: optional3Priority: optional
4Maintainer: Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>4Maintainer: Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>
5Uploaders: James Westby <james.westby@ubuntu.com>5Uploaders: James Westby <james.westby@ubuntu.com>
6Build-Depends: debhelper (>= 5.0.37.2), python-all (>= 2.6.6-3), xz-utils6Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3), xz-utils
7Build-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-svn7Build-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
8Vcs-Bzr: http://bzr.debian.org/pkg-bazaar/bzr-builddeb/unstable8Vcs-Bzr: http://bzr.debian.org/pkg-bazaar/bzr-builddeb/unstable
9Vcs-Browser: http://bzr.debian.org/loggerhead/pkg-bazaar/bzr-builddeb/unstable9Vcs-Browser: http://bzr.debian.org/loggerhead/pkg-bazaar/bzr-builddeb/unstable
10X-Python-Version: >= 2.410X-Python-Version: >= 2.4
11Standards-Version: 3.9.311Standards-Version: 3.9.4
12XS-Testsuite: autopkgtest
1213
13Package: bzr-builddeb14Package: bzr-builddeb
14Architecture: all15Architecture: all
15Depends: 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}16Depends: 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}
16Recommends: python-launchpadlib, libalgorithm-merge-perl, python-distro-info17Recommends: python-launchpadlib, libalgorithm-merge-perl, python-distro-info
17Suggests: bzr-svn (>= 0.4.10), python-lzma18Suggests: python-lzma
18Provides: bzr-buildpackage19Provides: bzr-buildpackage
19Description: bzr plugin for Debian package management20Description: bzr plugin for Debian package management
20 bzr-builddeb is a plugin for the bzr version control system that helps to21 bzr-builddeb is a plugin for the bzr version control system that helps to
2122
=== removed file 'debian/pycompat'
--- debian/pycompat 2006-09-17 15:19:19 +0000
+++ debian/pycompat 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
12
20
=== removed file 'debian/pyversions'
--- debian/pyversions 2006-08-16 16:41:19 +0000
+++ debian/pyversions 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
12.4-
20
=== modified file 'debian/rules'
--- debian/rules 2012-01-16 00:25:08 +0000
+++ debian/rules 2013-05-22 20:51:26 +0000
@@ -10,18 +10,8 @@
10rst_docs=$(wildcard $(addsuffix /*.rst, $(doc_dir)))10rst_docs=$(wildcard $(addsuffix /*.rst, $(doc_dir)))
11html_docs=$(patsubst %.rst, %.html, $(rst_docs))11html_docs=$(patsubst %.rst, %.html, $(rst_docs))
1212
13%.html: %.rst13%:
14 rst2html --stylesheet-path=$(doc_dir)/user_manual.css $< > $@14 dh $* --with python2 --buildsystem=python_distutils
15
16docs: $(html_docs)
17
18build-indep: $(PYVERS:%=build-python%) docs
19 rst2html README > README.html
20 touch $@
21
22build-arch:
23
24build: build-indep
2515
26ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))16ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
27SELFTEST_CONCURRENCY = BZR_CONCURRENCY=$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))17SELFTEST_CONCURRENCY = BZR_CONCURRENCY=$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
@@ -31,53 +21,20 @@
31SELFTEST_PARALLEL =21SELFTEST_PARALLEL =
32endif22endif
3323
34build-python%:24override_dh_auto_test:
35 python$* setup.py build
36ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))25ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
37 $(SELFTEST_CONCURRENCY) BZR_PLUGINS_AT=builddeb@$(CURDIR) python$* /usr/bin/bzr selftest \26 $(SELFTEST_CONCURRENCY) BZR_PLUGINS_AT=builddeb@$(CURDIR) python$* /usr/bin/bzr selftest \
38 $(SELFTEST_PARALLEL) -v -s bp.builddeb27 $(SELFTEST_PARALLEL) -v -s bp.builddeb
39endif28endif
40 touch $@-stamp29
4130%.html: %.rst
42clean:31 rst2html --stylesheet-path=$(doc_dir)/user_manual.css $< > $@
43 dh_testdir32
44 dh_testroot33override_dh_auto_build-indep: $(html_docs)
45 rm -f build-stamp install-all-stamp build-python*-stamp34 rst2html README > README.html
35
36override_dh_auto_clean:
37 dh_auto_clean
46 rm -f $(html_docs)38 rm -f $(html_docs)
47 rm -f README.html39 rm -f README.html
4840
49 python setup.py clean --all
50 dh_clean
51
52install: build-indep $(PYVERS:%=install-python%)
53
54install-all-stamp:
55 dh_testdir
56 dh_testroot
57 dh_clean
58 dh_installdirs
59 touch install-all-stamp
60
61install-python%: install-all-stamp
62 python$* setup.py install --root=$(CURDIR)/debian/bzr-builddeb --no-compile --install-layout=deb
63
64binary-indep: build-indep install
65 dh_testdir
66 dh_testroot
67 dh_install
68 dh_installchangelogs
69 dh_installdocs
70 dh_installexamples
71 dh_compress
72 dh_fixperms
73 dh_python2
74 dh_installdeb
75 dh_shlibdeps
76 dh_gencontrol
77 dh_md5sums
78 dh_builddeb
79
80binary-arch: build-arch install
81
82binary: binary-indep binary-arch
83.PHONY: build clean binary-indep binary-arch binary install build-arch build-indep
8441
=== added directory 'debian/tests'
=== added file 'debian/tests/control'
--- debian/tests/control 1970-01-01 00:00:00 +0000
+++ debian/tests/control 2013-05-22 20:51:26 +0000
@@ -0,0 +1,3 @@
1Tests: testsuite
2Depends: @, python-bzrlib.tests, python-subunit, python-testtools, python-lzma
3Features: no-build-needed
04
=== added file 'debian/tests/testsuite'
--- debian/tests/testsuite 1970-01-01 00:00:00 +0000
+++ debian/tests/testsuite 2013-05-22 20:51:26 +0000
@@ -0,0 +1,7 @@
1#!/bin/sh
2
3# Disable the doctest bzrlib.plugins.builddeb.config.DebBuildConfig.__init__
4# as it wants to find sample conf files from the source tree that are not
5# guaranteed to actually exist.
6/usr/bin/bzr selftest -s bp.builddeb --parallel=fork \
7 -x bzrlib.plugins.builddeb.config.DebBuildConfig.__init__
08
=== modified file 'info.py'
--- info.py 2012-06-18 15:50:12 +0000
+++ info.py 2013-05-22 20:51:26 +0000
@@ -18,7 +18,7 @@
1818
19bzr_plugin_name = 'builddeb'19bzr_plugin_name = 'builddeb'
2020
21bzr_plugin_version = (2, 8, 5, 'dev', 0)21bzr_plugin_version = (2, 8, 6, 'final', 0)
2222
23bzr_commands = [23bzr_commands = [
24 "test_builddeb",24 "test_builddeb",
2525
=== modified file 'version.py'
--- version.py 2009-03-08 23:05:19 +0000
+++ version.py 2013-05-22 20:51:26 +0000
@@ -26,5 +26,5 @@
26# releaselevel of 'dev' for unreleased under-development code.26# releaselevel of 'dev' for unreleased under-development code.
27#27#
28# Please set this to 'final' before upload.28# Please set this to 'final' before upload.
29version_info = (2, 1, 2, 'dev', 0)29version_info = (2, 8, 6, 'final', 0)
3030

Subscribers

People subscribed via source and target branches