mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-10 18:59:17 +02:00
53 lines
1 KiB
Text
53 lines
1 KiB
Text
# Contributor: Andy Hawkins <andy@gently.org.uk>
|
|
# Maintainer: Andy Hawkins <andy@gently.org.uk>
|
|
pkgname=emborg
|
|
pkgver=1.41
|
|
pkgrel=0
|
|
pkgdesc="Front-End to Borg Backup"
|
|
url="https://emborg.readthedocs.io/"
|
|
# armhf: borgbackup
|
|
arch="noarch !armhf"
|
|
license="GPL-3.0-or-later"
|
|
depends="
|
|
borgbackup
|
|
python3
|
|
py3-appdirs
|
|
py3-arrow
|
|
py3-docopt
|
|
py3-inform>=1.31
|
|
py3-nestedtext
|
|
py3-quantiphy
|
|
py3-requests
|
|
"
|
|
makedepends="
|
|
py3-flit-core
|
|
py3-gpep517
|
|
py3-installer
|
|
"
|
|
checkdepends="
|
|
py3-pytest
|
|
py3-nestedtext
|
|
py3-parametrize-from-file
|
|
py3-voluptuous
|
|
"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://github.com/KenKundert/emborg/archive/v$pkgver/emborg-v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$PWD/emborg" pytest --no-fuse
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/emborg-$pkgver*-py3-none-any.whl
|
|
}
|
|
|
|
sha512sums="
|
|
4626623c2f57992098958444ea1cfbf12e695be92831d4d0f8659b98cf46e69121c814d08debbbeb15c388a271939da320a92b54d3e88d2b9e462d6d1af17036 emborg-v1.41.tar.gz
|
|
"
|