From fb13dc231b3a5e6d15ac246040b32ee9815e7e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 19:50:46 +0700 Subject: [PATCH] dpdk: build with python 3 --- srcpkgs/dpdk/template | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template index 30a7e6b5f5c..69867609507 100644 --- a/srcpkgs/dpdk/template +++ b/srcpkgs/dpdk/template @@ -1,7 +1,7 @@ # Template file for 'dpdk' pkgname=dpdk version=19.08 -revision=3 +revision=4 # no musl - uses error.h, execinfo.h and argp.h archs="x86_64 aarch64 ppc64le i686 armv7l" build_style=meson @@ -9,14 +9,15 @@ configure_args="-Denable_kmods=false -Denable_docs=true -Db_lto=false" hostmakedepends="doxygen python3-Sphinx pkg-config elfutils" makedepends="libnuma-devel linux-headers jansson-devel libpcap-devel zlib-devel libressl-devel libbsd-devel libelf libmnl" -depends="python-pyelftools" +depends="python3-pyelftools" short_desc="Data Plane Development Kit" maintainer="Hans-J. Schmid " license="BSD-3-Clause, GPL-2.0-only" homepage="https://www.dpdk.org/" distfiles="https://github.com/DPDK/${pkgname}/archive/v${version}.tar.gz" checksum=1ceff1a6f4f8d5f6f62c1682097249227ac5225ccd9638e0af09f5411c681038 -python_version=2 #unverified +# import py3compat +python_version=3 case "${XBPS_TARGET_MACHINE}" in armv7l*) configure_args+=" -Dmachine=armv7-a";; @@ -30,12 +31,10 @@ CFLAGS="-fcommon" post_install() { vmkdir usr/lib/modules-load.d vlicense license/bsd-3-clause.txt - vlicense license/gpl-2.0.txt } dpdk-doc_package() { short_desc+=" - documentation" - archs=noarch pkg_install() { vmove usr/share/doc }