aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-22 07:01:11 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-22 07:01:11 +0000
commit69d0aa6d5409d3034b25b00bc830c9a677458813 (patch)
treebb84c22f4c281a4733262e448b3f376da85b6771
parentb20391da3920d62a06b648db127ddcd02023a889 (diff)
downloadaports-69d0aa6d5409d3034b25b00bc830c9a677458813.tar.bz2
aports-69d0aa6d5409d3034b25b00bc830c9a677458813.tar.xz
testing/ospd-nmap: moved from testing. Now uses only python3
-rw-r--r--community/ospd-nmap/APKBUILD (renamed from testing/ospd-nmap/APKBUILD)26
1 files changed, 8 insertions, 18 deletions
diff --git a/testing/ospd-nmap/APKBUILD b/community/ospd-nmap/APKBUILD
index 7901a395aa..5ce86d983e 100644
--- a/testing/ospd-nmap/APKBUILD
+++ b/community/ospd-nmap/APKBUILD
@@ -2,38 +2,28 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-nmap
pkgver=1.0b1
-pkgrel=0
+pkgrel=1
_pkgid=2218
pkgdesc="OSP server implementation to allow OpenVAS to remotel control nmap port scanner"
url="http://www.openvas.org/"
arch="noarch"
license="GPL"
-depends="python"
-depends_dev=""
-makedepends="$depends_dev cmake py-setuptools"
+depends="python3"
+makedepends="cmake python3-dev"
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
}