[arch-commits] Commit in deja-dup/trunk (3 files)

Balló György bgyorgy at nymeria.archlinux.org
Tue Mar 5 09:07:34 UTC 2013


    Date: Tuesday, March 5, 2013 @ 10:07:34
  Author: bgyorgy
Revision: 85691

upgpkg: deja-dup 24.0-3

Update dependencies (FS#34035)

Added:
  deja-dup/trunk/update-u1-pythonchecker.patch
Modified:
  deja-dup/trunk/PKGBUILD
Deleted:
  deja-dup/trunk/not-check-ubuntuone-couch.patch

---------------------------------+
 PKGBUILD                        |   16 +++++++------
 not-check-ubuntuone-couch.patch |   45 --------------------------------------
 update-u1-pythonchecker.patch   |   13 ++++++++++
 3 files changed, 22 insertions(+), 52 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-05 07:36:48 UTC (rev 85690)
+++ PKGBUILD	2013-03-05 09:07:34 UTC (rev 85691)
@@ -3,23 +3,25 @@
 
 pkgname=deja-dup
 pkgver=24.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Simple backup tool, that hides the complexity of backing up the Right Way and uses duplicity as the backend"
 arch=('i686' 'x86_64')
 url="https://launchpad.net/deja-dup"
 license=('GPL')
-depends=('duplicity' 'libgnome-keyring' 'libpeas' 'libnotify' 'python2-gobject2' 'dconf' 'xdg-utils')
+depends=('duplicity' 'libgnome-keyring' 'libpeas' 'libnotify' 'python2-gobject' 'gvfs' 'dconf' 'xdg-utils')
 makedepends=('vala' 'intltool' 'itstool' 'nautilus')
 optdepends=('nautilus: backup extension'
-            'ubuntuone-client: backup into Ubuntu One storage')
+            'python2-boto: Amazon S3 backend'
+            'python2-oauthlib: Ubuntu One backend'
+            'ubuntuone-client: Ubuntu One backend')
 options=('!libtool')
 install=$pkgname.install
 source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.xz
         new-u1backend-support.patch
-        not-check-ubuntuone-couch.patch)
+        update-u1-pythonchecker.patch)
 md5sums=('335131d1f3c85615339fa8b212db50ae'
          '944a4c62f042b240feba98f8d9a893b2'
-         '8d59798638982c2bdb55b2e415087245')
+         'd0893c17e3e61c3ada065a002a9ab419')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
@@ -28,8 +30,8 @@
   # Add support for the new Ubuntu One backend
   patch -Np0 -i "$srcdir/new-u1backend-support.patch"
 
-  # Now we don't need ubuntuone-couch for Ubuntu One support
-  patch -Np1 -i "$srcdir/not-check-ubuntuone-couch.patch"
+  # And update the PythonChecker check for the new U1 backend too
+  patch -Np0 -i "$srcdir/update-u1-pythonchecker.patch"
 
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
               --disable-static --disable-schemas-compile --without-unity

Deleted: not-check-ubuntuone-couch.patch
===================================================================
--- not-check-ubuntuone-couch.patch	2013-03-05 07:36:48 UTC (rev 85690)
+++ not-check-ubuntuone-couch.patch	2013-03-05 09:07:34 UTC (rev 85691)
@@ -1,45 +0,0 @@
-diff -Naur deja-dup-24.0.orig/common/BackendU1.vala deja-dup-24.0/common/BackendU1.vala
---- deja-dup-24.0.orig/common/BackendU1.vala	2012-08-07 00:20:51.000000000 +0200
-+++ deja-dup-24.0/common/BackendU1.vala	2012-11-05 16:39:34.140104977 +0100
-@@ -75,11 +75,14 @@
- 
- class U1Checker : Checker
- {
--  PythonChecker pyu1;
-   construct {
-     try {
-       var proxy = BackendU1.get_creds_proxy();
--      if (proxy.get_name_owner() == null) {
-+      if (proxy.get_name_owner() != null) {
-+        available = true;
-+        complete = true;
-+      }
-+      else {
-         available = false;
-         complete = true;
-       }
-@@ -89,24 +92,6 @@
-       available = false;
-       complete = true;
-     }
--
--    if (!complete) {
--      // A bit of abstraction leakage here; we have to keep these imports in
--      // line with what duplicity uses.  Maybe we should add to duplicity a way
--      // to ask 'can I use this backend?'
--      pyu1 = PythonChecker.get_checker("ubuntuone.platform.credentials, ubuntuone.couch.auth");
--      if (pyu1.complete) {
--        available = pyu1.available;
--        complete = pyu1.complete;
--      }
--      else {
--        pyu1.notify["complete"].connect(() => {
--          available = pyu1.available;
--          complete = pyu1.complete;
--          pyu1 = null;
--        });
--      }
--    }
-   }
- }
- 

Added: update-u1-pythonchecker.patch
===================================================================
--- update-u1-pythonchecker.patch	                        (rev 0)
+++ update-u1-pythonchecker.patch	2013-03-05 09:07:34 UTC (rev 85691)
@@ -0,0 +1,13 @@
+=== modified file 'common/BackendU1.vala'
+--- common/BackendU1.vala	2012-11-05 15:10:54 +0000
++++ common/BackendU1.vala	2012-11-05 15:17:28 +0000
+@@ -94,7 +94,7 @@
+       // A bit of abstraction leakage here; we have to keep these imports in
+       // line with what duplicity uses.  Maybe we should add to duplicity a way
+       // to ask 'can I use this backend?'
+-      pyu1 = PythonChecker.get_checker("ubuntuone.platform.credentials, ubuntuone.couch.auth");
++      pyu1 = PythonChecker.get_checker("oauthlib, httplib2");
+       if (pyu1.complete) {
+         available = pyu1.available;
+         complete = pyu1.complete;
+




More information about the arch-commits mailing list