[PATCH] testing/opendht: Add python binding build
Export this patch
---
testing/opendht/APKBUILD | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/testing/opendht/APKBUILD b/testing/opendht/APKBUILD
index 232e4331a3..f39520ba21 100644
--- a/testing/opendht/APKBUILD
+++ b/testing/opendht/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Gavin Henry <ghenry@sentrypeer.org>
pkgname=opendht
pkgver=2.4.0
-pkgrel=0
+pkgrel=1
pkgdesc="C++14 Distributed Hash Table implementation"
url="https://github.com/savoirfairelinux/opendht"
arch="all"
@@ -11,9 +11,13 @@ makedepends="
argon2-dev
asio-dev
cmake
+ cython
gnutls-dev
+ jsoncpp-dev
msgpack-cxx-dev
nettle-dev
+ py3-setuptools
+ python3-dev
readline-dev
samurai
"
@@ -31,6 +35,7 @@ build() {
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DOPENDHT_C=ON \
-DOPENDHT_TOOLS=ON \
+ -DOPENDHT_PYTHON=ON \
-G Ninja \
$CMAKE_CROSSOPTS .
cmake --build build
--
2.34.1