Merge lp:~dholbach/snapcraft/snapcraft-examples into lp:~fgimenez/snapcraft/build-examples-test

Proposed by Daniel Holbach
Status: Merged
Approved by: Federico Gimenez
Approved revision: 173
Merged at revision: 174
Proposed branch: lp:~dholbach/snapcraft/snapcraft-examples
Merge into: lp:~fgimenez/snapcraft/build-examples-test
Diff against target: 55 lines (+18/-5)
5 files modified
debian/control (+11/-0)
debian/rules (+3/-0)
debian/snapcraft-examples.install (+1/-0)
debian/snapcraft.install (+3/-0)
debian/source/options (+0/-5)
To merge this branch: bzr merge lp:~dholbach/snapcraft/snapcraft-examples
Reviewer Review Type Date Requested Status
Federico Gimenez Approve
Sergio Schvezov (community) Approve
Review via email: mp+271838@code.launchpad.net

Commit message

Add initial packaging for snapcraft-examples.

To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Files are installed into /usr/share/snapcraft/examples - not sure if that'll be good enough for our tests runner or if things need to be adapted.

Revision history for this message
Sergio Schvezov (sergiusens) :
review: Approve
Revision history for this message
Federico Gimenez (fgimenez) wrote :

LGTM, thanks Daniel!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2015-09-16 14:26:10 +0000
3+++ debian/control 2015-09-21 16:27:23 +0000
4@@ -39,3 +39,14 @@
5 a single toolset, but instead is a collection of tools that enable the
6 natural workflow of an upstream to be extended with a simple release step
7 into Snappy.
8+
9+Package: snapcraft-examples
10+Architecture: all
11+Depends: snapcraft (= ${binary:Version}), ${misc:Depends}, ${python:Depends}
12+Description: examples for snapcraft
13+ Snapcraft aims to make upstream developers' lives easier and as such is not
14+ a single toolset, but instead is a collection of tools that enable the
15+ natural workflow of an upstream to be extended with a simple release step
16+ into Snappy.
17+ .
18+ This package contains examples for snapcraft.
19
20=== modified file 'debian/rules'
21--- debian/rules 2015-09-16 14:26:10 +0000
22+++ debian/rules 2015-09-21 16:27:23 +0000
23@@ -3,3 +3,6 @@
24
25 %:
26 dh $@ --with python3 --buildsystem=pybuild
27+
28+override_dh_compress:
29+ dh_compress -X/usr/share/snapcraft/examples
30
31=== added file 'debian/snapcraft-examples.install'
32--- debian/snapcraft-examples.install 1970-01-01 00:00:00 +0000
33+++ debian/snapcraft-examples.install 2015-09-21 16:27:23 +0000
34@@ -0,0 +1,1 @@
35+examples /usr/share/snapcraft
36
37=== added file 'debian/snapcraft.install'
38--- debian/snapcraft.install 1970-01-01 00:00:00 +0000
39+++ debian/snapcraft.install 2015-09-21 16:27:23 +0000
40@@ -0,0 +1,3 @@
41+/usr/bin
42+/usr/lib/python*
43+/usr/share/snapcraft
44
45=== modified file 'debian/source/options'
46--- debian/source/options 2015-09-21 08:20:21 +0000
47+++ debian/source/options 2015-09-21 16:27:23 +0000
48@@ -1,7 +1,2 @@
49 # Ignore standard files (like .bzr)
50 tar-ignore
51-
52-# Ignore examples folder because it likely contains a bunch of stuff we don't
53-# care about (like downloaded go1.4 binaries and such). It's not important
54-# for it to be distributed with the source.
55-# tar-ignore = "examples"

Subscribers

People subscribed via source and target branches

to status/vote changes: