diff options
-rw-r--r-- | community/ospd-ssh-keyscan/APKBUILD (renamed from testing/ospd-ssh-keyscan/APKBUILD) | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/testing/ospd-ssh-keyscan/APKBUILD b/community/ospd-ssh-keyscan/APKBUILD index 1a62e52be4..0e20388ee0 100644 --- a/testing/ospd-ssh-keyscan/APKBUILD +++ b/community/ospd-ssh-keyscan/APKBUILD @@ -2,38 +2,29 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=ospd-ssh-keyscan pkgver=1.0b1 -pkgrel=0 +pkgrel=1 _pkgid=2213 pkgdesc="OSP server implementation to allow OpenVAS to scan ssh keys" url="http://openvas.org/" arch="noarch" license="GPLV2+" -depends="python ospd" +depends="python3 ospd" depends_dev="" -makedepends="$depends_dev py-setuptools py-paramiko" +makedepends="python3-dev 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 } |