[arch-commits] Commit in duplicity/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Feb 8 00:10:57 UTC 2016


    Date: Monday, February 8, 2016 @ 01:10:55
  Author: foutrelis
Revision: 160609

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  duplicity/repos/community-staging-i686/
  duplicity/repos/community-staging-i686/PKGBUILD
    (from rev 160608, duplicity/trunk/PKGBUILD)
  duplicity/repos/community-staging-x86_64/
  duplicity/repos/community-staging-x86_64/PKGBUILD
    (from rev 160608, duplicity/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   45 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   45 ++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

Copied: duplicity/repos/community-staging-i686/PKGBUILD (from rev 160608, duplicity/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-02-08 00:10:55 UTC (rev 160609)
@@ -0,0 +1,45 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Aaron Schaefer <aaron at elasticdog.com>
+
+pkgname=duplicity
+pkgver=0.7.06
+pkgrel=2
+pkgdesc='A utility for encrypted, bandwidth-efficient backups using the rsync algorithm.'
+arch=('i686' 'x86_64')
+url='http://www.nongnu.org/duplicity/'
+license=('GPL')
+depends=('gnupg' 'librsync' 'ncftp' 'python2-paramiko' 'python2-lockfile')
+makedepends=('python2-setuptools')
+optdepends=('lftp: FTPS backend'
+            'python2-boto: Amazon S3 and Google Cloud Storage backend'
+            'python2-dropbox: Dropbox backend'
+            'python2-gobject: GIO backend'
+            'gvfs: GIO backend'
+            'python2-gdata: Google Docs backend'
+            'rsync: rsync backend')
+source=("https://launchpad.net/$pkgname/0.7-series/${pkgver}/+download/$pkgname-$pkgver.tar.gz"{,.sig})
+md5sums=('ca81b220ead17dcd454ffcf52dbb6f33'
+         'SKIP')
+validpgpkeys=('9D95920CED4A8D5F8B086A9F8B6F8FF4E654E600')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # python2 fix
+  for file in $(find . -name '*.py' -print); do
+    sed -i 's_^#!.*/usr/bin/python$_#!/usr/bin/python2_' $file
+    sed -i 's_^#!.*/usr/bin/env.*python$_#!/usr/bin/env python2_' $file
+  done
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  # fix broken documentation permissions until upstream does (FS#27301)
+  chmod 644 "$pkgdir/usr/share/man/man1/$pkgname.1"
+  chmod 644 "$pkgdir/usr/share/man/man1/rdiffdir.1"
+  chmod 644 "$pkgdir/usr/share/doc/$pkgname-$pkgver"/*
+}

Copied: duplicity/repos/community-staging-x86_64/PKGBUILD (from rev 160608, duplicity/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-02-08 00:10:55 UTC (rev 160609)
@@ -0,0 +1,45 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Aaron Schaefer <aaron at elasticdog.com>
+
+pkgname=duplicity
+pkgver=0.7.06
+pkgrel=2
+pkgdesc='A utility for encrypted, bandwidth-efficient backups using the rsync algorithm.'
+arch=('i686' 'x86_64')
+url='http://www.nongnu.org/duplicity/'
+license=('GPL')
+depends=('gnupg' 'librsync' 'ncftp' 'python2-paramiko' 'python2-lockfile')
+makedepends=('python2-setuptools')
+optdepends=('lftp: FTPS backend'
+            'python2-boto: Amazon S3 and Google Cloud Storage backend'
+            'python2-dropbox: Dropbox backend'
+            'python2-gobject: GIO backend'
+            'gvfs: GIO backend'
+            'python2-gdata: Google Docs backend'
+            'rsync: rsync backend')
+source=("https://launchpad.net/$pkgname/0.7-series/${pkgver}/+download/$pkgname-$pkgver.tar.gz"{,.sig})
+md5sums=('ca81b220ead17dcd454ffcf52dbb6f33'
+         'SKIP')
+validpgpkeys=('9D95920CED4A8D5F8B086A9F8B6F8FF4E654E600')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # python2 fix
+  for file in $(find . -name '*.py' -print); do
+    sed -i 's_^#!.*/usr/bin/python$_#!/usr/bin/python2_' $file
+    sed -i 's_^#!.*/usr/bin/env.*python$_#!/usr/bin/env python2_' $file
+  done
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  # fix broken documentation permissions until upstream does (FS#27301)
+  chmod 644 "$pkgdir/usr/share/man/man1/$pkgname.1"
+  chmod 644 "$pkgdir/usr/share/man/man1/rdiffdir.1"
+  chmod 644 "$pkgdir/usr/share/doc/$pkgname-$pkgver"/*
+}



More information about the arch-commits mailing list