aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dzonegit/APKBUILD
blob: 60bb90330e202cc309db1ed4b5de271dbd90d5c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=dzonegit
pkgver=0.11
pkgrel=0
pkgdesc="Git hooks to manage a repository of DNS zones"
url="https://github.com/oskar456/dzonegit"
arch="noarch !x86" # Testsuite fails
license="MIT"
depends="bind-tools git python3"
checkdepends="py3-pytest py3-pytest-runner"
source="https://github.com/oskar456/dzonegit/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="a7841d66366882c1e85d7e9b2f1d33cb562baad0e8b988335116a8d86b60aff78362eb051f97bf4d38f9f93511a54f7ca1b9a1ed8b773798931e81cf54565d18  dzonegit-0.11.tar.gz"