aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wmi-client
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-23 14:17:20 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-10-23 14:44:53 -0300
commitdb7fbf7840cf2c82b69ca26303bbd7d8d319f057 (patch)
treeb4b895c942889035b8ab5e695e9d2cd4ccd983fa /testing/wmi-client
parent96cfff53ce3593d17945f3285fd72e11f36f2011 (diff)
downloadaports-db7fbf7840cf2c82b69ca26303bbd7d8d319f057.tar.bz2
aports-db7fbf7840cf2c82b69ca26303bbd7d8d319f057.tar.xz
testing/wmi-client: switch to python3
Diffstat (limited to 'testing/wmi-client')
-rw-r--r--testing/wmi-client/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/testing/wmi-client/APKBUILD b/testing/wmi-client/APKBUILD
index 0ac028a770..65b11dcd43 100644
--- a/testing/wmi-client/APKBUILD
+++ b/testing/wmi-client/APKBUILD
@@ -3,14 +3,14 @@
pkgname=wmi-client
_pkgname="${pkgname/-*/}"
pkgver=1.3.16
-pkgrel=2
+pkgrel=3
pkgdesc="DCOM/WMI client implementation"
url="https://www.orvant.com/packages"
arch="all !aarch64"
license="GPL-3.0"
subpackages="libwmiclient-dev:libdev libwmiclient:lib"
-makedepends="autoconf python-dev perl-datetime"
-source="https://launchpad.net/~cybersec/+archive/ubuntu/chaos-ppa-v2/+files/${_pkgname}_${pkgver}.orig.tar.bz2
+makedepends="autoconf python3-dev perl-datetime"
+source="https://launchpad.net/~cybersec/+archive/ubuntu/chaos-ppa-v2/+files/${_pkgname}_$pkgver.orig.tar.bz2
openvas-wmi-1.3.16.patch
samba-pidl.patch
pyinclude.patch
@@ -27,12 +27,10 @@ prepare() {
}
build() {
- cd "$builddir"
- make build "CPP=gcc -E -ffreestanding"
+ make build "CPP=gcc -E -ffreestanding" PYTHON=python3
}
package() {
- cd "$builddir"
cd Samba/source
mkdir -p "$pkgdir"/usr/lib
local _bins="wmic winexe"