diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 14:54:53 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 14:54:53 +0000 |
commit | db1d7610cd533ef20014b31bcd32a77c4febe464 (patch) | |
tree | aaf669675816b41fc75bfafedb5fa4b2303f8a30 | |
parent | 8984025d54631a6d6335afb9bb0f1d5bb71ca091 (diff) | |
download | aports-db1d7610cd533ef20014b31bcd32a77c4febe464.tar.bz2 aports-db1d7610cd533ef20014b31bcd32a77c4febe464.tar.xz |
community/ospd-acunetix: moved from testing. Now uses only python3
-rw-r--r-- | community/ospd-acunetix/APKBUILD (renamed from testing/ospd-acunetix/APKBUILD) | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/testing/ospd-acunetix/APKBUILD b/community/ospd-acunetix/APKBUILD index 8328132a50..155f6a1bf7 100644 --- a/testing/ospd-acunetix/APKBUILD +++ b/community/ospd-acunetix/APKBUILD @@ -8,32 +8,23 @@ pkgdesc="OSP server implementation to allow OpenVAS to remotel control nmap port url="http://www.openvas.org/" arch="noarch" license="GPL" -depends="python" +depends="python3" depends_dev="" -makedepends="$depends_dev cmake py-setuptools" +makedepends="$depends_dev cmake" 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 } |