Commit c8724780 authored by Jeremy Bicha's avatar Jeremy Bicha

Don't depend on duplicity on Ubuntu (to not install python2 by default)

Deja Dup will install duplicity if needed using PackageKit.
parent 124823fe
......@@ -5,6 +5,9 @@ deja-dup (36.3-2) UNRELEASED; urgency=medium
* Update Vcs fields for migration to https://salsa.debian.org/
* Bump debhelper compat to 11
* Add debian/docs to install NEWS
* Don't skip dh_auto_test
* Don't depend on duplicity on Ubuntu (to not install python2 by default).
Deja Dup will install duplicity if needed using PackageKit.
-- Jeremy Bicha <jbicha@debian.org> Fri, 19 Jan 2018 13:27:40 -0500
......
......@@ -11,7 +11,6 @@ Build-Depends: appstream-util,
dbus,
debhelper (>= 11),
desktop-file-utils,
gettext,
gnome-pkg-tools,
libglib2.0-bin,
libglib2.0-dev (>= 2.46),
......@@ -34,9 +33,9 @@ Homepage: https://launchpad.net/deja-dup
Package: deja-dup
Architecture: any
Depends: duplicity (>= 0.6.23), ${misc:Depends}, ${shlibs:Depends}
Depends: ${duplicity:Depends}, ${misc:Depends}, ${shlibs:Depends}
Recommends: gvfs-backends, packagekit, policykit-1
Suggests: python-boto (>= 0.9d), python-cloudfiles, python-swiftclient
Suggests: python-boto (>= 0.9d), python-cloudfiles, python-swiftclient, ${duplicity:Suggests}
Description: Backup utility
Déjà Dup is a simple backup tool. It hides the complexity of backing up the
Right Way (encrypted, off-site, and regular) and uses duplicity as the
......
......@@ -7,7 +7,6 @@ Build-Depends: appstream-util,
dbus,
debhelper (>= 11),
desktop-file-utils,
gettext,
gnome-pkg-tools,
libglib2.0-bin,
libglib2.0-dev (>= 2.46),
......@@ -30,9 +29,9 @@ Homepage: https://launchpad.net/deja-dup
Package: deja-dup
Architecture: any
Depends: duplicity (>= 0.6.23), ${misc:Depends}, ${shlibs:Depends}
Depends: ${duplicity:Depends}, ${misc:Depends}, ${shlibs:Depends}
Recommends: gvfs-backends, packagekit, policykit-1
Suggests: python-boto (>= 0.9d), python-cloudfiles, python-swiftclient
Suggests: python-boto (>= 0.9d), python-cloudfiles, python-swiftclient, ${duplicity:Suggests}
Description: Backup utility
Déjà Dup is a simple backup tool. It hides the complexity of backing up the
Right Way (encrypted, off-site, and regular) and uses duplicity as the
......
......@@ -16,3 +16,13 @@ override_dh_auto_configure:
override_dh_strip:
dh_strip --dbgsym-migration='deja-dup-dbg (<< 34.2-1~)'
# duplicity still depends on Python2 which is unwanted in the default install
# but Deja Dup can install duplicity dynamically
override_dh_gencontrol:
ifneq ($(shell dpkg-vendor --query vendor),Ubuntu)
dh_gencontrol -- -Vduplicity:Depends='duplicity (>= 0.7.14)'
else
dh_gencontrol -- -Vduplicity:Suggests='duplicity (>= 0.7.14)'
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment