aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openscap-daemon/APKBUILD
blob: 35cd697f3b8fb4a1b284bbbf51729d1d918596ac (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
28
29
30
31
32
33
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=openscap-daemon
pkgver=0.1.10
pkgrel=1
pkgdesc="Manages continuous scans of your infrastructure"
url="https://www.open-scap.org/tools/openscap-daemon/"
arch="noarch"
license="LGPL-2.1-only"
depends="py3-gobject3"
makedepends="python3-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenSCAP/$pkgname/archive/$pkgver.tar.gz
	python-3.7.patch"
builddir="$srcdir/$pkgname-$pkgver"

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"
}

sha512sums="93946b390cc95281b606967df783b8be6beb83da9fbca1951f2095dc24abe518440b6f967b29ae2b093536abe9af4effc3776e8d30f0ab2193b923c1bcf54e17  openscap-daemon-0.1.10.tar.gz
2363d46102ea0a25e3eeab36c292b3f70202ba7b19c6b89936c547eb829247adff578391641e5cd540021fb699b4a6ba5206db11cb8132c839d5e10379326d49  python-3.7.patch"