diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-22 06:57:39 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-22 06:57:39 +0000 |
commit | 024178035c19b00676397cd6587a7c5d1174de88 (patch) | |
tree | e667a2ae52e4ef04dcf56905a0666fc9c33fd410 /community/ospd-ovaldi | |
parent | e16e49874650da995ec729944c33c0e37123295d (diff) | |
download | aports-024178035c19b00676397cd6587a7c5d1174de88.tar.bz2 aports-024178035c19b00676397cd6587a7c5d1174de88.tar.xz |
community/ospd-ovaldi: _Now_ uses only python3
Diffstat (limited to 'community/ospd-ovaldi')
-rw-r--r-- | community/ospd-ovaldi/APKBUILD | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/community/ospd-ovaldi/APKBUILD b/community/ospd-ovaldi/APKBUILD index d1ade03508..b31d919136 100644 --- a/community/ospd-ovaldi/APKBUILD +++ b/community/ospd-ovaldi/APKBUILD @@ -2,38 +2,28 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=ospd-ovaldi pkgver=1.0.0 -pkgrel=0 +pkgrel=1 _pkgid=2003 pkgdesc="OSP server implementation to allow OpenVAS to remotely control ovaldi scanners" url="http://openvas.org/" arch="noarch" license="GPLV2+" -depends="python ospd" -depends_dev="" -makedepends="$depends_dev py-setuptools py-paramiko" +depends="python3 ospd" +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 } |