diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 15:02:27 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-22 06:53:27 +0000 |
commit | 07ab09605ad374713fc714dddc9fc2a3daa3e323 (patch) | |
tree | e7dcef32efed8430d9b646e4355a645d31d3141a | |
parent | 8771b30c587eb4c45897776e828f9d341e11b6cd (diff) | |
download | aports-07ab09605ad374713fc714dddc9fc2a3daa3e323.tar.bz2 aports-07ab09605ad374713fc714dddc9fc2a3daa3e323.tar.xz |
community/ospd-debsecan: moved from testing, now uses only python3
-rw-r--r-- | community/ospd-debsecan/APKBUILD (renamed from testing/ospd-debsecan/APKBUILD) | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/testing/ospd-debsecan/APKBUILD b/community/ospd-debsecan/APKBUILD index ba603355b6..e3469b325f 100644 --- a/testing/ospd-debsecan/APKBUILD +++ b/community/ospd-debsecan/APKBUILD @@ -2,38 +2,28 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=ospd-debsecan pkgver=1.0.0 -pkgrel=0 +pkgrel=1 _pkgid=2097 pkgdesc="OSP server implementation to allow OpenVAS to remotely control a debsecan scanner" url="http://www.openvas.org/" arch="noarch" license="GPL" -depends="python ospd" -depends_dev="" -makedepends="$depends_dev cmake py-setuptools py-paramiko" +depends="python3 ospd" +makedepends="cmake py3-paramiko" 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 } |