aboutsummaryrefslogtreecommitdiffstats
path: root/main/duplicity
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-08-30 14:39:13 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-08-31 07:07:02 +0000
commit0149710592bb7ba2b2acb5874e07909a73df6ba3 (patch)
tree80874b2e0eb40dc888c50c2b9707c98afa20f0b4 /main/duplicity
parent887c6b30156f8ab8b650d48fdf877ee8ec583c5e (diff)
downloadaports-0149710592bb7ba2b2acb5874e07909a73df6ba3.tar.bz2
aports-0149710592bb7ba2b2acb5874e07909a73df6ba3.tar.xz
main/duplicity: upgrade to 0.7.13.1 and modernize
Diffstat (limited to 'main/duplicity')
-rw-r--r--main/duplicity/APKBUILD23
1 files changed, 6 insertions, 17 deletions
diff --git a/main/duplicity/APKBUILD b/main/duplicity/APKBUILD
index 04065d2716..a149d94b8c 100644
--- a/main/duplicity/APKBUILD
+++ b/main/duplicity/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=duplicity
-pkgver=0.7.12
+pkgver=0.7.13.1
pkgrel=0
pkgdesc="Encrypted bandwidth-efficient backup using the rsync algorithm"
url="http://duplicity.nongnu.org/"
@@ -10,30 +10,19 @@ arch="all"
license="GPL"
depends="python2 py-boto gnupg ncftp py-lockfile"
makedepends="python2-dev py-setuptools librsync-dev"
-install=
subpackages="$pkgname-doc $pkgname-lang"
source="https://code.launchpad.net/$pkgname/${pkgver:0:3}-series/$pkgver/+download/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
-
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
- python2 setup.py build || return 1
+ cd "$builddir"
+ python2 setup.py build
}
package() {
- cd "$_builddir"
+ cd "$builddir"
python2 setup.py install --root "$pkgdir"
}
-sha512sums="8a532e7bb548c170184666a0ba2b41a15f3002c14edd64b1b1eb4df862647fc6dfde797d6ecf38e326d7c160c31ff521baf351e520835495e1d0e2ddbdb19f0f duplicity-0.7.12.tar.gz"
+sha512sums="08672910e61a089086992a1106ffc1e161ae3173514d35ae854eac719a095e48efaf7e298c1329ba3b439c0e97236644e88c615a013bd0e8ea9d956b38346ca6 duplicity-0.7.13.1.tar.gz"