Merge ~paride/tarmac:py3-debian into tarmac:master

Proposed by Paride Legovini
Status: Merged
Merged at revision: 57c3cc41d882106d9e36314989bac2d542969f66
Proposed branch: ~paride/tarmac:py3-debian
Merge into: tarmac:master
Diff against target: 163 lines (+97/-1)
10 files modified
debian/changelog (+7/-0)
debian/clean (+1/-0)
debian/control (+47/-0)
debian/copyright (+32/-0)
debian/gbp.conf (+2/-0)
debian/python3-tarmac.install (+1/-0)
debian/rules (+4/-0)
debian/source/format (+1/-0)
debian/tarmac.install (+1/-0)
tarmac/__init__.py (+1/-1)
Reviewer Review Type Date Requested Status
Joshua Powers (community) Approve
Review via email: mp+376792@code.launchpad.net

Commit message

Packaging for Tarmac

To post a comment you must log in.
Revision history for this message
Joshua Powers (powersj) :
Revision history for this message
Paride Legovini (paride) wrote :

I'm putting this in a PPA; replied to the inline comment on the version numbering.

Revision history for this message
Paride Legovini (paride) wrote :

PPA built from this branch:

sudo add-apt-repository ppa:legovini/tarmac-test

Packages are available for Eoan and Focal, no Bionic as unfortunately Bionic didn't have python3-breezy yet.

Revision history for this message
Paride Legovini (paride) wrote :

The updated packages are available in the PPA.

Revision history for this message
Joshua Powers (powersj) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2new file mode 100644
3index 0000000..9969373
4--- /dev/null
5+++ b/debian/changelog
6@@ -0,0 +1,7 @@
7+tarmac (19.1-1) UNRELEASED; urgency=medium
8+
9+ * Initial Debian packaging.
10+ * Switch to Python 3.
11+ * New version schema: YY.release.
12+
13+ -- Paride Legovini <paride.legovini@canonical.com> Mon, 25 Nov 2019 16:24:56 +0100
14diff --git a/debian/clean b/debian/clean
15new file mode 100644
16index 0000000..3feb78a
17--- /dev/null
18+++ b/debian/clean
19@@ -0,0 +1 @@
20+*.egg-info/
21diff --git a/debian/control b/debian/control
22new file mode 100644
23index 0000000..2e9dc05
24--- /dev/null
25+++ b/debian/control
26@@ -0,0 +1,47 @@
27+Source: tarmac
28+Section: python
29+Priority: optional
30+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
31+XSBC-Original-Maintainer: Paride Legovini <paride.legovini@canonical.com>
32+Build-Depends: debhelper-compat (= 12),
33+ dh-python,
34+ python3-all,
35+ python3-breezy,
36+ python3-launchpadlib,
37+ python3-mock,
38+ python3-setuptools,
39+ python3-breezy.tests
40+Standards-Version: 4.4.0
41+Rules-Requires-Root: no
42+Homepage: https://launchpad.net/tarmac
43+
44+Package: tarmac
45+Section: devel
46+Architecture: all
47+Multi-Arch: foreign
48+Depends: ${misc:Depends},
49+ ${python3:Depends},
50+ python3-breezy,
51+ python3-launchpadlib,
52+ python3-tarmac (= ${binary:Version})
53+Description: branch lander for the Bazaar branches hosted on Launchpad
54+ Tarmac uses the Launchpad API to manage a development focus branch's proposed
55+ merges. It will automatically merge approved branch merge proposals and push
56+ them back up to Launchpad.
57+ .
58+ This package provider the tarmac command line tool.
59+
60+Package: python3-tarmac
61+Architecture: all
62+Multi-Arch: foreign
63+Depends: ${misc:Depends},
64+ ${python3:Depends},
65+ python3-breezy,
66+ python3-launchpadlib
67+Suggests: tarmac
68+Description: branch lander for the Bazaar branches hosted on Launchpad (library)
69+ Tarmac uses the Launchpad API to manage a development focus branch's proposed
70+ merges. It will automatically merge approved branch merge proposals and push
71+ them back up to Launchpad.
72+ .
73+ This package provider the tarmac Python library.
74diff --git a/debian/copyright b/debian/copyright
75new file mode 100644
76index 0000000..be67384
77--- /dev/null
78+++ b/debian/copyright
79@@ -0,0 +1,32 @@
80+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
81+Upstream-Name: tarmac
82+Source: https://launchpad.net/tarmac
83+
84+Files: *
85+Copyright:
86+ 2009-2019 Canonical Ltd.
87+ 2009-2019 Paul Hummer <paul@eventuallyanyway.com>
88+License: GPL-3.0
89+
90+Files: debian/*
91+Copyright:
92+ 2019 Canonical Ltd.
93+ 2019 Paride Legovini <paride.legovini@canonical.com>
94+License: GPL-3.0
95+
96+License: GPL-3.0
97+ This program is free software: you can redistribute it and/or modify
98+ it under the terms of the GNU General Public License as published by
99+ the Free Software Foundation, version 3 of the License.
100+ .
101+ This package is distributed in the hope that it will be useful,
102+ but WITHOUT ANY WARRANTY; without even the implied warranty of
103+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
104+ GNU General Public License for more details.
105+ .
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 Debian systems, the complete text of the GNU General
110+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
111+
112diff --git a/debian/gbp.conf b/debian/gbp.conf
113new file mode 100644
114index 0000000..1aff5b7
115--- /dev/null
116+++ b/debian/gbp.conf
117@@ -0,0 +1,2 @@
118+[DEFAULT]
119+upstream-tree=SLOPPY
120diff --git a/debian/python3-tarmac.install b/debian/python3-tarmac.install
121new file mode 100644
122index 0000000..6ea82c9
123--- /dev/null
124+++ b/debian/python3-tarmac.install
125@@ -0,0 +1 @@
126+usr/lib/python3*/*-packages/tarmac/*
127diff --git a/debian/rules b/debian/rules
128new file mode 100755
129index 0000000..641186e
130--- /dev/null
131+++ b/debian/rules
132@@ -0,0 +1,4 @@
133+#!/usr/bin/make -f
134+
135+%:
136+ dh $@ --with python3 --buildsystem=pybuild
137diff --git a/debian/source/format b/debian/source/format
138new file mode 100644
139index 0000000..163aaf8
140--- /dev/null
141+++ b/debian/source/format
142@@ -0,0 +1 @@
143+3.0 (quilt)
144diff --git a/debian/tarmac.install b/debian/tarmac.install
145new file mode 100644
146index 0000000..36d9c34
147--- /dev/null
148+++ b/debian/tarmac.install
149@@ -0,0 +1 @@
150+usr/bin/tarmac
151diff --git a/tarmac/__init__.py b/tarmac/__init__.py
152index 3e52861..bfc6435 100644
153--- a/tarmac/__init__.py
154+++ b/tarmac/__init__.py
155@@ -16,7 +16,7 @@
156
157 '''Tarmac - A tool for controlling the landing of Launchpad branches.'''
158
159-__version__ = '3.5'
160+__version__ = '19.1'
161 __copyright__ = (
162 u'Paul Hummer <paul@eventuallyanyway.com>',
163 u'Canonical Ltd')

Subscribers

People subscribed via source and target branches