aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-02-08 20:03:07 -0300
committerLeo <thinkabit.ukim@gmail.com>2021-02-08 20:03:07 -0300
commitfeb9f6fe4a356854afd85c0e76eb0d36a7b98eb5 (patch)
treeca7b0dc47435c53e7636680846943f96bd55ed37
parent7c4509b978dd42fe5ee6cb243464e0da86a36015 (diff)
downloadaports-feb9f6fe4a356854afd85c0e76eb0d36a7b98eb5.tar.gz
aports-feb9f6fe4a356854afd85c0e76eb0d36a7b98eb5.tar.bz2
aports-feb9f6fe4a356854afd85c0e76eb0d36a7b98eb5.tar.xz
testing/barman: drop dep on py3-setuptools and modernize
-rw-r--r--testing/barman/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/testing/barman/APKBUILD b/testing/barman/APKBUILD
index 90441ed4bf..a516529669 100644
--- a/testing/barman/APKBUILD
+++ b/testing/barman/APKBUILD
@@ -2,28 +2,25 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=barman
pkgver=2.12
-pkgrel=0
+pkgrel=1
pkgdesc="Backup and recovery manager for PostgreSQL"
url="http://www.pgbarman.org"
arch="noarch"
-license="GPL"
-depends="python3 py3-setuptools rsync py3-argcomplete py3-dateutil py3-psycopg2 py3-argh"
+license="GPL-3.0-or-later"
+depends="python3 rsync py3-argcomplete py3-dateutil py3-psycopg2 py3-argh"
+makedepends="py3-setuptools"
subpackages="$pkgname-doc"
-source="https://sourceforge.net/projects/pgbarman/files/${pkgver}/barman-${pkgver}.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
+source="https://sourceforge.net/projects/pgbarman/files/$pkgver/barman-$pkgver.tar.gz"
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
python3 setup.py check
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}