mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-29 01:22:09 +02:00
testing/borgmatic: new aport
This commit is contained in:
parent
f35e4c31a2
commit
d6abbefc9e
29
testing/borgmatic/APKBUILD
Normal file
29
testing/borgmatic/APKBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
# Contributor: Michał Polański <michal@polanski.me>
|
||||
# Maintainer: Michał Polański <michal@polanski.me>
|
||||
pkgname=borgmatic
|
||||
pkgver=1.5.1
|
||||
pkgrel=0
|
||||
pkgdesc="Simple, configuration-driven backup software for servers and workstations"
|
||||
url="https://torsion.org/borgmatic/"
|
||||
arch="noarch !s390x" # limited by borgbackup
|
||||
license="GPL-3.0-or-later"
|
||||
depends="borgbackup python3 py3-pykwalify py3-requests py3-ruamel.yaml py3-colorama"
|
||||
makedepends="py3-setuptools"
|
||||
checkdepends="py3-pytest py3-pytest-cov py3-flexmock"
|
||||
source="$pkgname-$pkgver.tar.gz::https://projects.torsion.org/witten/borgmatic/archive/$pkgver.tar.gz"
|
||||
builddir="$srcdir/borgmatic"
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
# omit a simple test that requires borgmatic to be available in $PATH
|
||||
pytest -k "not test_borgmatic_version_matches_news_version"
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build
|
||||
}
|
||||
|
||||
sha512sums="446c74deb8fa57ede9a7e4ae1331119d34934cba6aec436f67582b752bb48f7203bc65c50cbe0ff426984785aeb444c6ff8e3dadcf1285ebe90b613b71d5e35e borgmatic-1.5.1.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user