Merge lp:~aaron-whitehouse/duplicity/08-snap-python2 into lp:~duplicity-team/duplicity/0.8-series

Proposed by Aaron Whitehouse
Status: Merged
Merged at revision: 1429
Proposed branch: lp:~aaron-whitehouse/duplicity/08-snap-python2
Merge into: lp:~duplicity-team/duplicity/0.8-series
Diff against target: 102 lines (+75/-0)
4 files modified
dist/makedist (+2/-0)
snap/local/README-SNAP.txt (+7/-0)
snap/local/changelog.txt (+12/-0)
snap/snapcraft.yaml (+54/-0)
To merge this branch: bzr merge lp:~aaron-whitehouse/duplicity/08-snap-python2
Reviewer Review Type Date Requested Status
duplicity-team Pending
Review via email: mp+371421@code.launchpad.net

Commit message

Add packaging code for Snapcraft/Snap packages

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'dist/makedist'
2--- dist/makedist 2019-07-31 14:34:20 +0000
3+++ dist/makedist 2019-08-16 23:27:30 +0000
4@@ -102,6 +102,8 @@
5 os.path.join(tardir, u"bin", u"duplicity.1"))
6 VersionedCopy(os.path.join(u"bin", u"rdiffdir.1"),
7 os.path.join(tardir, u"bin", u"rdiffdir.1"))
8+ VersionedCopy(os.path.join(u"snap", u"snapcraft.yaml"),
9+ os.path.join(tardir, u"snap", u"snapcraft.yaml"))
10 VersionedCopy(u"setup.py",
11 os.path.join(tardir, u"setup.py"))
12
13
14=== added directory 'snap'
15=== added directory 'snap/local'
16=== added file 'snap/local/README-SNAP.txt'
17--- snap/local/README-SNAP.txt 1970-01-01 00:00:00 +0000
18+++ snap/local/README-SNAP.txt 2019-08-16 23:27:30 +0000
19@@ -0,0 +1,7 @@
20+Snaps are packages: https://snapcraft.io
21+
22+Snaps for duplicity should be built from releases of duplicity,
23+after dist/makedist has been run on the files.
24+
25+To build a snap, in the root of the project, type:
26+SNAPCRAFT_BUILD_INFO=y snapcraft
27
28=== added file 'snap/local/changelog.txt'
29--- snap/local/changelog.txt 1970-01-01 00:00:00 +0000
30+++ snap/local/changelog.txt 2019-08-16 23:27:30 +0000
31@@ -0,0 +1,12 @@
32+Snap changelog
33+
34+Revision Version Change
35+6 0.7.19 Added a large number of dependencies beyond those in
36+ requirements.txt based on those imported or used in
37+ backends.
38+7 0.7.19 Added additional dependencies from .deb package.
39+8 0.8.00 Added openssh-client, jottalib
40+9 0.8.00 Changed bin/duplicity to use python2
41+10 0.8.01 New duplicity version, no snap changes
42+11 0.8.02 New duplicity version, no snap changes
43+12 0.8.03 New duplicity version, no snap changes
44
45=== added file 'snap/snapcraft.yaml'
46--- snap/snapcraft.yaml 1970-01-01 00:00:00 +0000
47+++ snap/snapcraft.yaml 2019-08-16 23:27:30 +0000
48@@ -0,0 +1,54 @@
49+name: duplicity
50+version: $version
51+summary: Efficient, encrypted backup to local or remote hosts
52+description: |
53+ Duplicity backs directories by producing encrypted tar-format volumes and uploading them to a remote or local file server. Because duplicity uses librsync, the incremental archives are space efficient and only record the parts of files that have changed since the last backup. Because duplicity uses GnuPG to encrypt and/or sign these archives, they will be safe from spying and/or modification by the server.
54+
55+grade: stable
56+confinement: classic
57+base: core18
58+
59+apps:
60+ duplicity:
61+ command: bin/duplicity
62+
63+parts:
64+ duplicity:
65+ plugin: python
66+ python-version: python2
67+ stage-packages:
68+ - gnupg
69+ - lftp # for lftpbackend.py
70+ - librsync1
71+ - librsync-dev
72+ - megatools # for megabackend.py
73+ - ncftp # for ncftpbackend.py
74+ - openssh-client # for ssh_pexpect_backend.py
75+ - python-azure # for azurebackend.py
76+ - python-boto # for botobackend.py
77+ - python-cloudfiles # for cfbackend.py
78+ - python-fasteners
79+ - python-future
80+ - python-gdata # for gdocsbackend.py
81+ - python-gi # for giobackend.py
82+ - python-googleapi # for pydrivebackend.py
83+ - python-httplib2 # for pydrivebackend.py
84+ - python-lockfile
85+ - python-oauthlib
86+ - python-paramiko # for ssh_paramiko_backend.py
87+ - python-requests # for adbackend.py, onedrivebackend.py
88+ - python-requests-oauthlib # as above
89+ - python-swiftclient # for swiftbackend.py
90+ - python-urllib3
91+ - rsync # for rsyncbackend.py
92+ - tahoe-lafs # for tahoebackend.py
93+ # -sx for sxbackend.py, but looks dead http://www.skylable.com/
94+ python-packages: [b2, dropbox, jottalib, mediafire, pydrive, pyrax]
95+ # b2 for b2backend.py
96+ # dropbox for dpbxbackend.py
97+ # mediafire for mediafirebackend.py
98+ # pydrive for pydrivebackend.py
99+ # pyrax for hubicbackend, _cf_pyrax.py
100+ # jottalib for jottalib backend (new in 0.8 series)
101+ source: .
102+

Subscribers

People subscribed via source and target branches