aboutsummaryrefslogtreecommitdiffstats
path: root/testing/barman
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2018-02-15 13:02:40 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-02-15 13:02:40 +0000
commit52e0e9deead84d62b5442628675e3d69b036abc5 (patch)
tree68156992ccd6601bf80ac804d8bfb3e3edf7ddff /testing/barman
parentc61cbeaab81a975ad3032c5ff02b2e906396ade2 (diff)
downloadaports-52e0e9deead84d62b5442628675e3d69b036abc5.tar.bz2
aports-52e0e9deead84d62b5442628675e3d69b036abc5.tar.xz
testing/barman: new aport
Diffstat (limited to 'testing/barman')
-rw-r--r--testing/barman/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/barman/APKBUILD b/testing/barman/APKBUILD
new file mode 100644
index 0000000000..8af55ded09
--- /dev/null
+++ b/testing/barman/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=barman
+pkgver=2.2
+pkgrel=0
+pkgdesc="Backup and recovery manager for PostgreSQL"
+url="http://www.pgbarman.org"
+arch="noarch"
+license="GPL"
+depends="python2 rsync py2-argcomplete py2-dateutil py2-psycopg2 py-argh"
+subpackages="$pkgname-doc"
+source="http://sourceforge.net/projects/pgbarman/files/${pkgver}/barman-${pkgver}.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python2 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python2 setup.py check
+}
+
+package() {
+ cd "$builddir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="89e7ed70c3ffffc8fcdd5d547d5e2f3c30a38741486d0c4c9f78f6a972e47668c6e73aecc339790a192ab987be6deb7a5b9a4c21f70d12fe0bcc7d542aaa9195 barman-2.2.tar.gz"