aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 15:00:15 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 15:00:15 +0000
commit31a12917d27c848400f13bb7da2907823a583f52 (patch)
treefe68ad24dc895fdda19a14ca51258324620918ed
parent2ce027282c6950970b587a7367d9c5ce27db9f9e (diff)
downloadaports-31a12917d27c848400f13bb7da2907823a583f52.tar.bz2
aports-31a12917d27c848400f13bb7da2907823a583f52.tar.xz
community/ospd-ancor: moved from testing, now uses only python3
-rw-r--r--community/ospd-ancor/APKBUILD (renamed from testing/ospd-ancor/APKBUILD)24
1 files changed, 7 insertions, 17 deletions
diff --git a/testing/ospd-ancor/APKBUILD b/community/ospd-ancor/APKBUILD
index 1ff64583ae..08b5a87bd8 100644
--- a/testing/ospd-ancor/APKBUILD
+++ b/community/ospd-ancor/APKBUILD
@@ -8,32 +8,22 @@ pkgdesc="OSP server implementation to allow OpenVAS to get scan results from an
url="http://openvas.org/"
arch="noarch"
license="GPLV2+"
-depends="python py-requests ospd"
-depends_dev=""
-makedepends="$depends_dev py-setuptools"
+depends="python3 py3-requests ospd"
+makedepends="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
}