Merge lp:~aaron-whitehouse/duplicity/07-snap into lp:~duplicity-team/duplicity/0.7-series

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

Commit message

Add snapcraft packaging instructions for 0.7 series

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
=== modified file 'dist/makedist'
--- dist/makedist 2017-07-11 14:55:38 +0000
+++ dist/makedist 2019-05-30 21:24:40 +0000
@@ -99,6 +99,8 @@
99 os.path.join(tardir, "bin", "duplicity.1"))99 os.path.join(tardir, "bin", "duplicity.1"))
100 VersionedCopy(os.path.join("bin", "rdiffdir.1"),100 VersionedCopy(os.path.join("bin", "rdiffdir.1"),
101 os.path.join(tardir, "bin", "rdiffdir.1"))101 os.path.join(tardir, "bin", "rdiffdir.1"))
102 VersionedCopy(os.path.join("snap", "snapcraft.yaml"),
103 os.path.join(tardir, "snap", "snapcraft.yaml"))
102 VersionedCopy("setup.py",104 VersionedCopy("setup.py",
103 os.path.join(tardir, "setup.py"))105 os.path.join(tardir, "setup.py"))
104106
105107
=== added directory 'snap'
=== added directory 'snap/local'
=== added file 'snap/local/README-SNAP.txt'
--- snap/local/README-SNAP.txt 1970-01-01 00:00:00 +0000
+++ snap/local/README-SNAP.txt 2019-05-30 21:24:40 +0000
@@ -0,0 +1,7 @@
1Snaps are packages: https://snapcraft.io
2
3Snaps for duplicity should be built from releases of duplicity,
4after dist/makedist has been run on the files.
5
6To build a snap, in the root of the project, type:
7SNAPCRAFT_BUILD_INFO=y snapcraft
08
=== added file 'snap/local/changelog.txt'
--- snap/local/changelog.txt 1970-01-01 00:00:00 +0000
+++ snap/local/changelog.txt 2019-05-30 21:24:40 +0000
@@ -0,0 +1,8 @@
1Snap changelog
2Revision Version Change
36 0.7.19 Added a large number of dependencies beyond those in
4 requirements.txt based on those imported or used in
5 backends.
67 0.7.19 Added additional dependencies from .deb package.
78 0.8.00 Added openssh-client, jottalib
89 0.8.00 Changed bin/duplicity to use python2
09
=== added file 'snap/snapcraft.yaml'
--- snap/snapcraft.yaml 1970-01-01 00:00:00 +0000
+++ snap/snapcraft.yaml 2019-05-30 21:24:40 +0000
@@ -0,0 +1,54 @@
1name: duplicity
2version: $version
3summary: Efficient, encrypted backup to local or remote hosts
4description: |
5 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.
6
7grade: stable
8confinement: classic
9base: core18
10
11apps:
12 duplicity:
13 command: bin/duplicity
14
15parts:
16 duplicity:
17 plugin: python
18 python-version: python2
19 stage-packages:
20 - gnupg
21 - lftp # for lftpbackend.py
22 - librsync1
23 - librsync-dev
24 - megatools # for megabackend.py
25 - ncftp # for ncftpbackend.py
26 - openssh-client # for ssh_pexpect_backend.py
27 - python-azure # for azurebackend.py
28 - python-boto # for botobackend.py
29 - python-cloudfiles # for cfbackend.py
30 - python-fasteners
31 - python-future
32 - python-gdata # for gdocsbackend.py
33 - python-gi # for giobackend.py
34 - python-googleapi # for pydrivebackend.py
35 - python-httplib2 # for pydrivebackend.py
36 - python-lockfile
37 - python-oauthlib
38 - python-paramiko # for ssh_paramiko_backend.py
39 - python-requests # for adbackend.py, onedrivebackend.py
40 - python-requests-oauthlib # as above
41 - python-swiftclient # for swiftbackend.py
42 - python-urllib3
43 - rsync # for rsyncbackend.py
44 - tahoe-lafs # for tahoebackend.py
45 # -sx for sxbackend.py, but looks dead http://www.skylable.com/
46 python-packages: [b2, dropbox, mediafire, pydrive, pyrax]
47 # b2 for b2backend.py
48 # dropbox for dpbxbackend.py
49 # mediafire for mediafirebackend.py
50 # pydrive for pydrivebackend.py
51 # pyrax for hubicbackend, _cf_pyrax.py
52 # jottalib backend is not in 0.7-series
53 source: .
54

Subscribers

People subscribed via source and target branches