mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 01:02:26 +01:00
54 lines
1.0 KiB
Plaintext
54 lines
1.0 KiB
Plaintext
# Contributor: Andy Hawkins <andy@gently.org.uk>
|
|
# Maintainer: Andy Hawkins <andy@gently.org.uk>
|
|
pkgname=emborg
|
|
pkgver=1.38
|
|
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>=0.15
|
|
py3-docopt
|
|
py3-inform>=1.28
|
|
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="
|
|
490523f5ec7e214b6dfe5d077c4f17390e00e5f6aacec7d49b5d4f08aa3b018546f0934e9edbcf04911673b0f6d67976501a2597617dae4f96b42d3d0d93516c emborg-v1.38.tar.gz
|
|
"
|