diff options
-rw-r--r-- | community/ospd-ancor/APKBUILD (renamed from testing/ospd-ancor/APKBUILD) | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/testing/ospd-ancor/APKBUILD b/community/ospd-ancor/APKBUILD index 1ff64583ae..08b5a87bd8 100644 --- a/testing/ospd-ancor/APKBUILD +++ b/community/ospd-ancor/APKBUILD @@ -8,32 +8,22 @@ pkgdesc="OSP server implementation to allow OpenVAS to get scan results from an url="http://openvas.org/" arch="noarch" license="GPLV2+" -depends="python py-requests ospd" -depends_dev="" -makedepends="$depends_dev py-setuptools" +depends="python3 py3-requests ospd" +makedepends="python3-dev" install="" subpackages="" source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" - python setup.py build || return 1 + cd "$builddir" + python3 setup.py build || return 1 } package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } |