Merge lp:~dobey/go-unityscopes/package into lp:go-unityscopes/v2

Proposed by dobey
Status: Merged
Approved by: dobey
Approved revision: 77
Merged at revision: 75
Proposed branch: lp:~dobey/go-unityscopes/package
Merge into: lp:go-unityscopes/v2
Diff against target: 95 lines (+64/-0)
6 files modified
debian/changelog (+5/-0)
debian/compat (+1/-0)
debian/control (+21/-0)
debian/copyright (+19/-0)
debian/rules (+17/-0)
debian/source/format (+1/-0)
To merge this branch: bzr merge lp:~dobey/go-unityscopes/package
Reviewer Review Type Date Requested Status
Xavi Garcia (community) Approve
Review via email: mp+308455@code.launchpad.net

Commit message

Packaging for go-unityscopes.

To post a comment you must log in.
lp:~dobey/go-unityscopes/package updated
76. By dobey

Native package.

77. By dobey

Need to depend on golang-check
Only build binaries on certain archs
Avoid installing the test scope binary into /usr/bin.

Revision history for this message
Xavi Garcia (xavi-garcia-mena) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'debian'
2=== added file 'debian/changelog'
3--- debian/changelog 1970-01-01 00:00:00 +0000
4+++ debian/changelog 2016-10-13 21:15:51 +0000
5@@ -0,0 +1,5 @@
6+go-unityscopes (1.0) UNRELEASED; urgency=medium
7+
8+ * Initial packaging of go-unityscopes.
9+
10+ -- Rodney Dawes <rodney.dawes@canonical.com> Thu, 13 Oct 2016 16:16:54 -0400
11
12=== added file 'debian/compat'
13--- debian/compat 1970-01-01 00:00:00 +0000
14+++ debian/compat 2016-10-13 21:15:51 +0000
15@@ -0,0 +1,1 @@
16+9
17
18=== added file 'debian/control'
19--- debian/control 1970-01-01 00:00:00 +0000
20+++ debian/control 2016-10-13 21:15:51 +0000
21@@ -0,0 +1,21 @@
22+Source: go-unityscopes
23+Section: lib
24+Priority: optional
25+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
26+Build-Depends: debhelper (>= 9),
27+ dh-golang,
28+ golang-go (>= 1.6),
29+ golang-check.v1-dev,
30+ libunity-scopes-dev,
31+ pkg-config,
32+Standards-Version: 3.9.6
33+Homepage: https://launchpad.net/go-unityscopes
34+Vcs-Bzr: lp:go-unityscopes/v2
35+
36+Package: golang-launchpad-go-unityscopes-v2-dev
37+Architecture: amd64 arm64 armhf i386
38+Depends: ${misc:Depends},
39+ ${shlibs:Depends},
40+Built-Using: ${misc:Built-Using}
41+Description: Go bindings for Unity 8 scopes API.
42+ This package contains the Go bindings for the scopes API for Unity 8.
43
44=== added file 'debian/copyright'
45--- debian/copyright 1970-01-01 00:00:00 +0000
46+++ debian/copyright 2016-10-13 21:15:51 +0000
47@@ -0,0 +1,19 @@
48+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
49+
50+Files: *
51+Copyright: 2015-2016 Canonical Ltd.
52+License: LGPL-3
53+ This program is free software: you can redistribute it and/or modify it under
54+ the terms of the GNU Lesser General Public License as published by the Free
55+ Software Foundation, either version 3 of the License, or (at your option) any
56+ later version.
57+ .
58+ This program is distributed in the hope that it will be useful, but WITHOUT ANY
59+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
60+ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
61+ .
62+ You should have received a copy of the GNU Lesser General Public License along
63+ with this program. If not, see <http://www.gnu.org/licenses/>.
64+ .
65+ The full text of the LGPL v3 is distributed in
66+ /usr/share/common-licenses/LGPL-3 on Debian systems.
67
68=== added file 'debian/rules'
69--- debian/rules 1970-01-01 00:00:00 +0000
70+++ debian/rules 2016-10-13 21:15:51 +0000
71@@ -0,0 +1,17 @@
72+#!/usr/bin/make -f
73+
74+export DH_GOPKG := launchpad.net/go-unityscopes/v2
75+
76+# Tell dh-golang that we need subpackages.
77+export DH_GOLANG_INSTALL_ALL := 1
78+
79+# Setup the paths so we can run gocov and gocov-xml.
80+export GOPATH := $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
81+export PATH := $(GOPATH)/bin:$(PATH)
82+
83+%:
84+ dh $@ --buildsystem=golang --with=golang
85+
86+override_dh_auto_install:
87+ dh_auto_install
88+ rm -f $(CURDIR)/debian/*/usr/bin/goscope
89
90=== added directory 'debian/source'
91=== added file 'debian/source/format'
92--- debian/source/format 1970-01-01 00:00:00 +0000
93+++ debian/source/format 2016-10-13 21:15:51 +0000
94@@ -0,0 +1,1 @@
95+3.0 (native)

Subscribers

People subscribed via source and target branches

to all changes: