Date: Wednesday, June 19, 2019 @ 19:29:25 Author: bgyorgy Revision: 482426
archrelease: copy trunk to community-x86_64 Added: duplicity/repos/community-x86_64/PKGBUILD (from rev 482425, duplicity/trunk/PKGBUILD) Deleted: duplicity/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 93 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 47 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-06-19 19:29:20 UTC (rev 482425) +++ PKGBUILD 2019-06-19 19:29:25 UTC (rev 482426) @@ -1,46 +0,0 @@ -# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> -# Contributor: Kaiting Chen <kaitocr...@gmail.com> -# Contributor: Aaron Schaefer <aa...@elasticdog.com> - -pkgname=duplicity -pkgver=0.7.19 -pkgrel=1 -pkgdesc='A utility for encrypted, bandwidth-efficient backups using the rsync algorithm.' -arch=('x86_64') -url='https://www.nongnu.org/duplicity/' -license=('GPL') -depends=('gnupg' 'librsync' 'ncftp' 'python2-paramiko' 'python2-fasteners') -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' - 'python2-requests-oauthlib: OneDrive backend' - 'rsync: rsync backend') -source=("https://launchpad.net/$pkgname/0.7-series/${pkgver}/+download/$pkgname-$pkgver.tar.gz"{,.sig}) -md5sums=('b4decdb60275c87b4fafab55c31dc5ce' - '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-x86_64/PKGBUILD (from rev 482425, duplicity/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-06-19 19:29:25 UTC (rev 482426) @@ -0,0 +1,47 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Kaiting Chen <kaitocr...@gmail.com> +# Contributor: Aaron Schaefer <aa...@elasticdog.com> + +pkgname=duplicity +pkgver=0.7.19 +pkgrel=2 +pkgdesc='A utility for encrypted, bandwidth-efficient backups using the rsync algorithm.' +arch=('x86_64') +url='https://www.nongnu.org/duplicity/' +license=('GPL') +depends=('gnupg' 'librsync' 'python2-paramiko' 'python2-fasteners') +makedepends=('python2-setuptools') +optdepends=('lftp: backend for ftp, ftps, fish' + 'ncftp: alternative backend for ftp' + 'python2-boto: Amazon S3 and Google Cloud Storage backend' + 'python2-dropbox: Dropbox backend' + 'python2-gobject: GIO backend' + 'gvfs: GIO backend' + 'python2-pydrive: Google Drive backend' + 'python2-requests-oauthlib: OneDrive backend' + 'rsync: rsync backend') +source=("https://launchpad.net/$pkgname/0.7-series/${pkgver}/+download/$pkgname-$pkgver.tar.gz"{,.sig}) +md5sums=('b4decdb60275c87b4fafab55c31dc5ce' + '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"/* +}