Commit 8984025d authored by Francesco Colista's avatar Francesco Colista

community/ospd: moved from testing. Now uses only python3

parent e997c71e
......@@ -7,32 +7,23 @@ pkgdesc="Collection of scanner wrappers for OpenVAS"
url="http://www.openvas.org/"
arch="noarch"
license="GPL"
depends="python"
depends="python3"
depends_dev=""
makedepends="$depends_dev py-paramiko py-setuptools"
makedepends="$depends_dev py3-paramiko"
install=""
subpackages=""
source="http://wald.intevation.org/frs/download.php/2217/$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
}
md5sums="87b583b732c6efe1cc3632ec5136c278 ospd-1.2b1.tar.gz"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment